From f6eeeb9b98e025df6271d41e95df8bba21763848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Molina?= Date: Thu, 23 Nov 2023 00:42:54 +0100 Subject: [PATCH] fix: pallet_contract benchmarks --- runtime/stout/src/contracts.rs | 4 +- runtime/trappist/src/contracts.rs | 4 +- .../trappist/src/weights/pallet_contracts.rs | 1217 +++++++++-------- 3 files changed, 620 insertions(+), 605 deletions(-) diff --git a/runtime/stout/src/contracts.rs b/runtime/stout/src/contracts.rs index 474ce9bb..1d2e58bb 100644 --- a/runtime/stout/src/contracts.rs +++ b/runtime/stout/src/contracts.rs @@ -23,8 +23,6 @@ use frame_support::{ parameter_types, traits::{ConstU32, Nothing}, }; -#[cfg(feature = "runtime-benchmarks")] -use pallet_contracts::NoopMigration; use pallet_contracts::{ weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule, }; @@ -73,7 +71,7 @@ impl Config for Runtime { #[cfg(not(feature = "runtime-benchmarks"))] type Migrations = (); #[cfg(feature = "runtime-benchmarks")] - type Migrations = (NoopMigration<1>, NoopMigration<2>); + type Migrations = pallet_contracts::migration::codegen::BenchMigrations; type MaxDelegateDependencies = ConstU32<32>; type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent; type Debug = (); diff --git a/runtime/trappist/src/contracts.rs b/runtime/trappist/src/contracts.rs index 8cd4a0c8..71fbb55e 100644 --- a/runtime/trappist/src/contracts.rs +++ b/runtime/trappist/src/contracts.rs @@ -23,8 +23,6 @@ use frame_support::{ parameter_types, traits::{ConstBool, ConstU32, Nothing}, }; -#[cfg(feature = "runtime-benchmarks")] -use pallet_contracts::NoopMigration; use pallet_contracts::{ migration::{v13, v14, v15}, Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule, @@ -73,7 +71,7 @@ impl Config for Runtime { #[cfg(not(feature = "runtime-benchmarks"))] type Migrations = (v13::Migration, v14::Migration, v15::Migration); #[cfg(feature = "runtime-benchmarks")] - type Migrations = (NoopMigration<1>, NoopMigration<2>); + type Migrations = pallet_contracts::migration::codegen::BenchMigrations; type MaxDelegateDependencies = ConstU32<32>; type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent; type Debug = (); diff --git a/runtime/trappist/src/weights/pallet_contracts.rs b/runtime/trappist/src/weights/pallet_contracts.rs index 45859220..5597af52 100644 --- a/runtime/trappist/src/weights/pallet_contracts.rs +++ b/runtime/trappist/src/weights/pallet_contracts.rs @@ -18,10 +18,10 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-11-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-nbnwcyh-project-647-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("trappist-dev")`, DB CACHE: 1024 +//! HOSTNAME: `PAR03651`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("trappist-dev")`, DB CACHE: 1024 // Executed Command: // ./target/production/trappist-node @@ -56,8 +56,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_137_000 picoseconds. - Weight::from_parts(3_338_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -68,11 +68,11 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `391 + k * (69 ±0)` // Estimated: `381 + k * (70 ±0)` - // Minimum execution time: 13_467_000 picoseconds. - Weight::from_parts(13_716_000, 0) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(3_287_957, 0) .saturating_add(Weight::from_parts(0, 381)) - // Standard Error: 1_617 - .saturating_add(Weight::from_parts(1_171_447, 0).saturating_mul(k.into())) + // Standard Error: 1_153 + .saturating_add(Weight::from_parts(716_202, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -86,25 +86,25 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145 + c * (1 ±0)` // Estimated: `6083 + c * (1 ±0)` - // Minimum execution time: 8_705_000 picoseconds. - Weight::from_parts(5_665_616, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_198_494, 0) .saturating_add(Weight::from_parts(0, 6083)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_710, 0).saturating_mul(c.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(746, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } /// Storage: `Contracts::ContractInfoOf` (r:2 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn v10_migration_step() -> Weight { // Proof Size summary in bytes: // Measured: `482` // Estimated: `6422` - // Minimum execution time: 16_652_000 picoseconds. - Weight::from_parts(17_452_000, 0) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) .saturating_add(Weight::from_parts(0, 6422)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -118,11 +118,11 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `105 + k * (1 ±0)` // Estimated: `3569 + k * (1 ±0)` - // Minimum execution time: 4_310_000 picoseconds. - Weight::from_parts(4_504_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 3569)) - // Standard Error: 481 - .saturating_add(Weight::from_parts(996_234, 0).saturating_mul(k.into())) + // Standard Error: 580 + .saturating_add(Weight::from_parts(711_740, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -141,11 +141,11 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `259 + c * (1 ±0)` // Estimated: `6197 + c * (1 ±0)` - // Minimum execution time: 16_570_000 picoseconds. - Weight::from_parts(17_160_154, 0) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_133_147, 0) .saturating_add(Weight::from_parts(0, 6197)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(530, 0).saturating_mul(c.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(403, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -154,27 +154,29 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) fn v13_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `440` - // Estimated: `6380` - // Minimum execution time: 12_704_000 picoseconds. - Weight::from_parts(13_147_000, 6380) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `374` + // Estimated: `6314` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + .saturating_add(Weight::from_parts(0, 6314)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Contracts::CodeInfoOf` (r:2 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:0) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) fn v14_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `360` - // Estimated: `6300` - // Minimum execution time: 48_387_000 picoseconds. - Weight::from_parts(50_024_000, 6300) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `294` + // Estimated: `6234` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 6234)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Contracts::ContractInfoOf` (r:2 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -182,12 +184,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn v15_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `594` - // Estimated: `6534` - // Minimum execution time: 59_300_000 picoseconds. - Weight::from_parts(61_805_000, 6534) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `566` + // Estimated: `6506` + // Minimum execution time: 31_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) + .saturating_add(Weight::from_parts(0, 6506)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:1) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -195,8 +198,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_679_000 picoseconds. - Weight::from_parts(4_017_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(Weight::from_parts(0, 1561)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -209,8 +212,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `3565` - // Minimum execution time: 10_938_000 picoseconds. - Weight::from_parts(11_619_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) .saturating_add(Weight::from_parts(0, 3565)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -221,8 +224,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 4_144_000 picoseconds. - Weight::from_parts(4_460_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -234,8 +237,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `3566` - // Minimum execution time: 5_819_000 picoseconds. - Weight::from_parts(6_261_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 3566)) .saturating_add(T::DbWeight::get().reads(2)) } @@ -247,8 +250,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 6_097_000 picoseconds. - Weight::from_parts(6_368_000, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -256,7 +259,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -270,13 +273,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `661 + c * (1 ±0)` - // Estimated: `6608 + c * (1 ±0)` - // Minimum execution time: 364_593_000 picoseconds. - Weight::from_parts(334_953_058, 0) - .saturating_add(Weight::from_parts(0, 6608)) - // Standard Error: 73 - .saturating_add(Weight::from_parts(38_473, 0).saturating_mul(c.into())) + // Measured: `631 + c * (1 ±0)` + // Estimated: `6578 + c * (1 ±0)` + // Minimum execution time: 185_000_000 picoseconds. + Weight::from_parts(173_592_334, 0) + .saturating_add(Weight::from_parts(0, 6578)) + // Standard Error: 47 + .saturating_add(Weight::from_parts(61_824, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -285,15 +288,17 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + /// Storage: `Balances::Holds` (r:2 w:2) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// Storage: `System::EventTopics` (r:3 w:3) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, 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`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) @@ -303,18 +308,18 @@ impl pallet_contracts::WeightInfo for WeightInfo { fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `152` - // Estimated: `8578` - // Minimum execution time: 5_479_633_000 picoseconds. - Weight::from_parts(186_445_948, 0) - .saturating_add(Weight::from_parts(0, 8578)) - // Standard Error: 201 - .saturating_add(Weight::from_parts(117_432, 0).saturating_mul(c.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(2_562, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(2_597, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(9)) + // Estimated: `8564` + // Minimum execution time: 3_141_000_000 picoseconds. + Weight::from_parts(278_599_581, 0) + .saturating_add(Weight::from_parts(0, 8564)) + // Standard Error: 117 + .saturating_add(Weight::from_parts(183_112, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_412, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_325, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(10)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -325,33 +330,35 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// 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`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, 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 { // Proof Size summary in bytes: // Measured: `376` - // Estimated: `6354` - // Minimum execution time: 2_443_188_000 picoseconds. - Weight::from_parts(2_495_701_000, 0) - .saturating_add(Weight::from_parts(0, 6354)) - // Standard Error: 30 - .saturating_add(Weight::from_parts(818, 0).saturating_mul(i.into())) - // Standard Error: 30 - .saturating_add(Weight::from_parts(962, 0).saturating_mul(s.into())) + // Estimated: `6338` + // Minimum execution time: 1_466_000_000 picoseconds. + Weight::from_parts(140_155_577, 0) + .saturating_add(Weight::from_parts(0, 6338)) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_289, 0).saturating_mul(i.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_319, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -364,11 +371,11 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `763` - // Estimated: `6703` - // Minimum execution time: 209_463_000 picoseconds. - Weight::from_parts(217_512_000, 0) - .saturating_add(Weight::from_parts(0, 6703)) + // Measured: `732` + // Estimated: `6672` + // Minimum execution time: 113_000_000 picoseconds. + Weight::from_parts(116_000_000, 0) + .saturating_add(Weight::from_parts(0, 6672)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -376,6 +383,8 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// Storage: `System::EventTopics` (r:1 w:1) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) @@ -385,47 +394,49 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 322_302_000 picoseconds. - Weight::from_parts(296_607_348, 0) + // Minimum execution time: 170_000_000 picoseconds. + Weight::from_parts(215_979_716, 0) .saturating_add(Weight::from_parts(0, 3541)) - // Standard Error: 115 - .saturating_add(Weight::from_parts(75_377, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Standard Error: 178 + .saturating_add(Weight::from_parts(120_606, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// Storage: `System::EventTopics` (r:1 w:1) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, 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 { // Proof Size summary in bytes: - // Measured: `191` - // Estimated: `3656` - // Minimum execution time: 33_654_000 picoseconds. - Weight::from_parts(34_352_000, 0) - .saturating_add(Weight::from_parts(0, 3656)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `246` + // Estimated: `3711` + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(27_000_000, 0) + .saturating_add(Weight::from_parts(0, 3711)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:2) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `System::EventTopics` (r:3 w:3) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `517` - // Estimated: `8932` - // Minimum execution time: 34_486_000 picoseconds. - Weight::from_parts(35_428_000, 0) - .saturating_add(Weight::from_parts(0, 8932)) + // Measured: `486` + // Estimated: `8901` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) + .saturating_add(Weight::from_parts(0, 8901)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -434,7 +445,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -446,13 +457,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_caller(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `765 + r * (6 ±0)` - // Estimated: `6706 + r * (6 ±0)` - // Minimum execution time: 334_140_000 picoseconds. - Weight::from_parts(344_058_027, 0) - .saturating_add(Weight::from_parts(0, 6706)) - // Standard Error: 465 - .saturating_add(Weight::from_parts(351_113, 0).saturating_mul(r.into())) + // Measured: `734 + r * (6 ±0)` + // Estimated: `6674 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(167_798_592, 0) + .saturating_add(Weight::from_parts(0, 6674)) + // Standard Error: 699 + .saturating_add(Weight::from_parts(349_546, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -462,7 +473,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1601 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -474,24 +485,24 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_is_contract(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `823 + r * (240 ±0)` - // Estimated: `6727 + r * (2715 ±0)` - // Minimum execution time: 336_404_000 picoseconds. - Weight::from_parts(150_362_011, 0) - .saturating_add(Weight::from_parts(0, 6727)) - // Standard Error: 7_331 - .saturating_add(Weight::from_parts(3_886_039, 0).saturating_mul(r.into())) + // Measured: `790 + r * (209 ±0)` + // Estimated: `6694 + r * (2684 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(43_978_679, 0) + .saturating_add(Weight::from_parts(0, 6694)) + // Standard Error: 5_937 + .saturating_add(Weight::from_parts(2_488_267, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 2715).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1601 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -503,24 +514,24 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `815 + r * (244 ±0)` - // Estimated: `6731 + r * (2719 ±0)` - // Minimum execution time: 336_716_000 picoseconds. - Weight::from_parts(148_066_972, 0) - .saturating_add(Weight::from_parts(0, 6731)) - // Standard Error: 7_607 - .saturating_add(Weight::from_parts(4_752_845, 0).saturating_mul(r.into())) + // Measured: `789 + r * (213 ±0)` + // Estimated: `6698 + r * (2688 ±0)` + // Minimum execution time: 165_000_000 picoseconds. + Weight::from_parts(47_159_602, 0) + .saturating_add(Weight::from_parts(0, 6698)) + // Standard Error: 6_345 + .saturating_add(Weight::from_parts(3_078_732, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 2719).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2688).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -532,13 +543,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_own_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `772 + r * (6 ±0)` - // Estimated: `6714 + r * (6 ±0)` - // Minimum execution time: 336_213_000 picoseconds. - Weight::from_parts(341_993_049, 0) - .saturating_add(Weight::from_parts(0, 6714)) - // Standard Error: 458 - .saturating_add(Weight::from_parts(435_717, 0).saturating_mul(r.into())) + // Measured: `741 + r * (6 ±0)` + // Estimated: `6683 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(165_694_402, 0) + .saturating_add(Weight::from_parts(0, 6683)) + // Standard Error: 670 + .saturating_add(Weight::from_parts(385_128, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -548,7 +559,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -560,13 +571,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `762 + r * (3 ±0)` - // Estimated: `6707 + r * (3 ±0)` - // Minimum execution time: 331_257_000 picoseconds. - Weight::from_parts(340_650_198, 0) - .saturating_add(Weight::from_parts(0, 6707)) - // Standard Error: 350 - .saturating_add(Weight::from_parts(189_019, 0).saturating_mul(r.into())) + // Measured: `731 + r * (3 ±0)` + // Estimated: `6672 + r * (3 ±0)` + // Minimum execution time: 162_000_000 picoseconds. + Weight::from_parts(166_149_851, 0) + .saturating_add(Weight::from_parts(0, 6672)) + // Standard Error: 559 + .saturating_add(Weight::from_parts(212_467, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -574,7 +585,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -586,13 +597,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `652 + r * (3 ±0)` - // Estimated: `6592 + r * (3 ±0)` - // Minimum execution time: 319_631_000 picoseconds. - Weight::from_parts(331_232_917, 0) - .saturating_add(Weight::from_parts(0, 6592)) - // Standard Error: 424 - .saturating_add(Weight::from_parts(167_252, 0).saturating_mul(r.into())) + // Measured: `621 + r * (3 ±0)` + // Estimated: `6561 + r * (3 ±0)` + // Minimum execution time: 157_000_000 picoseconds. + Weight::from_parts(161_500_718, 0) + .saturating_add(Weight::from_parts(0, 6561)) + // Standard Error: 475 + .saturating_add(Weight::from_parts(198_498, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -602,7 +613,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -614,13 +625,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `766 + r * (6 ±0)` - // Estimated: `6708 + r * (6 ±0)` - // Minimum execution time: 335_175_000 picoseconds. - Weight::from_parts(348_092_351, 0) - .saturating_add(Weight::from_parts(0, 6708)) - // Standard Error: 461 - .saturating_add(Weight::from_parts(341_001, 0).saturating_mul(r.into())) + // Measured: `735 + r * (6 ±0)` + // Estimated: `6675 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(168_012_083, 0) + .saturating_add(Weight::from_parts(0, 6675)) + // Standard Error: 521 + .saturating_add(Weight::from_parts(323_839, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -630,7 +641,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -642,13 +653,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `762 + r * (6 ±0)` - // Estimated: `6703 + r * (6 ±0)` - // Minimum execution time: 337_593_000 picoseconds. - Weight::from_parts(346_233_477, 0) - .saturating_add(Weight::from_parts(0, 6703)) - // Standard Error: 520 - .saturating_add(Weight::from_parts(388_240, 0).saturating_mul(r.into())) + // Measured: `731 + r * (6 ±0)` + // Estimated: `6674 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(168_145_496, 0) + .saturating_add(Weight::from_parts(0, 6674)) + // Standard Error: 484 + .saturating_add(Weight::from_parts(342_170, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -658,7 +669,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:2 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -670,13 +681,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `869 + r * (6 ±0)` - // Estimated: `6810 + r * (6 ±0)` - // Minimum execution time: 335_724_000 picoseconds. - Weight::from_parts(377_674_207, 0) - .saturating_add(Weight::from_parts(0, 6810)) - // Standard Error: 3_114 - .saturating_add(Weight::from_parts(1_551_392, 0).saturating_mul(r.into())) + // Measured: `838 + r * (6 ±0)` + // Estimated: `6780 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(163_326_306, 0) + .saturating_add(Weight::from_parts(0, 6780)) + // Standard Error: 1_077 + .saturating_add(Weight::from_parts(1_205_380, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -686,7 +697,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -698,13 +709,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_value_transferred(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `776 + r * (6 ±0)` - // Estimated: `6725 + r * (6 ±0)` - // Minimum execution time: 339_158_000 picoseconds. - Weight::from_parts(342_771_188, 0) - .saturating_add(Weight::from_parts(0, 6725)) - // Standard Error: 498 - .saturating_add(Weight::from_parts(346_790, 0).saturating_mul(r.into())) + // Measured: `745 + r * (6 ±0)` + // Estimated: `6691 + r * (6 ±0)` + // Minimum execution time: 165_000_000 picoseconds. + Weight::from_parts(168_199_880, 0) + .saturating_add(Weight::from_parts(0, 6691)) + // Standard Error: 588 + .saturating_add(Weight::from_parts(319_079, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -714,7 +725,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -726,13 +737,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `774 + r * (6 ±0)` - // Estimated: `6723 + r * (6 ±0)` - // Minimum execution time: 337_052_000 picoseconds. - Weight::from_parts(347_436_407, 0) - .saturating_add(Weight::from_parts(0, 6723)) - // Standard Error: 521 - .saturating_add(Weight::from_parts(338_187, 0).saturating_mul(r.into())) + // Measured: `743 + r * (6 ±0)` + // Estimated: `6684 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(169_684_636, 0) + .saturating_add(Weight::from_parts(0, 6684)) + // Standard Error: 458 + .saturating_add(Weight::from_parts(318_212, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -742,7 +753,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -754,13 +765,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771 + r * (6 ±0)` - // Estimated: `6721 + r * (6 ±0)` - // Minimum execution time: 336_378_000 picoseconds. - Weight::from_parts(345_941_816, 0) - .saturating_add(Weight::from_parts(0, 6721)) - // Standard Error: 427 - .saturating_add(Weight::from_parts(336_788, 0).saturating_mul(r.into())) + // Measured: `740 + r * (6 ±0)` + // Estimated: `6687 + r * (6 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(166_166_362, 0) + .saturating_add(Weight::from_parts(0, 6687)) + // Standard Error: 495 + .saturating_add(Weight::from_parts(324_784, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -770,7 +781,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -782,13 +793,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `762 + r * (6 ±0)` - // Estimated: `6707 + r * (6 ±0)` - // Minimum execution time: 335_244_000 picoseconds. - Weight::from_parts(345_002_383, 0) - .saturating_add(Weight::from_parts(0, 6707)) - // Standard Error: 567 - .saturating_add(Weight::from_parts(345_505, 0).saturating_mul(r.into())) + // Measured: `731 + r * (6 ±0)` + // Estimated: `6672 + r * (6 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(166_291_092, 0) + .saturating_add(Weight::from_parts(0, 6672)) + // Standard Error: 453 + .saturating_add(Weight::from_parts(325_769, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -798,7 +809,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -812,13 +823,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_weight_to_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `773 + r * (14 ±0)` - // Estimated: `6710 + r * (14 ±0)` - // Minimum execution time: 335_757_000 picoseconds. - Weight::from_parts(346_981_319, 0) - .saturating_add(Weight::from_parts(0, 6710)) - // Standard Error: 746 - .saturating_add(Weight::from_parts(1_610_993, 0).saturating_mul(r.into())) + // Measured: `742 + r * (14 ±0)` + // Estimated: `6681 + r * (14 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(169_840_068, 0) + .saturating_add(Weight::from_parts(0, 6681)) + // Standard Error: 1_004 + .saturating_add(Weight::from_parts(1_118_100, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into())) @@ -828,7 +839,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -840,13 +851,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_input(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `764 + r * (6 ±0)` - // Estimated: `6708 + r * (6 ±0)` - // Minimum execution time: 333_650_000 picoseconds. - Weight::from_parts(347_131_037, 0) - .saturating_add(Weight::from_parts(0, 6708)) - // Standard Error: 466 - .saturating_add(Weight::from_parts(286_382, 0).saturating_mul(r.into())) + // Measured: `733 + r * (6 ±0)` + // Estimated: `6675 + r * (6 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(168_219_932, 0) + .saturating_add(Weight::from_parts(0, 6675)) + // Standard Error: 475 + .saturating_add(Weight::from_parts(296_102, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -856,7 +867,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -868,13 +879,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_input_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `768` - // Estimated: `6708` - // Minimum execution time: 333_590_000 picoseconds. - Weight::from_parts(286_249_256, 0) - .saturating_add(Weight::from_parts(0, 6708)) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_111, 0).saturating_mul(n.into())) + // Measured: `737` + // Estimated: `6677` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(165_776_094, 0) + .saturating_add(Weight::from_parts(0, 6677)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(344, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -883,7 +894,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -895,13 +906,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `752 + r * (45 ±0)` - // Estimated: `6692 + r * (45 ±0)` - // Minimum execution time: 327_116_000 picoseconds. - Weight::from_parts(337_874_004, 0) - .saturating_add(Weight::from_parts(0, 6692)) - // Standard Error: 761_295 - .saturating_add(Weight::from_parts(6_034_295, 0).saturating_mul(r.into())) + // Measured: `721 + r * (45 ±0)` + // Estimated: `6661 + r * (45 ±0)` + // Minimum execution time: 161_000_000 picoseconds. + Weight::from_parts(165_304_081, 0) + .saturating_add(Weight::from_parts(0, 6661)) + // Standard Error: 672_515 + .saturating_add(Weight::from_parts(1_895_918, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into())) @@ -911,7 +922,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -923,23 +934,23 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `762` - // Estimated: `6715` - // Minimum execution time: 333_831_000 picoseconds. - Weight::from_parts(340_573_321, 0) - .saturating_add(Weight::from_parts(0, 6715)) + // Measured: `731` + // Estimated: `6678` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(167_462_412, 0) + .saturating_add(Weight::from_parts(0, 6678)) // Standard Error: 0 - .saturating_add(Weight::from_parts(452, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(218, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:4 w:4) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, 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::CodeInfoOf` (r:1 w:1) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + /// Storage: `Contracts::CodeInfoOf` (r:2 w:2) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) @@ -947,32 +958,34 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:3 w:3) + /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `794 + r * (249 ±0)` - // Estimated: `6734 + r * (7674 ±0)` - // Minimum execution time: 331_663_000 picoseconds. - Weight::from_parts(343_301_161, 0) - .saturating_add(Weight::from_parts(0, 6734)) - // Standard Error: 889_552 - .saturating_add(Weight::from_parts(122_381_938, 0).saturating_mul(r.into())) + // Measured: `2840 + r * (263 ±0)` + // Estimated: `8780 + r * (5213 ±0)` + // Minimum execution time: 173_000_000 picoseconds. + Weight::from_parts(178_697_959, 0) + .saturating_add(Weight::from_parts(0, 8780)) + // Standard Error: 707_613 + .saturating_add(Weight::from_parts(74_902_040, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((8_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 7674).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 5213).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -986,13 +999,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_random(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `773 + r * (10 ±0)` - // Estimated: `6719 + r * (10 ±0)` - // Minimum execution time: 334_161_000 picoseconds. - Weight::from_parts(353_291_577, 0) - .saturating_add(Weight::from_parts(0, 6719)) - // Standard Error: 1_098 - .saturating_add(Weight::from_parts(1_826_451, 0).saturating_mul(r.into())) + // Measured: `742 + r * (10 ±0)` + // Estimated: `6688 + r * (10 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(166_688_320, 0) + .saturating_add(Weight::from_parts(0, 6688)) + // Standard Error: 1_587 + .saturating_add(Weight::from_parts(1_391_379, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1002,7 +1015,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1014,13 +1027,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_deposit_event(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `762 + r * (10 ±0)` - // Estimated: `6707 + r * (10 ±0)` - // Minimum execution time: 332_949_000 picoseconds. - Weight::from_parts(352_805_387, 0) - .saturating_add(Weight::from_parts(0, 6707)) - // Standard Error: 2_829 - .saturating_add(Weight::from_parts(4_282_507, 0).saturating_mul(r.into())) + // Measured: `731 + r * (10 ±0)` + // Estimated: `6673 + r * (10 ±0)` + // Minimum execution time: 162_000_000 picoseconds. + Weight::from_parts(176_902_043, 0) + .saturating_add(Weight::from_parts(0, 6673)) + // Standard Error: 1_768 + .saturating_add(Weight::from_parts(2_756_408, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1030,7 +1043,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1043,15 +1056,15 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `781 + t * (32 ±0)` - // Estimated: `6728 + t * (2508 ±0)` - // Minimum execution time: 353_584_000 picoseconds. - Weight::from_parts(347_474_501, 0) - .saturating_add(Weight::from_parts(0, 6728)) - // Standard Error: 96_454 - .saturating_add(Weight::from_parts(2_870_159, 0).saturating_mul(t.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(1_006, 0).saturating_mul(n.into())) + // Measured: `748 + t * (32 ±0)` + // Estimated: `6693 + t * (2508 ±0)` + // Minimum execution time: 172_000_000 picoseconds. + Weight::from_parts(170_432_395, 0) + .saturating_add(Weight::from_parts(0, 6693)) + // Standard Error: 72_828 + .saturating_add(Weight::from_parts(1_678_959, 0).saturating_mul(t.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(300, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1063,7 +1076,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1075,13 +1088,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_debug_message(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `761 + r * (7 ±0)` - // Estimated: `6705 + r * (7 ±0)` - // Minimum execution time: 170_030_000 picoseconds. - Weight::from_parts(179_956_686, 0) - .saturating_add(Weight::from_parts(0, 6705)) - // Standard Error: 466 - .saturating_add(Weight::from_parts(243_858, 0).saturating_mul(r.into())) + // Measured: `730 + r * (7 ±0)` + // Estimated: `6675 + r * (7 ±0)` + // Minimum execution time: 89_000_000 picoseconds. + Weight::from_parts(92_771_854, 0) + .saturating_add(Weight::from_parts(0, 6675)) + // Standard Error: 452 + .saturating_add(Weight::from_parts(286_462, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into())) @@ -1091,7 +1104,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `MaxEncodedLen`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `MaxEncodedLen`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1103,13 +1116,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `125712` - // Estimated: `131654` - // Minimum execution time: 499_701_000 picoseconds. - Weight::from_parts(473_122_597, 0) - .saturating_add(Weight::from_parts(0, 131654)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_148, 0).saturating_mul(i.into())) + // Measured: `125681` + // Estimated: `131623` + // Minimum execution time: 247_000_000 picoseconds. + Weight::from_parts(255_029_544, 0) + .saturating_add(Weight::from_parts(0, 131623)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(476, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -1118,13 +1131,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_set_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `834 + r * (292 ±0)` - // Estimated: `832 + r * (293 ±0)` - // Minimum execution time: 332_397_000 picoseconds. - Weight::from_parts(228_011_803, 0) - .saturating_add(Weight::from_parts(0, 832)) - // Standard Error: 11_094 - .saturating_add(Weight::from_parts(6_639_754, 0).saturating_mul(r.into())) + // Measured: `796 + r * (292 ±0)` + // Estimated: `799 + r * (293 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(82_920_012, 0) + .saturating_add(Weight::from_parts(0, 799)) + // Standard Error: 8_311 + .saturating_add(Weight::from_parts(4_528_654, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1136,28 +1149,28 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_new_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1257` - // Estimated: `1249` - // Minimum execution time: 353_821_000 picoseconds. - Weight::from_parts(398_082_350, 0) - .saturating_add(Weight::from_parts(0, 1249)) + // Measured: `1281` + // Estimated: `1279` + // Minimum execution time: 173_000_000 picoseconds. + Weight::from_parts(205_019_506, 0) + .saturating_add(Weight::from_parts(0, 1279)) // Standard Error: 59 - .saturating_add(Weight::from_parts(756, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(Weight::from_parts(326, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1157 + n * (1 ±0)` - // Estimated: `1157 + n * (1 ±0)` - // Minimum execution time: 352_814_000 picoseconds. - Weight::from_parts(363_627_141, 0) - .saturating_add(Weight::from_parts(0, 1157)) - // Standard Error: 30 - .saturating_add(Weight::from_parts(325, 0).saturating_mul(n.into())) + // Measured: `1126 + n * (1 ±0)` + // Estimated: `1126 + n * (1 ±0)` + // Minimum execution time: 171_000_000 picoseconds. + Weight::from_parts(177_758_922, 0) + .saturating_add(Weight::from_parts(0, 1126)) + // Standard Error: 48 + .saturating_add(Weight::from_parts(335, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1167,13 +1180,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_clear_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `831 + r * (288 ±0)` - // Estimated: `835 + r * (289 ±0)` - // Minimum execution time: 333_168_000 picoseconds. - Weight::from_parts(234_350_762, 0) - .saturating_add(Weight::from_parts(0, 835)) - // Standard Error: 10_434 - .saturating_add(Weight::from_parts(6_539_719, 0).saturating_mul(r.into())) + // Measured: `794 + r * (288 ±0)` + // Estimated: `799 + r * (289 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(107_871_753, 0) + .saturating_add(Weight::from_parts(0, 799)) + // Standard Error: 7_052 + .saturating_add(Weight::from_parts(4_302_333, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1185,13 +1198,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1153 + n * (1 ±0)` - // Estimated: `1153 + n * (1 ±0)` - // Minimum execution time: 354_092_000 picoseconds. - Weight::from_parts(365_875_495, 0) - .saturating_add(Weight::from_parts(0, 1153)) - // Standard Error: 37 - .saturating_add(Weight::from_parts(286, 0).saturating_mul(n.into())) + // Measured: `1122 + n * (1 ±0)` + // Estimated: `1122 + n * (1 ±0)` + // Minimum execution time: 172_000_000 picoseconds. + Weight::from_parts(174_919_609, 0) + .saturating_add(Weight::from_parts(0, 1122)) + // Standard Error: 22 + .saturating_add(Weight::from_parts(139, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1201,13 +1214,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_get_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `825 + r * (296 ±0)` - // Estimated: `829 + r * (297 ±0)` - // Minimum execution time: 340_449_000 picoseconds. - Weight::from_parts(260_454_540, 0) - .saturating_add(Weight::from_parts(0, 829)) - // Standard Error: 9_129 - .saturating_add(Weight::from_parts(5_521_911, 0).saturating_mul(r.into())) + // Measured: `794 + r * (296 ±0)` + // Estimated: `796 + r * (297 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(107_092_351, 0) + .saturating_add(Weight::from_parts(0, 796)) + // Standard Error: 6_029 + .saturating_add(Weight::from_parts(3_611_708, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1218,13 +1231,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1169 + n * (1 ±0)` - // Estimated: `1169 + n * (1 ±0)` - // Minimum execution time: 354_257_000 picoseconds. - Weight::from_parts(367_021_765, 0) - .saturating_add(Weight::from_parts(0, 1169)) - // Standard Error: 38 - .saturating_add(Weight::from_parts(623, 0).saturating_mul(n.into())) + // Measured: `1138 + n * (1 ±0)` + // Estimated: `1138 + n * (1 ±0)` + // Minimum execution time: 172_000_000 picoseconds. + Weight::from_parts(175_313_187, 0) + .saturating_add(Weight::from_parts(0, 1138)) + // Standard Error: 32 + .saturating_add(Weight::from_parts(454, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1234,13 +1247,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_contains_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `845 + r * (288 ±0)` - // Estimated: `847 + r * (289 ±0)` - // Minimum execution time: 334_019_000 picoseconds. - Weight::from_parts(254_049_214, 0) - .saturating_add(Weight::from_parts(0, 847)) - // Standard Error: 8_846 - .saturating_add(Weight::from_parts(5_336_074, 0).saturating_mul(r.into())) + // Measured: `805 + r * (288 ±0)` + // Estimated: `802 + r * (289 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(100_214_128, 0) + .saturating_add(Weight::from_parts(0, 802)) + // Standard Error: 6_313 + .saturating_add(Weight::from_parts(3_476_401, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1251,13 +1264,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1156 + n * (1 ±0)` - // Estimated: `1156 + n * (1 ±0)` - // Minimum execution time: 350_023_000 picoseconds. - Weight::from_parts(362_876_767, 0) - .saturating_add(Weight::from_parts(0, 1156)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(310, 0).saturating_mul(n.into())) + // Measured: `1125 + n * (1 ±0)` + // Estimated: `1125 + n * (1 ±0)` + // Minimum execution time: 170_000_000 picoseconds. + Weight::from_parts(173_528_750, 0) + .saturating_add(Weight::from_parts(0, 1125)) + // Standard Error: 24 + .saturating_add(Weight::from_parts(114, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1267,13 +1280,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_take_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `818 + r * (296 ±0)` - // Estimated: `826 + r * (297 ±0)` - // Minimum execution time: 338_311_000 picoseconds. - Weight::from_parts(225_281_461, 0) - .saturating_add(Weight::from_parts(0, 826)) - // Standard Error: 12_000 - .saturating_add(Weight::from_parts(6_716_883, 0).saturating_mul(r.into())) + // Measured: `787 + r * (296 ±0)` + // Estimated: `792 + r * (297 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(104_808_614, 0) + .saturating_add(Weight::from_parts(0, 792)) + // Standard Error: 6_572 + .saturating_add(Weight::from_parts(4_531_551, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1285,13 +1298,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1170 + n * (1 ±0)` - // Estimated: `1170 + n * (1 ±0)` - // Minimum execution time: 358_835_000 picoseconds. - Weight::from_parts(367_501_822, 0) - .saturating_add(Weight::from_parts(0, 1170)) - // Standard Error: 34 - .saturating_add(Weight::from_parts(745, 0).saturating_mul(n.into())) + // Measured: `1139 + n * (1 ±0)` + // Estimated: `1139 + n * (1 ±0)` + // Minimum execution time: 173_000_000 picoseconds. + Weight::from_parts(176_983_454, 0) + .saturating_add(Weight::from_parts(0, 1139)) + // Standard Error: 31 + .saturating_add(Weight::from_parts(376, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1301,7 +1314,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1602 w:1601) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1313,13 +1326,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_transfer(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `881 + r * (45 ±0)` - // Estimated: `6837 + r * (2520 ±0)` - // Minimum execution time: 335_450_000 picoseconds. - Weight::from_parts(215_219_686, 0) - .saturating_add(Weight::from_parts(0, 6837)) - // Standard Error: 17_793 - .saturating_add(Weight::from_parts(37_821_458, 0).saturating_mul(r.into())) + // Measured: `766 + r * (45 ±0)` + // Estimated: `6764 + r * (2520 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(198_024_505, 0) + .saturating_add(Weight::from_parts(0, 6764)) + // Standard Error: 36_622 + .saturating_add(Weight::from_parts(26_751_009, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -1331,7 +1344,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:801 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:2 w:0) @@ -1343,25 +1356,25 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 800]`. fn seal_call(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1205 + r * (276 ±0)` - // Estimated: `9390 + r * (2752 ±0)` - // Minimum execution time: 335_880_000 picoseconds. - Weight::from_parts(338_190_000, 0) - .saturating_add(Weight::from_parts(0, 9390)) - // Standard Error: 124_901 - .saturating_add(Weight::from_parts(317_409_393, 0).saturating_mul(r.into())) + // Measured: `1128 + r * (245 ±0)` + // Estimated: `9308 + r * (2721 ±0)` + // Minimum execution time: 165_000_000 picoseconds. + Weight::from_parts(165_000_000, 0) + .saturating_add(Weight::from_parts(0, 9308)) + // Standard Error: 128_294 + .saturating_add(Weight::from_parts(154_042_763, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2752).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2721).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:736 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:736 w:0) @@ -1374,12 +1387,12 @@ impl pallet_contracts::WeightInfo for WeightInfo { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (576 ±0)` - // Estimated: `6711 + r * (2637 ±3)` - // Minimum execution time: 336_050_000 picoseconds. - Weight::from_parts(338_874_000, 0) - .saturating_add(Weight::from_parts(0, 6711)) - // Standard Error: 189_079 - .saturating_add(Weight::from_parts(317_133_680, 0).saturating_mul(r.into())) + // Estimated: `6680 + r * (2637 ±3)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(164_000_000, 0) + .saturating_add(Weight::from_parts(0, 6680)) + // Standard Error: 87_633 + .saturating_add(Weight::from_parts(153_102_807, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1391,7 +1404,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:2 w:2) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:2 w:0) @@ -1404,27 +1417,27 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1048576]`. fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1237 + t * (277 ±0)` - // Estimated: `12127 + t * (5227 ±0)` - // Minimum execution time: 542_366_000 picoseconds. - Weight::from_parts(193_694_880, 0) - .saturating_add(Weight::from_parts(0, 12127)) - // Standard Error: 11_272_994 - .saturating_add(Weight::from_parts(316_201_122, 0).saturating_mul(t.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_107, 0).saturating_mul(c.into())) + // Measured: `1175 + t * (243 ±0)` + // Estimated: `12065 + t * (5193 ±0)` + // Minimum execution time: 273_000_000 picoseconds. + Weight::from_parts(248_196_274, 0) + .saturating_add(Weight::from_parts(0, 12065)) + // Standard Error: 487_561 + .saturating_add(Weight::from_parts(26_926_796, 0).saturating_mul(t.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(341, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 5227).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 5193).saturating_mul(t.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:1602 w:1602) + /// Storage: `System::Account` (r:802 w:802) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:801 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:801 w:800) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:801 w:0) @@ -1433,30 +1446,32 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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::EventTopics` (r:802 w:802) + /// Storage: `System::EventTopics` (r:803 w:803) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:800 w:800) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// The range of component `r` is `[1, 800]`. fn seal_instantiate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `898 + r * (255 ±0)` - // Estimated: `6726 + r * (5205 ±0)` - // Minimum execution time: 767_480_000 picoseconds. - Weight::from_parts(779_480_000, 0) - .saturating_add(Weight::from_parts(0, 6726)) - // Standard Error: 376_597 - .saturating_add(Weight::from_parts(465_783_966, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `917 + r * (255 ±0)` + // Estimated: `9195 + r * (2730 ±0)` + // Minimum execution time: 395_000_000 picoseconds. + Weight::from_parts(398_000_000, 0) + .saturating_add(Weight::from_parts(0, 9195)) + // Standard Error: 144_347 + .saturating_add(Weight::from_parts(236_638_760, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 5205).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2730).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:4 w:4) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:2 w:2) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:2 w:0) @@ -1465,36 +1480,38 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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::EventTopics` (r:3 w:3) + /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1094 + t * (118 ±0)` - // Estimated: `9510 + t * (2575 ±1)` - // Minimum execution time: 3_092_356_000 picoseconds. - Weight::from_parts(917_401_151, 0) - .saturating_add(Weight::from_parts(0, 9510)) - // Standard Error: 12_758_887 - .saturating_add(Weight::from_parts(50_052_819, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(2_013, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(2_252, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(15)) + // Measured: `1118 + t * (66 ±0)` + // Estimated: `12032 + t * (2553 ±1)` + // Minimum execution time: 1_477_000_000 picoseconds. + Weight::from_parts(272_296_452, 0) + .saturating_add(Weight::from_parts(0, 12032)) + // Standard Error: 2_159_681 + .saturating_add(Weight::from_parts(43_495_368, 0).saturating_mul(t.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_200, 0).saturating_mul(i.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_243, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2575).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2553).saturating_mul(t.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1506,13 +1523,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `761 + r * (8 ±0)` - // Estimated: `6702 + r * (8 ±0)` - // Minimum execution time: 334_710_000 picoseconds. - Weight::from_parts(340_587_159, 0) - .saturating_add(Weight::from_parts(0, 6702)) - // Standard Error: 507 - .saturating_add(Weight::from_parts(412_195, 0).saturating_mul(r.into())) + // Measured: `730 + r * (8 ±0)` + // Estimated: `6669 + r * (8 ±0)` + // Minimum execution time: 162_000_000 picoseconds. + Weight::from_parts(164_572_156, 0) + .saturating_add(Weight::from_parts(0, 6669)) + // Standard Error: 541 + .saturating_add(Weight::from_parts(530_680, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1522,7 +1539,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1534,13 +1551,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `769` - // Estimated: `6709` - // Minimum execution time: 333_148_000 picoseconds. - Weight::from_parts(347_364_466, 0) - .saturating_add(Weight::from_parts(0, 6709)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_500, 0).saturating_mul(n.into())) + // Measured: `738` + // Estimated: `6676` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(163_798_674, 0) + .saturating_add(Weight::from_parts(0, 6676)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_892, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -1549,7 +1566,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1561,13 +1578,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `763 + r * (8 ±0)` - // Estimated: `6705 + r * (8 ±0)` - // Minimum execution time: 332_031_000 picoseconds. - Weight::from_parts(346_086_580, 0) - .saturating_add(Weight::from_parts(0, 6705)) - // Standard Error: 682 - .saturating_add(Weight::from_parts(822_438, 0).saturating_mul(r.into())) + // Measured: `732 + r * (8 ±0)` + // Estimated: `6674 + r * (8 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(167_693_919, 0) + .saturating_add(Weight::from_parts(0, 6674)) + // Standard Error: 527 + .saturating_add(Weight::from_parts(583_917, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1577,7 +1594,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1589,13 +1606,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771` - // Estimated: `6713` - // Minimum execution time: 337_280_000 picoseconds. - Weight::from_parts(346_817_478, 0) - .saturating_add(Weight::from_parts(0, 6713)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(3_859, 0).saturating_mul(n.into())) + // Measured: `740` + // Estimated: `6682` + // Minimum execution time: 166_000_000 picoseconds. + Weight::from_parts(166_247_067, 0) + .saturating_add(Weight::from_parts(0, 6682)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_758, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -1604,7 +1621,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1616,13 +1633,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `763 + r * (8 ±0)` - // Estimated: `6708 + r * (8 ±0)` - // Minimum execution time: 331_039_000 picoseconds. - Weight::from_parts(344_490_096, 0) - .saturating_add(Weight::from_parts(0, 6708)) - // Standard Error: 607 - .saturating_add(Weight::from_parts(478_090, 0).saturating_mul(r.into())) + // Measured: `732 + r * (8 ±0)` + // Estimated: `6676 + r * (8 ±0)` + // Minimum execution time: 162_000_000 picoseconds. + Weight::from_parts(165_724_870, 0) + .saturating_add(Weight::from_parts(0, 6676)) + // Standard Error: 463 + .saturating_add(Weight::from_parts(470_353, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1632,7 +1649,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1644,13 +1661,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771` - // Estimated: `6717` - // Minimum execution time: 334_726_000 picoseconds. - Weight::from_parts(360_301_792, 0) - .saturating_add(Weight::from_parts(0, 6717)) + // Measured: `740` + // Estimated: `6681` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(167_035_348, 0) + .saturating_add(Weight::from_parts(0, 6681)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_597, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -1659,7 +1676,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1671,13 +1688,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `763 + r * (8 ±0)` - // Estimated: `6709 + r * (8 ±0)` - // Minimum execution time: 332_154_000 picoseconds. - Weight::from_parts(341_396_510, 0) - .saturating_add(Weight::from_parts(0, 6709)) - // Standard Error: 607 - .saturating_add(Weight::from_parts(477_412, 0).saturating_mul(r.into())) + // Measured: `732 + r * (8 ±0)` + // Estimated: `6673 + r * (8 ±0)` + // Minimum execution time: 162_000_000 picoseconds. + Weight::from_parts(165_526_893, 0) + .saturating_add(Weight::from_parts(0, 6673)) + // Standard Error: 420 + .saturating_add(Weight::from_parts(470_928, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1687,7 +1704,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1699,13 +1716,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `771` - // Estimated: `6711` - // Minimum execution time: 334_419_000 picoseconds. - Weight::from_parts(344_430_612, 0) - .saturating_add(Weight::from_parts(0, 6711)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_633, 0).saturating_mul(n.into())) + // Measured: `740` + // Estimated: `6679` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(163_465_227, 0) + .saturating_add(Weight::from_parts(0, 6679)) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_052, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -1714,7 +1731,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1726,13 +1743,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `896 + n * (1 ±0)` - // Estimated: `6833 + n * (1 ±0)` - // Minimum execution time: 407_667_000 picoseconds. - Weight::from_parts(420_437_289, 0) - .saturating_add(Weight::from_parts(0, 6833)) - // Standard Error: 20 - .saturating_add(Weight::from_parts(6_862, 0).saturating_mul(n.into())) + // Measured: `865 + n * (1 ±0)` + // Estimated: `6802 + n * (1 ±0)` + // Minimum execution time: 199_000_000 picoseconds. + Weight::from_parts(201_959_779, 0) + .saturating_add(Weight::from_parts(0, 6802)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4_235, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1742,7 +1759,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1754,13 +1771,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `710 + r * (112 ±0)` - // Estimated: `6650 + r * (112 ±0)` - // Minimum execution time: 334_964_000 picoseconds. - Weight::from_parts(391_169_401, 0) - .saturating_add(Weight::from_parts(0, 6650)) - // Standard Error: 15_050 - .saturating_add(Weight::from_parts(56_178_174, 0).saturating_mul(r.into())) + // Measured: `672 + r * (112 ±0)` + // Estimated: `6616 + r * (112 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(188_307_891, 0) + .saturating_add(Weight::from_parts(0, 6616)) + // Standard Error: 39_261 + .saturating_add(Weight::from_parts(33_480_106, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into())) @@ -1770,7 +1787,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1782,13 +1799,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `805 + r * (76 ±0)` - // Estimated: `6701 + r * (77 ±0)` - // Minimum execution time: 334_512_000 picoseconds. - Weight::from_parts(423_250_649, 0) - .saturating_add(Weight::from_parts(0, 6701)) - // Standard Error: 21_999 - .saturating_add(Weight::from_parts(46_048_078, 0).saturating_mul(r.into())) + // Measured: `775 + r * (76 ±0)` + // Estimated: `6669 + r * (77 ±0)` + // Minimum execution time: 165_000_000 picoseconds. + Weight::from_parts(237_481_115, 0) + .saturating_add(Weight::from_parts(0, 6669)) + // Standard Error: 93_510 + .saturating_add(Weight::from_parts(32_714_925, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into())) @@ -1798,7 +1815,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1810,13 +1827,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `776 + r * (42 ±0)` - // Estimated: `6715 + r * (42 ±0)` - // Minimum execution time: 339_500_000 picoseconds. - Weight::from_parts(367_540_513, 0) - .saturating_add(Weight::from_parts(0, 6715)) - // Standard Error: 12_975 - .saturating_add(Weight::from_parts(12_337_677, 0).saturating_mul(r.into())) + // Measured: `745 + r * (42 ±0)` + // Estimated: `6684 + r * (42 ±0)` + // Minimum execution time: 165_000_000 picoseconds. + Weight::from_parts(185_544_027, 0) + .saturating_add(Weight::from_parts(0, 6684)) + // Standard Error: 15_519 + .saturating_add(Weight::from_parts(7_252_917, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into())) @@ -1826,7 +1843,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1536 w:0) @@ -1839,12 +1856,12 @@ impl pallet_contracts::WeightInfo for WeightInfo { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (965 ±0)` - // Estimated: `6706 + r * (3090 ±10)` - // Minimum execution time: 331_963_000 picoseconds. - Weight::from_parts(334_637_000, 0) - .saturating_add(Weight::from_parts(0, 6706)) - // Standard Error: 58_037 - .saturating_add(Weight::from_parts(25_483_667, 0).saturating_mul(r.into())) + // Estimated: `6675 + r * (3090 ±10)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(165_000_000, 0) + .saturating_add(Weight::from_parts(0, 6675)) + // Standard Error: 27_915 + .saturating_add(Weight::from_parts(16_539_116, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -1868,15 +1885,16 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 32]`. fn add_delegate_dependency(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `928 + r * (131 ±0)` - // Estimated: `6878 + r * (2606 ±0)` - // Minimum execution time: 271_519_000 picoseconds. - Weight::from_parts(292_726_476, 6878) - // Standard Error: 23_870 - .saturating_add(Weight::from_parts(6_695_172, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Measured: `796 + r * (131 ±0)` + // Estimated: `6746 + r * (2606 ±0)` + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(168_354_843, 0) + .saturating_add(Weight::from_parts(0, 6746)) + // Standard Error: 11_302 + .saturating_add(Weight::from_parts(3_917_084, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2606).saturating_mul(r.into())) } @@ -1897,15 +1915,16 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 32]`. fn remove_delegate_dependency(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `969 + r * (183 ±0)` + // Measured: `837 + r * (183 ±0)` // Estimated: `129453 + r * (2568 ±0)` - // Minimum execution time: 274_675_000 picoseconds. - Weight::from_parts(293_727_489, 129453) - // Standard Error: 23_160 - .saturating_add(Weight::from_parts(5_895_043, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) + // Minimum execution time: 164_000_000 picoseconds. + Weight::from_parts(168_848_570, 0) + .saturating_add(Weight::from_parts(0, 129453)) + // Standard Error: 13_706 + .saturating_add(Weight::from_parts(3_494_679, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) } @@ -1914,7 +1933,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1926,13 +1945,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `757 + r * (3 ±0)` - // Estimated: `6707 + r * (3 ±0)` - // Minimum execution time: 330_506_000 picoseconds. - Weight::from_parts(341_361_580, 0) - .saturating_add(Weight::from_parts(0, 6707)) - // Standard Error: 396 - .saturating_add(Weight::from_parts(179_927, 0).saturating_mul(r.into())) + // Measured: `726 + r * (3 ±0)` + // Estimated: `6672 + r * (3 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(166_402_682, 0) + .saturating_add(Weight::from_parts(0, 6672)) + // Standard Error: 625 + .saturating_add(Weight::from_parts(193_732, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1942,7 +1961,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1954,13 +1973,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_account_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1997 + r * (39 ±0)` - // Estimated: `7824 + r * (40 ±0)` - // Minimum execution time: 333_866_000 picoseconds. - Weight::from_parts(416_314_655, 0) - .saturating_add(Weight::from_parts(0, 7824)) - // Standard Error: 1_850 - .saturating_add(Weight::from_parts(326_703, 0).saturating_mul(r.into())) + // Measured: `1977 + r * (39 ±0)` + // Estimated: `7767 + r * (40 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(181_551_966, 0) + .saturating_add(Weight::from_parts(0, 7767)) + // Standard Error: 894 + .saturating_add(Weight::from_parts(282_892, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into())) @@ -1970,7 +1989,7 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(290), added: 2765, mode: `Measured`) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) @@ -1984,13 +2003,13 @@ impl pallet_contracts::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 1600]`. fn seal_instantiation_nonce(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `760 + r * (3 ±0)` - // Estimated: `6707 + r * (3 ±0)` - // Minimum execution time: 331_367_000 picoseconds. - Weight::from_parts(344_844_447, 0) - .saturating_add(Weight::from_parts(0, 6707)) - // Standard Error: 464 - .saturating_add(Weight::from_parts(156_183, 0).saturating_mul(r.into())) + // Measured: `729 + r * (3 ±0)` + // Estimated: `6669 + r * (3 ±0)` + // Minimum execution time: 163_000_000 picoseconds. + Weight::from_parts(167_029_207, 0) + .saturating_add(Weight::from_parts(0, 6669)) + // Standard Error: 265 + .saturating_add(Weight::from_parts(180_186, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2000,10 +2019,10 @@ impl pallet_contracts::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_551_000 picoseconds. - Weight::from_parts(1_718_159, 0) + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(1_149_410, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(10_822, 0).saturating_mul(r.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(25_970, 0).saturating_mul(r.into())) } }