From 07ee22e8be6a8ae5db7258512a76616114a0ab1e Mon Sep 17 00:00:00 2001 From: Alexander Gryaznov Date: Wed, 29 Jun 2022 23:22:55 +0300 Subject: [PATCH 1/7] update seal_set_storage_per_new_kb and check weights --- frame/contracts/src/benchmarking/mod.rs | 4 +- frame/contracts/src/weights.rs | 1554 ++++++++--------------- 2 files changed, 543 insertions(+), 1015 deletions(-) diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index bea469bd0f5a9..578f70a4750b6 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -993,12 +993,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![]), None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 3c90579e65d53..95cef815cfb47 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,22 +18,22 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-06-29, STEPS: `1`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `lisbon`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/production/substrate +// target/release/substrate // benchmark // pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_contracts -// --extrinsic=* +// --chain +// dev // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 +// --pallet +// pallet_contracts +// --extrinsic=* // --output=./frame/contracts/src/weights.rs // --template=./.maintain/frame-weight-template.hbs @@ -166,35 +166,28 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_654_000 as Weight) + (60_535_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. - fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_564_000 as Weight) - // Standard Error: 0 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + fn on_initialize_per_trie_key(_k: u32, ) -> Weight { + (1_395_626_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) + .saturating_add(T::DbWeight::get().writes(1025 as Weight)) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 1024]`. - fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 5_000 - .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) + /// The range of component `q` is `[0, 128]`. + fn on_initialize_per_queue_item(_q: u32, ) -> Weight { + (367_817_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Contracts PristineCode (r:1 w:0) // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn reinstrument(c: u32, ) -> Weight { - (19_016_000 as Weight) - // Standard Error: 0 - .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) + fn reinstrument(_c: u32, ) -> Weight { + (3_387_824_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -203,10 +196,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. - fn call_with_code_per_byte(c: u32, ) -> Weight { - (205_194_000 as Weight) - // Standard Error: 0 - .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) + fn call_with_code_per_byte(_c: u32, ) -> Weight { + (7_665_045_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -220,9 +211,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (288_487_000 as Weight) + (553_360_000 as Weight) // Standard Error: 0 - .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((132_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -235,10 +226,8 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. - fn instantiate(s: u32, ) -> Weight { - (186_136_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) + fn instantiate(_s: u32, ) -> Weight { + (2_235_439_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -247,7 +236,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (149_232_000 as Weight) + (208_084_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -255,10 +244,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn upload_code(c: u32, ) -> Weight { - (51_721_000 as Weight) - // Standard Error: 0 - .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) + fn upload_code(_c: u32, ) -> Weight { + (3_784_987_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -266,14 +253,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (30_016_000 as Weight) + (56_286_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_192_000 as Weight) + (67_828_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -282,10 +269,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller(r: u32, ) -> Weight { - (206_405_000 as Weight) - // Standard Error: 112_000 - .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) + fn seal_caller(_r: u32, ) -> Weight { + (1_596_127_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -294,12 +279,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_is_contract(r: u32, ) -> Weight { - (106_220_000 as Weight) - // Standard Error: 710_000 - .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_is_contract(_r: u32, ) -> Weight { + (9_613_129_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1604 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -307,12 +289,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_code_hash(r: u32, ) -> Weight { - (104_498_000 as Weight) - // Standard Error: 633_000 - .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_code_hash(_r: u32, ) -> Weight { + (11_589_537_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1604 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -320,10 +299,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_own_code_hash(r: u32, ) -> Weight { - (208_696_000 as Weight) - // Standard Error: 101_000 - .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) + fn seal_own_code_hash(_r: u32, ) -> Weight { + (1_440_992_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -332,10 +309,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller_is_origin(r: u32, ) -> Weight { - (205_612_000 as Weight) - // Standard Error: 68_000 - .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) + fn seal_caller_is_origin(_r: u32, ) -> Weight { + (529_213_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -344,10 +319,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_address(r: u32, ) -> Weight { - (206_947_000 as Weight) - // Standard Error: 107_000 - .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) + fn seal_address(_r: u32, ) -> Weight { + (1_363_585_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -356,10 +329,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas_left(r: u32, ) -> Weight { - (208_692_000 as Weight) - // Standard Error: 109_000 - .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) + fn seal_gas_left(_r: u32, ) -> Weight { + (1_427_737_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -368,10 +339,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_balance(r: u32, ) -> Weight { - (209_811_000 as Weight) - // Standard Error: 208_000 - .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) + fn seal_balance(_r: u32, ) -> Weight { + (3_781_411_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -380,10 +349,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_value_transferred(r: u32, ) -> Weight { - (207_406_000 as Weight) - // Standard Error: 117_000 - .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) + fn seal_value_transferred(_r: u32, ) -> Weight { + (1_572_663_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -392,10 +359,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_minimum_balance(r: u32, ) -> Weight { - (209_260_000 as Weight) - // Standard Error: 130_000 - .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) + fn seal_minimum_balance(_r: u32, ) -> Weight { + (1_441_153_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -404,10 +369,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_block_number(r: u32, ) -> Weight { - (206_448_000 as Weight) - // Standard Error: 95_000 - .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) + fn seal_block_number(_r: u32, ) -> Weight { + (1_645_099_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -416,10 +379,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_now(r: u32, ) -> Weight { - (206_969_000 as Weight) - // Standard Error: 116_000 - .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) + fn seal_now(_r: u32, ) -> Weight { + (1_427_156_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -429,10 +390,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_weight_to_fee(r: u32, ) -> Weight { - (211_611_000 as Weight) - // Standard Error: 175_000 - .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) + fn seal_weight_to_fee(_r: u32, ) -> Weight { + (3_212_693_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -441,10 +400,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas(r: u32, ) -> Weight { - (134_484_000 as Weight) - // Standard Error: 57_000 - .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) + fn seal_gas(_r: u32, ) -> Weight { + (695_318_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -453,10 +410,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_input(r: u32, ) -> Weight { - (208_556_000 as Weight) - // Standard Error: 125_000 - .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) + fn seal_input(_r: u32, ) -> Weight { + (1_362_093_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -465,10 +420,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_input_per_kb(n: u32, ) -> Weight { - (268_886_000 as Weight) - // Standard Error: 4_000 - .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) + fn seal_input_per_kb(_n: u32, ) -> Weight { + (12_114_734_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -478,7 +431,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (203_591_000 as Weight) + (229_184_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -487,10 +440,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_return_per_kb(n: u32, ) -> Weight { - (204_258_000 as Weight) - // Standard Error: 0 - .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) + fn seal_return_per_kb(_n: u32, ) -> Weight { + (685_240_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -501,14 +452,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { - (206_625_000 as Weight) - // Standard Error: 672_000 - .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(r as Weight))) + fn seal_terminate(_r: u32, ) -> Weight { + (565_712_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) + .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) @@ -516,10 +463,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_random(r: u32, ) -> Weight { - (208_866_000 as Weight) - // Standard Error: 164_000 - .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) + fn seal_random(_r: u32, ) -> Weight { + (4_464_396_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -528,10 +473,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_deposit_event(r: u32, ) -> Weight { - (220_860_000 as Weight) - // Standard Error: 209_000 - .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) + fn seal_deposit_event(_r: u32, ) -> Weight { + (7_365_056_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -539,15 +482,15 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:80 w:80) + // Storage: System EventTopics (r:320 w:320) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (439_782_000 as Weight) - // Standard Error: 1_643_000 - .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 323_000 - .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) + (696_249_000 as Weight) + // Standard Error: 26_125_000 + .saturating_add((355_680_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 6_531_000 + .saturating_add((75_648_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -558,168 +501,116 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_debug_message(r: u32, ) -> Weight { - (140_280_000 as Weight) - // Standard Error: 82_000 - .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) + fn seal_debug_message(_r: u32, ) -> Weight { + (939_782_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_set_storage(r: u32, ) -> Weight { - (161_247_000 as Weight) - // Standard Error: 883_000 - .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_set_storage(_r: u32, ) -> Weight { + (5_932_179_000 as Weight) + .saturating_add(T::DbWeight::get().reads(804 as Weight)) + .saturating_add(T::DbWeight::get().writes(801 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (529_247_000 as Weight) - // Standard Error: 2_745_000 - .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(55 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(53 as Weight)) - .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { + (1_896_617_000 as Weight) + .saturating_add(T::DbWeight::get().reads(85 as Weight)) + .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (529_812_000 as Weight) - // Standard Error: 2_513_000 - .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(55 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(53 as Weight)) - .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { + (1_835_661_000 as Weight) + .saturating_add(T::DbWeight::get().reads(85 as Weight)) + .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_clear_storage(r: u32, ) -> Weight { - (184_803_000 as Weight) - // Standard Error: 733_000 - .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_clear_storage(_r: u32, ) -> Weight { + (6_061_565_000 as Weight) + .saturating_add(T::DbWeight::get().reads(805 as Weight)) + .saturating_add(T::DbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (500_958_000 as Weight) - // Standard Error: 2_980_000 - .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(55 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(52 as Weight)) - .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { + (1_301_468_000 as Weight) + .saturating_add(T::DbWeight::get().reads(85 as Weight)) + .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_get_storage(r: u32, ) -> Weight { - (177_682_000 as Weight) - // Standard Error: 743_000 - .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_get_storage(_r: u32, ) -> Weight { + (4_602_437_000 as Weight) + .saturating_add(T::DbWeight::get().reads(804 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (465_285_000 as Weight) - // Standard Error: 2_599_000 - .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(55 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + fn seal_get_storage_per_kb(_n: u32, ) -> Weight { + (2_195_203_000 as Weight) + .saturating_add(T::DbWeight::get().reads(84 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_contains_storage(r: u32, ) -> Weight { - (179_118_000 as Weight) - // Standard Error: 572_000 - .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_contains_storage(_r: u32, ) -> Weight { + (4_224_010_000 as Weight) + .saturating_add(T::DbWeight::get().reads(804 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (423_056_000 as Weight) - // Standard Error: 2_037_000 - .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(54 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { + (1_655_640_000 as Weight) + .saturating_add(T::DbWeight::get().reads(84 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_take_storage(r: u32, ) -> Weight { - (188_884_000 as Weight) - // Standard Error: 761_000 - .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_take_storage(_r: u32, ) -> Weight { + (6_058_890_000 as Weight) + .saturating_add(T::DbWeight::get().reads(805 as Weight)) + .saturating_add(T::DbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (532_408_000 as Weight) - // Standard Error: 3_348_000 - .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(T::DbWeight::get().reads(55 as Weight)) - .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(T::DbWeight::get().writes(53 as Weight)) - .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_take_storage_per_kb(_n: u32, ) -> Weight { + (2_502_135_000 as Weight) + .saturating_add(T::DbWeight::get().reads(85 as Weight)) + .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_transfer(r: u32, ) -> Weight { - (127_181_000 as Weight) - // Standard Error: 1_495_000 - .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) - .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_transfer(_r: u32, ) -> Weight { + (45_696_448_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1605 as Weight)) + .saturating_add(T::DbWeight::get().writes(1602 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 3_803_000 - .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(5 as Weight)) - .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) - .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_call(_r: u32, ) -> Weight { + (376_028_506_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1605 as Weight)) + .saturating_add(T::DbWeight::get().writes(1601 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_delegate_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 6_045_000 - .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) + fn seal_delegate_call(_r: u32, ) -> Weight { + (372_966_148_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1539 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -729,11 +620,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (9_196_444_000 as Weight) - // Standard Error: 20_486_000 - .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 8_000 - .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) + (10_382_856_000 as Weight) + // Standard Error: 1_481_263_000 + .saturating_add((2_370_009_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 1_446_000 + .saturating_add((14_317_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -744,16 +635,12 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:80 w:80) + // Storage: Contracts OwnerInfoOf (r:1600 w:1600) /// The range of component `r` is `[0, 20]`. - fn seal_instantiate(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 36_253_000 - .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads(6 as Weight)) - .saturating_add(T::DbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes(3 as Weight)) - .saturating_add(T::DbWeight::get().writes((320 as Weight).saturating_mul(r as Weight))) + fn seal_instantiate(_r: u32, ) -> Weight { + (597_646_146_000 as Weight) + .saturating_add(T::DbWeight::get().reads(6406 as Weight)) + .saturating_add(T::DbWeight::get().writes(6404 as Weight)) } // Storage: System Account (r:81 w:81) // Storage: Contracts ContractInfoOf (r:81 w:81) @@ -764,11 +651,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (12_282_498_000 as Weight) - // Standard Error: 48_112_000 - .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) + (19_461_995_000 as Weight) + // Standard Error: 567_411_000 + .saturating_add((2_108_094_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 591_000 + .saturating_add((116_429_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -779,10 +666,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_959_000 as Weight) - // Standard Error: 142_000 - .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_sha2_256(_r: u32, ) -> Weight { + (1_287_021_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -791,10 +676,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (349_915_000 as Weight) - // Standard Error: 40_000 - .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { + (65_956_893_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -803,10 +686,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_keccak_256(r: u32, ) -> Weight { - (209_219_000 as Weight) - // Standard Error: 157_000 - .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_keccak_256(_r: u32, ) -> Weight { + (1_840_932_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -815,10 +696,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (208_860_000 as Weight) - // Standard Error: 25_000 - .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { + (223_702_744_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -827,10 +706,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_256(r: u32, ) -> Weight { - (206_165_000 as Weight) - // Standard Error: 138_000 - .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_blake2_256(_r: u32, ) -> Weight { + (1_759_327_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -839,10 +716,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (255_955_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { + (88_291_674_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -851,10 +726,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_128(r: u32, ) -> Weight { - (208_153_000 as Weight) - // Standard Error: 140_000 - .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_blake2_128(_r: u32, ) -> Weight { + (1_597_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -863,10 +736,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (278_368_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { + (91_762_907_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -875,10 +746,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_recover(r: u32, ) -> Weight { - (331_955_000 as Weight) - // Standard Error: 1_155_000 - .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) + fn seal_ecdsa_recover(_r: u32, ) -> Weight { + (69_727_379_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -887,10 +756,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (207_838_000 as Weight) - // Standard Error: 783_000 - .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) + fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { + (41_605_403_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -898,320 +765,216 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: Contracts OwnerInfoOf (r:16 w:16) + // Storage: Contracts OwnerInfoOf (r:1536 w:1536) /// The range of component `r` is `[0, 20]`. - fn seal_set_code_hash(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 1_567_000 - .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) + fn seal_set_code_hash(_r: u32, ) -> Weight { + (22_988_538_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1540 as Weight)) + .saturating_add(T::DbWeight::get().writes(1537 as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64const(r: u32, ) -> Weight { - (73_955_000 as Weight) - // Standard Error: 1_000 - .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64const(_r: u32, ) -> Weight { + (350_104_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64load(r: u32, ) -> Weight { - (74_057_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64load(_r: u32, ) -> Weight { + (1_344_069_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64store(r: u32, ) -> Weight { - (74_137_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64store(_r: u32, ) -> Weight { + (742_519_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_select(r: u32, ) -> Weight { - (73_844_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) + fn instr_select(_r: u32, ) -> Weight { + (483_747_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_if(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) + fn instr_if(_r: u32, ) -> Weight { + (360_153_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br(r: u32, ) -> Weight { - (73_924_000 as Weight) - // Standard Error: 3_000 - .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) + fn instr_br(_r: u32, ) -> Weight { + (246_207_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br_if(r: u32, ) -> Weight { - (73_574_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) + fn instr_br_if(_r: u32, ) -> Weight { + (561_546_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br_table(r: u32, ) -> Weight { - (73_343_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) + fn instr_br_table(_r: u32, ) -> Weight { + (450_675_000 as Weight) } /// The range of component `e` is `[1, 256]`. - fn instr_br_table_per_entry(e: u32, ) -> Weight { - (76_267_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) + fn instr_br_table_per_entry(_e: u32, ) -> Weight { + (662_968_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_call(r: u32, ) -> Weight { - (74_877_000 as Weight) - // Standard Error: 12_000 - .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) + fn instr_call(_r: u32, ) -> Weight { + (595_249_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_call_indirect(r: u32, ) -> Weight { - (88_665_000 as Weight) - // Standard Error: 20_000 - .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) + fn instr_call_indirect(_r: u32, ) -> Weight { + (754_822_000 as Weight) } /// The range of component `p` is `[0, 128]`. - fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (98_600_000 as Weight) - // Standard Error: 2_000 - .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) + fn instr_call_indirect_per_param(_p: u32, ) -> Weight { + (410_769_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_get(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_get(_r: u32, ) -> Weight { + (335_988_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_set(r: u32, ) -> Weight { - (74_329_000 as Weight) - // Standard Error: 1_000 - .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_set(_r: u32, ) -> Weight { + (353_731_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_tee(r: u32, ) -> Weight { - (74_612_000 as Weight) - // Standard Error: 1_000 - .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_tee(_r: u32, ) -> Weight { + (383_578_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_global_get(r: u32, ) -> Weight { - (76_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) + fn instr_global_get(_r: u32, ) -> Weight { + (390_771_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_global_set(r: u32, ) -> Weight { - (76_979_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) + fn instr_global_set(_r: u32, ) -> Weight { + (379_359_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_memory_current(r: u32, ) -> Weight { - (74_370_000 as Weight) - // Standard Error: 3_000 - .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) + fn instr_memory_current(_r: u32, ) -> Weight { + (351_166_000 as Weight) } /// The range of component `r` is `[0, 1]`. - fn instr_memory_grow(r: u32, ) -> Weight { - (73_584_000 as Weight) - // Standard Error: 353_000 - .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) + fn instr_memory_grow(_r: u32, ) -> Weight { + (819_094_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64clz(r: u32, ) -> Weight { - (74_206_000 as Weight) - // Standard Error: 1_000 - .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64clz(_r: u32, ) -> Weight { + (394_819_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ctz(r: u32, ) -> Weight { - (73_992_000 as Weight) - // Standard Error: 1_000 - .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ctz(_r: u32, ) -> Weight { + (733_361_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64popcnt(r: u32, ) -> Weight { - (73_985_000 as Weight) - // Standard Error: 2_000 - .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64popcnt(_r: u32, ) -> Weight { + (391_542_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eqz(r: u32, ) -> Weight { - (74_117_000 as Weight) - // Standard Error: 4_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64eqz(_r: u32, ) -> Weight { + (422_411_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendsi32(r: u32, ) -> Weight { - (73_981_000 as Weight) - // Standard Error: 1_000 - .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64extendsi32(_r: u32, ) -> Weight { + (393_046_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendui32(r: u32, ) -> Weight { - (74_104_000 as Weight) - // Standard Error: 3_000 - .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64extendui32(_r: u32, ) -> Weight { + (392_635_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_293_000 as Weight) - // Standard Error: 3_000 - .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) + fn instr_i32wrapi64(_r: u32, ) -> Weight { + (395_780_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eq(r: u32, ) -> Weight { - (74_055_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64eq(_r: u32, ) -> Weight { + (441_828_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ne(r: u32, ) -> Weight { - (73_710_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ne(_r: u32, ) -> Weight { + (436_458_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64lts(r: u32, ) -> Weight { - (73_917_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64lts(_r: u32, ) -> Weight { + (462_748_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ltu(r: u32, ) -> Weight { - (74_048_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ltu(_r: u32, ) -> Weight { + (433_412_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gts(r: u32, ) -> Weight { - (74_029_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64gts(_r: u32, ) -> Weight { + (442_600_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gtu(r: u32, ) -> Weight { - (74_267_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64gtu(_r: u32, ) -> Weight { + (917_861_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64les(r: u32, ) -> Weight { - (73_952_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64les(_r: u32, ) -> Weight { + (503_375_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64leu(r: u32, ) -> Weight { - (73_851_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64leu(_r: u32, ) -> Weight { + (439_303_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ges(r: u32, ) -> Weight { - (74_034_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ges(_r: u32, ) -> Weight { + (434_715_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64geu(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64geu(_r: u32, ) -> Weight { + (439_524_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64add(r: u32, ) -> Weight { - (74_000_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64add(_r: u32, ) -> Weight { + (444_864_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64sub(r: u32, ) -> Weight { - (73_883_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64sub(_r: u32, ) -> Weight { + (525_086_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64mul(r: u32, ) -> Weight { - (74_216_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64mul(_r: u32, ) -> Weight { + (448_361_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divs(r: u32, ) -> Weight { - (73_989_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64divs(_r: u32, ) -> Weight { + (464_571_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divu(r: u32, ) -> Weight { - (73_857_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64divu(_r: u32, ) -> Weight { + (655_434_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rems(r: u32, ) -> Weight { - (73_801_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rems(_r: u32, ) -> Weight { + (455_835_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64remu(r: u32, ) -> Weight { - (74_130_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64remu(_r: u32, ) -> Weight { + (453_139_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64and(r: u32, ) -> Weight { - (74_071_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64and(_r: u32, ) -> Weight { + (736_267_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64or(r: u32, ) -> Weight { - (74_201_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64or(_r: u32, ) -> Weight { + (503_055_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64xor(r: u32, ) -> Weight { - (74_241_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64xor(_r: u32, ) -> Weight { + (444_332_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shl(r: u32, ) -> Weight { - (74_331_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shl(_r: u32, ) -> Weight { + (450_805_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shrs(r: u32, ) -> Weight { - (73_674_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shrs(_r: u32, ) -> Weight { + (586_362_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shru(r: u32, ) -> Weight { - (73_807_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shru(_r: u32, ) -> Weight { + (567_727_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotl(r: u32, ) -> Weight { - (73_725_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rotl(_r: u32, ) -> Weight { + (445_204_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotr(r: u32, ) -> Weight { - (73_755_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rotr(_r: u32, ) -> Weight { + (502_283_000 as Weight) } } @@ -1219,35 +982,28 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_654_000 as Weight) + (60_535_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. - fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_564_000 as Weight) - // Standard Error: 0 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + fn on_initialize_per_trie_key(_k: u32, ) -> Weight { + (1_395_626_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) + .saturating_add(RocksDbWeight::get().writes(1025 as Weight)) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 1024]`. - fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 5_000 - .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) + /// The range of component `q` is `[0, 128]`. + fn on_initialize_per_queue_item(_q: u32, ) -> Weight { + (367_817_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Contracts PristineCode (r:1 w:0) // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn reinstrument(c: u32, ) -> Weight { - (19_016_000 as Weight) - // Standard Error: 0 - .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) + fn reinstrument(_c: u32, ) -> Weight { + (3_387_824_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1256,10 +1012,8 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. - fn call_with_code_per_byte(c: u32, ) -> Weight { - (205_194_000 as Weight) - // Standard Error: 0 - .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) + fn call_with_code_per_byte(_c: u32, ) -> Weight { + (7_665_045_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1273,9 +1027,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (288_487_000 as Weight) + (553_360_000 as Weight) // Standard Error: 0 - .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((132_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1288,10 +1042,8 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. - fn instantiate(s: u32, ) -> Weight { - (186_136_000 as Weight) - // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) + fn instantiate(_s: u32, ) -> Weight { + (2_235_439_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } @@ -1300,7 +1052,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (149_232_000 as Weight) + (208_084_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1308,10 +1060,8 @@ impl WeightInfo for () { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn upload_code(c: u32, ) -> Weight { - (51_721_000 as Weight) - // Standard Error: 0 - .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) + fn upload_code(_c: u32, ) -> Weight { + (3_784_987_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1319,14 +1069,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (30_016_000 as Weight) + (56_286_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_192_000 as Weight) + (67_828_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1335,10 +1085,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller(r: u32, ) -> Weight { - (206_405_000 as Weight) - // Standard Error: 112_000 - .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) + fn seal_caller(_r: u32, ) -> Weight { + (1_596_127_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1347,12 +1095,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_is_contract(r: u32, ) -> Weight { - (106_220_000 as Weight) - // Standard Error: 710_000 - .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_is_contract(_r: u32, ) -> Weight { + (9_613_129_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1360,12 +1105,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_code_hash(r: u32, ) -> Weight { - (104_498_000 as Weight) - // Standard Error: 633_000 - .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_code_hash(_r: u32, ) -> Weight { + (11_589_537_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1373,10 +1115,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_own_code_hash(r: u32, ) -> Weight { - (208_696_000 as Weight) - // Standard Error: 101_000 - .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) + fn seal_own_code_hash(_r: u32, ) -> Weight { + (1_440_992_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1385,10 +1125,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller_is_origin(r: u32, ) -> Weight { - (205_612_000 as Weight) - // Standard Error: 68_000 - .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) + fn seal_caller_is_origin(_r: u32, ) -> Weight { + (529_213_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1397,10 +1135,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_address(r: u32, ) -> Weight { - (206_947_000 as Weight) - // Standard Error: 107_000 - .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) + fn seal_address(_r: u32, ) -> Weight { + (1_363_585_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1409,10 +1145,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas_left(r: u32, ) -> Weight { - (208_692_000 as Weight) - // Standard Error: 109_000 - .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) + fn seal_gas_left(_r: u32, ) -> Weight { + (1_427_737_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1421,10 +1155,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_balance(r: u32, ) -> Weight { - (209_811_000 as Weight) - // Standard Error: 208_000 - .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) + fn seal_balance(_r: u32, ) -> Weight { + (3_781_411_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1433,10 +1165,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_value_transferred(r: u32, ) -> Weight { - (207_406_000 as Weight) - // Standard Error: 117_000 - .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) + fn seal_value_transferred(_r: u32, ) -> Weight { + (1_572_663_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1445,10 +1175,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_minimum_balance(r: u32, ) -> Weight { - (209_260_000 as Weight) - // Standard Error: 130_000 - .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) + fn seal_minimum_balance(_r: u32, ) -> Weight { + (1_441_153_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1457,10 +1185,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_block_number(r: u32, ) -> Weight { - (206_448_000 as Weight) - // Standard Error: 95_000 - .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) + fn seal_block_number(_r: u32, ) -> Weight { + (1_645_099_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1469,10 +1195,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_now(r: u32, ) -> Weight { - (206_969_000 as Weight) - // Standard Error: 116_000 - .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) + fn seal_now(_r: u32, ) -> Weight { + (1_427_156_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1482,10 +1206,8 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_weight_to_fee(r: u32, ) -> Weight { - (211_611_000 as Weight) - // Standard Error: 175_000 - .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) + fn seal_weight_to_fee(_r: u32, ) -> Weight { + (3_212_693_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1494,10 +1216,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas(r: u32, ) -> Weight { - (134_484_000 as Weight) - // Standard Error: 57_000 - .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) + fn seal_gas(_r: u32, ) -> Weight { + (695_318_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1506,10 +1226,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_input(r: u32, ) -> Weight { - (208_556_000 as Weight) - // Standard Error: 125_000 - .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) + fn seal_input(_r: u32, ) -> Weight { + (1_362_093_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1518,10 +1236,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_input_per_kb(n: u32, ) -> Weight { - (268_886_000 as Weight) - // Standard Error: 4_000 - .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) + fn seal_input_per_kb(_n: u32, ) -> Weight { + (12_114_734_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1531,7 +1247,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (203_591_000 as Weight) + (229_184_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1540,10 +1256,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_return_per_kb(n: u32, ) -> Weight { - (204_258_000 as Weight) - // Standard Error: 0 - .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) + fn seal_return_per_kb(_n: u32, ) -> Weight { + (685_240_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1554,14 +1268,10 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { - (206_625_000 as Weight) - // Standard Error: 672_000 - .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(r as Weight))) + fn seal_terminate(_r: u32, ) -> Weight { + (565_712_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(8 as Weight)) + .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) @@ -1569,10 +1279,8 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_random(r: u32, ) -> Weight { - (208_866_000 as Weight) - // Standard Error: 164_000 - .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) + fn seal_random(_r: u32, ) -> Weight { + (4_464_396_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1581,10 +1289,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_deposit_event(r: u32, ) -> Weight { - (220_860_000 as Weight) - // Standard Error: 209_000 - .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) + fn seal_deposit_event(_r: u32, ) -> Weight { + (7_365_056_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1592,15 +1298,15 @@ impl WeightInfo for () { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:80 w:80) + // Storage: System EventTopics (r:320 w:320) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (439_782_000 as Weight) - // Standard Error: 1_643_000 - .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 323_000 - .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) + (696_249_000 as Weight) + // Standard Error: 26_125_000 + .saturating_add((355_680_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 6_531_000 + .saturating_add((75_648_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1611,168 +1317,116 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_debug_message(r: u32, ) -> Weight { - (140_280_000 as Weight) - // Standard Error: 82_000 - .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) + fn seal_debug_message(_r: u32, ) -> Weight { + (939_782_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_set_storage(r: u32, ) -> Weight { - (161_247_000 as Weight) - // Standard Error: 883_000 - .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_set_storage(_r: u32, ) -> Weight { + (5_932_179_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(804 as Weight)) + .saturating_add(RocksDbWeight::get().writes(801 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (529_247_000 as Weight) - // Standard Error: 2_745_000 - .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(55 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(RocksDbWeight::get().writes(53 as Weight)) - .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { + (1_896_617_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(85 as Weight)) + .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (529_812_000 as Weight) - // Standard Error: 2_513_000 - .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(55 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(RocksDbWeight::get().writes(53 as Weight)) - .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { + (1_835_661_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(85 as Weight)) + .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_clear_storage(r: u32, ) -> Weight { - (184_803_000 as Weight) - // Standard Error: 733_000 - .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(5 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_clear_storage(_r: u32, ) -> Weight { + (6_061_565_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(805 as Weight)) + .saturating_add(RocksDbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (500_958_000 as Weight) - // Standard Error: 2_980_000 - .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(55 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(RocksDbWeight::get().writes(52 as Weight)) - .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { + (1_301_468_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(85 as Weight)) + .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_get_storage(r: u32, ) -> Weight { - (177_682_000 as Weight) - // Standard Error: 743_000 - .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_get_storage(_r: u32, ) -> Weight { + (4_602_437_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(804 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (465_285_000 as Weight) - // Standard Error: 2_599_000 - .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(55 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + fn seal_get_storage_per_kb(_n: u32, ) -> Weight { + (2_195_203_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(84 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_contains_storage(r: u32, ) -> Weight { - (179_118_000 as Weight) - // Standard Error: 572_000 - .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(4 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + fn seal_contains_storage(_r: u32, ) -> Weight { + (4_224_010_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(804 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (423_056_000 as Weight) - // Standard Error: 2_037_000 - .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(54 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { + (1_655_640_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(84 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_take_storage(r: u32, ) -> Weight { - (188_884_000 as Weight) - // Standard Error: 761_000 - .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(5 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_take_storage(_r: u32, ) -> Weight { + (6_058_890_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(805 as Weight)) + .saturating_add(RocksDbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (532_408_000 as Weight) - // Standard Error: 3_348_000 - .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) - .saturating_add(RocksDbWeight::get().reads(55 as Weight)) - .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) - .saturating_add(RocksDbWeight::get().writes(53 as Weight)) - .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) + fn seal_take_storage_per_kb(_n: u32, ) -> Weight { + (2_502_135_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(85 as Weight)) + .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_transfer(r: u32, ) -> Weight { - (127_181_000 as Weight) - // Standard Error: 1_495_000 - .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(5 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(2 as Weight)) - .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_transfer(_r: u32, ) -> Weight { + (45_696_448_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1602 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 3_803_000 - .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(5 as Weight)) - .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) + fn seal_call(_r: u32, ) -> Weight { + (376_028_506_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1601 as Weight)) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_delegate_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 6_045_000 - .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) + fn seal_delegate_call(_r: u32, ) -> Weight { + (372_966_148_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1539 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1782,11 +1436,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (9_196_444_000 as Weight) - // Standard Error: 20_486_000 - .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 8_000 - .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) + (10_382_856_000 as Weight) + // Standard Error: 1_481_263_000 + .saturating_add((2_370_009_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 1_446_000 + .saturating_add((14_317_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1797,16 +1451,12 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:80 w:80) + // Storage: Contracts OwnerInfoOf (r:1600 w:1600) /// The range of component `r` is `[0, 20]`. - fn seal_instantiate(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 36_253_000 - .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads(6 as Weight)) - .saturating_add(RocksDbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes(3 as Weight)) - .saturating_add(RocksDbWeight::get().writes((320 as Weight).saturating_mul(r as Weight))) + fn seal_instantiate(_r: u32, ) -> Weight { + (597_646_146_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(6406 as Weight)) + .saturating_add(RocksDbWeight::get().writes(6404 as Weight)) } // Storage: System Account (r:81 w:81) // Storage: Contracts ContractInfoOf (r:81 w:81) @@ -1817,11 +1467,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (12_282_498_000 as Weight) - // Standard Error: 48_112_000 - .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) + (19_461_995_000 as Weight) + // Standard Error: 567_411_000 + .saturating_add((2_108_094_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 591_000 + .saturating_add((116_429_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1832,10 +1482,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_959_000 as Weight) - // Standard Error: 142_000 - .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_sha2_256(_r: u32, ) -> Weight { + (1_287_021_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1844,10 +1492,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (349_915_000 as Weight) - // Standard Error: 40_000 - .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { + (65_956_893_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1856,10 +1502,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_keccak_256(r: u32, ) -> Weight { - (209_219_000 as Weight) - // Standard Error: 157_000 - .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_keccak_256(_r: u32, ) -> Weight { + (1_840_932_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1868,10 +1512,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (208_860_000 as Weight) - // Standard Error: 25_000 - .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { + (223_702_744_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1880,10 +1522,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_256(r: u32, ) -> Weight { - (206_165_000 as Weight) - // Standard Error: 138_000 - .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_blake2_256(_r: u32, ) -> Weight { + (1_759_327_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1892,10 +1532,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (255_955_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { + (88_291_674_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1904,10 +1542,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_128(r: u32, ) -> Weight { - (208_153_000 as Weight) - // Standard Error: 140_000 - .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) + fn seal_hash_blake2_128(_r: u32, ) -> Weight { + (1_597_200_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1916,10 +1552,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (278_368_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) + fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { + (91_762_907_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1928,10 +1562,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_recover(r: u32, ) -> Weight { - (331_955_000 as Weight) - // Standard Error: 1_155_000 - .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) + fn seal_ecdsa_recover(_r: u32, ) -> Weight { + (69_727_379_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1940,10 +1572,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (207_838_000 as Weight) - // Standard Error: 783_000 - .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) + fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { + (41_605_403_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1951,319 +1581,215 @@ impl WeightInfo for () { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: Contracts OwnerInfoOf (r:16 w:16) + // Storage: Contracts OwnerInfoOf (r:1536 w:1536) /// The range of component `r` is `[0, 20]`. - fn seal_set_code_hash(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 1_567_000 - .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) - .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) - .saturating_add(RocksDbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) + fn seal_set_code_hash(_r: u32, ) -> Weight { + (22_988_538_000 as Weight) + .saturating_add(RocksDbWeight::get().reads(1540 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1537 as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64const(r: u32, ) -> Weight { - (73_955_000 as Weight) - // Standard Error: 1_000 - .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64const(_r: u32, ) -> Weight { + (350_104_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64load(r: u32, ) -> Weight { - (74_057_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64load(_r: u32, ) -> Weight { + (1_344_069_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64store(r: u32, ) -> Weight { - (74_137_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64store(_r: u32, ) -> Weight { + (742_519_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_select(r: u32, ) -> Weight { - (73_844_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) + fn instr_select(_r: u32, ) -> Weight { + (483_747_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_if(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) + fn instr_if(_r: u32, ) -> Weight { + (360_153_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br(r: u32, ) -> Weight { - (73_924_000 as Weight) - // Standard Error: 3_000 - .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) + fn instr_br(_r: u32, ) -> Weight { + (246_207_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br_if(r: u32, ) -> Weight { - (73_574_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) + fn instr_br_if(_r: u32, ) -> Weight { + (561_546_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_br_table(r: u32, ) -> Weight { - (73_343_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) + fn instr_br_table(_r: u32, ) -> Weight { + (450_675_000 as Weight) } /// The range of component `e` is `[1, 256]`. - fn instr_br_table_per_entry(e: u32, ) -> Weight { - (76_267_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) + fn instr_br_table_per_entry(_e: u32, ) -> Weight { + (662_968_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_call(r: u32, ) -> Weight { - (74_877_000 as Weight) - // Standard Error: 12_000 - .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) + fn instr_call(_r: u32, ) -> Weight { + (595_249_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_call_indirect(r: u32, ) -> Weight { - (88_665_000 as Weight) - // Standard Error: 20_000 - .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) + fn instr_call_indirect(_r: u32, ) -> Weight { + (754_822_000 as Weight) } /// The range of component `p` is `[0, 128]`. - fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (98_600_000 as Weight) - // Standard Error: 2_000 - .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) + fn instr_call_indirect_per_param(_p: u32, ) -> Weight { + (410_769_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_get(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_get(_r: u32, ) -> Weight { + (335_988_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_set(r: u32, ) -> Weight { - (74_329_000 as Weight) - // Standard Error: 1_000 - .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_set(_r: u32, ) -> Weight { + (353_731_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_local_tee(r: u32, ) -> Weight { - (74_612_000 as Weight) - // Standard Error: 1_000 - .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) + fn instr_local_tee(_r: u32, ) -> Weight { + (383_578_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_global_get(r: u32, ) -> Weight { - (76_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) + fn instr_global_get(_r: u32, ) -> Weight { + (390_771_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_global_set(r: u32, ) -> Weight { - (76_979_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) + fn instr_global_set(_r: u32, ) -> Weight { + (379_359_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_memory_current(r: u32, ) -> Weight { - (74_370_000 as Weight) - // Standard Error: 3_000 - .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) + fn instr_memory_current(_r: u32, ) -> Weight { + (351_166_000 as Weight) } /// The range of component `r` is `[0, 1]`. - fn instr_memory_grow(r: u32, ) -> Weight { - (73_584_000 as Weight) - // Standard Error: 353_000 - .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) + fn instr_memory_grow(_r: u32, ) -> Weight { + (819_094_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64clz(r: u32, ) -> Weight { - (74_206_000 as Weight) - // Standard Error: 1_000 - .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64clz(_r: u32, ) -> Weight { + (394_819_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ctz(r: u32, ) -> Weight { - (73_992_000 as Weight) - // Standard Error: 1_000 - .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ctz(_r: u32, ) -> Weight { + (733_361_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64popcnt(r: u32, ) -> Weight { - (73_985_000 as Weight) - // Standard Error: 2_000 - .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64popcnt(_r: u32, ) -> Weight { + (391_542_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eqz(r: u32, ) -> Weight { - (74_117_000 as Weight) - // Standard Error: 4_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64eqz(_r: u32, ) -> Weight { + (422_411_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendsi32(r: u32, ) -> Weight { - (73_981_000 as Weight) - // Standard Error: 1_000 - .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64extendsi32(_r: u32, ) -> Weight { + (393_046_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendui32(r: u32, ) -> Weight { - (74_104_000 as Weight) - // Standard Error: 3_000 - .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64extendui32(_r: u32, ) -> Weight { + (392_635_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_293_000 as Weight) - // Standard Error: 3_000 - .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) + fn instr_i32wrapi64(_r: u32, ) -> Weight { + (395_780_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eq(r: u32, ) -> Weight { - (74_055_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64eq(_r: u32, ) -> Weight { + (441_828_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ne(r: u32, ) -> Weight { - (73_710_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ne(_r: u32, ) -> Weight { + (436_458_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64lts(r: u32, ) -> Weight { - (73_917_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64lts(_r: u32, ) -> Weight { + (462_748_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ltu(r: u32, ) -> Weight { - (74_048_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ltu(_r: u32, ) -> Weight { + (433_412_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gts(r: u32, ) -> Weight { - (74_029_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64gts(_r: u32, ) -> Weight { + (442_600_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gtu(r: u32, ) -> Weight { - (74_267_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64gtu(_r: u32, ) -> Weight { + (917_861_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64les(r: u32, ) -> Weight { - (73_952_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64les(_r: u32, ) -> Weight { + (503_375_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64leu(r: u32, ) -> Weight { - (73_851_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64leu(_r: u32, ) -> Weight { + (439_303_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ges(r: u32, ) -> Weight { - (74_034_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64ges(_r: u32, ) -> Weight { + (434_715_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64geu(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64geu(_r: u32, ) -> Weight { + (439_524_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64add(r: u32, ) -> Weight { - (74_000_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64add(_r: u32, ) -> Weight { + (444_864_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64sub(r: u32, ) -> Weight { - (73_883_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64sub(_r: u32, ) -> Weight { + (525_086_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64mul(r: u32, ) -> Weight { - (74_216_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64mul(_r: u32, ) -> Weight { + (448_361_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divs(r: u32, ) -> Weight { - (73_989_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64divs(_r: u32, ) -> Weight { + (464_571_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divu(r: u32, ) -> Weight { - (73_857_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64divu(_r: u32, ) -> Weight { + (655_434_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rems(r: u32, ) -> Weight { - (73_801_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rems(_r: u32, ) -> Weight { + (455_835_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64remu(r: u32, ) -> Weight { - (74_130_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64remu(_r: u32, ) -> Weight { + (453_139_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64and(r: u32, ) -> Weight { - (74_071_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64and(_r: u32, ) -> Weight { + (736_267_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64or(r: u32, ) -> Weight { - (74_201_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64or(_r: u32, ) -> Weight { + (503_055_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64xor(r: u32, ) -> Weight { - (74_241_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64xor(_r: u32, ) -> Weight { + (444_332_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shl(r: u32, ) -> Weight { - (74_331_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shl(_r: u32, ) -> Weight { + (450_805_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shrs(r: u32, ) -> Weight { - (73_674_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shrs(_r: u32, ) -> Weight { + (586_362_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shru(r: u32, ) -> Weight { - (73_807_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64shru(_r: u32, ) -> Weight { + (567_727_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotl(r: u32, ) -> Weight { - (73_725_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rotl(_r: u32, ) -> Weight { + (445_204_000 as Weight) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotr(r: u32, ) -> Weight { - (73_755_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + fn instr_i64rotr(_r: u32, ) -> Weight { + (502_283_000 as Weight) } } From f7b51d9f59c2bdb048061e1cfa50d0a82aeb6776 Mon Sep 17 00:00:00 2001 From: Alexander Gryaznov Date: Wed, 29 Jun 2022 23:45:38 +0300 Subject: [PATCH 2/7] update other *storate_per_kb benchmarks --- frame/contracts/src/benchmarking/mod.rs | 20 +- frame/contracts/src/weights.rs | 500 ++++++++++++------------ 2 files changed, 261 insertions(+), 259 deletions(-) diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index 578f70a4750b6..69064dc9ce51f 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -1043,12 +1043,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) @@ -1140,12 +1142,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) @@ -1248,12 +1252,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); @@ -1344,12 +1350,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); @@ -1452,12 +1460,14 @@ benchmarks! { for key in keys { Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?, + &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; + // Whitelist the key from further DB operations + frame_benchmarking::benchmarking::add_to_whitelist(key.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 95cef815cfb47..65e6e2fb65a82 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -166,20 +166,20 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (60_535_000 as Weight) + (9_568_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(_k: u32, ) -> Weight { - (1_395_626_000 as Weight) + (1_262_038_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1025 as Weight)) } // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(_q: u32, ) -> Weight { - (367_817_000 as Weight) + (378_588_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -187,7 +187,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(_c: u32, ) -> Weight { - (3_387_824_000 as Weight) + (3_294_487_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -197,7 +197,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(_c: u32, ) -> Weight { - (7_665_045_000 as Weight) + (7_563_892_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -211,9 +211,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (553_360_000 as Weight) - // Standard Error: 0 - .saturating_add((132_000 as Weight).saturating_mul(c as Weight)) + (926_268_000 as Weight) + // Standard Error: 1_000 + .saturating_add((125_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -227,7 +227,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(_s: u32, ) -> Weight { - (2_235_439_000 as Weight) + (2_479_613_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -236,7 +236,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (208_084_000 as Weight) + (173_611_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -245,7 +245,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(_c: u32, ) -> Weight { - (3_784_987_000 as Weight) + (3_908_500_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -253,14 +253,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (56_286_000 as Weight) + (57_235_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (67_828_000 as Weight) + (51_265_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -270,7 +270,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(_r: u32, ) -> Weight { - (1_596_127_000 as Weight) + (1_355_611_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -280,7 +280,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(_r: u32, ) -> Weight { - (9_613_129_000 as Weight) + (9_874_495_000 as Weight) .saturating_add(T::DbWeight::get().reads(1604 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -290,7 +290,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(_r: u32, ) -> Weight { - (11_589_537_000 as Weight) + (11_749_924_000 as Weight) .saturating_add(T::DbWeight::get().reads(1604 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -300,7 +300,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(_r: u32, ) -> Weight { - (1_440_992_000 as Weight) + (1_468_909_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -310,7 +310,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(_r: u32, ) -> Weight { - (529_213_000 as Weight) + (665_638_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -320,7 +320,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(_r: u32, ) -> Weight { - (1_363_585_000 as Weight) + (1_468_618_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -330,7 +330,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(_r: u32, ) -> Weight { - (1_427_737_000 as Weight) + (1_332_718_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -340,7 +340,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(_r: u32, ) -> Weight { - (3_781_411_000 as Weight) + (3_959_363_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -350,7 +350,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(_r: u32, ) -> Weight { - (1_572_663_000 as Weight) + (1_632_330_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -360,7 +360,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(_r: u32, ) -> Weight { - (1_441_153_000 as Weight) + (1_605_862_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -370,7 +370,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(_r: u32, ) -> Weight { - (1_645_099_000 as Weight) + (1_277_026_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -380,7 +380,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(_r: u32, ) -> Weight { - (1_427_156_000 as Weight) + (1_767_881_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -391,7 +391,7 @@ impl WeightInfo for SubstrateWeight { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(_r: u32, ) -> Weight { - (3_212_693_000 as Weight) + (3_189_323_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -401,7 +401,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(_r: u32, ) -> Weight { - (695_318_000 as Weight) + (825_052_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -411,7 +411,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(_r: u32, ) -> Weight { - (1_362_093_000 as Weight) + (1_182_271_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -421,7 +421,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(_n: u32, ) -> Weight { - (12_114_734_000 as Weight) + (15_286_888_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -431,7 +431,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (229_184_000 as Weight) + (221_188_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -441,7 +441,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(_n: u32, ) -> Weight { - (685_240_000 as Weight) + (614_864_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -453,7 +453,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(_r: u32, ) -> Weight { - (565_712_000 as Weight) + (304_792_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -464,7 +464,7 @@ impl WeightInfo for SubstrateWeight { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(_r: u32, ) -> Weight { - (4_464_396_000 as Weight) + (4_309_890_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -474,7 +474,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(_r: u32, ) -> Weight { - (7_365_056_000 as Weight) + (7_190_083_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -486,11 +486,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (696_249_000 as Weight) - // Standard Error: 26_125_000 - .saturating_add((355_680_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 6_531_000 - .saturating_add((75_648_000 as Weight).saturating_mul(n as Weight)) + (617_288_000 as Weight) + // Standard Error: 65_449_000 + .saturating_add((376_229_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 16_362_000 + .saturating_add((86_945_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -502,84 +502,84 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(_r: u32, ) -> Weight { - (939_782_000 as Weight) + (967_675_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(_r: u32, ) -> Weight { - (5_932_179_000 as Weight) + (6_184_548_000 as Weight) .saturating_add(T::DbWeight::get().reads(804 as Weight)) .saturating_add(T::DbWeight::get().writes(801 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { - (1_896_617_000 as Weight) + (1_470_202_000 as Weight) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { - (1_835_661_000 as Weight) + (1_393_641_000 as Weight) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(_r: u32, ) -> Weight { - (6_061_565_000 as Weight) + (6_002_983_000 as Weight) .saturating_add(T::DbWeight::get().reads(805 as Weight)) .saturating_add(T::DbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { - (1_301_468_000 as Weight) + (1_283_708_000 as Weight) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(_r: u32, ) -> Weight { - (4_602_437_000 as Weight) + (4_880_483_000 as Weight) .saturating_add(T::DbWeight::get().reads(804 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(_n: u32, ) -> Weight { - (2_195_203_000 as Weight) + (2_418_241_000 as Weight) .saturating_add(T::DbWeight::get().reads(84 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(_r: u32, ) -> Weight { - (4_224_010_000 as Weight) + (4_638_937_000 as Weight) .saturating_add(T::DbWeight::get().reads(804 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { - (1_655_640_000 as Weight) + (1_667_025_000 as Weight) .saturating_add(T::DbWeight::get().reads(84 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(_r: u32, ) -> Weight { - (6_058_890_000 as Weight) + (6_056_331_000 as Weight) .saturating_add(T::DbWeight::get().reads(805 as Weight)) .saturating_add(T::DbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(_n: u32, ) -> Weight { - (2_502_135_000 as Weight) + (2_525_108_000 as Weight) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().writes(83 as Weight)) } @@ -589,7 +589,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(_r: u32, ) -> Weight { - (45_696_448_000 as Weight) + (44_625_047_000 as Weight) .saturating_add(T::DbWeight::get().reads(1605 as Weight)) .saturating_add(T::DbWeight::get().writes(1602 as Weight)) } @@ -599,7 +599,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(_r: u32, ) -> Weight { - (376_028_506_000 as Weight) + (384_701_843_000 as Weight) .saturating_add(T::DbWeight::get().reads(1605 as Weight)) .saturating_add(T::DbWeight::get().writes(1601 as Weight)) } @@ -609,7 +609,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(_r: u32, ) -> Weight { - (372_966_148_000 as Weight) + (402_924_565_000 as Weight) .saturating_add(T::DbWeight::get().reads(1539 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -620,11 +620,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (10_382_856_000 as Weight) - // Standard Error: 1_481_263_000 - .saturating_add((2_370_009_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 1_446_000 - .saturating_add((14_317_000 as Weight).saturating_mul(c as Weight)) + (13_840_652_000 as Weight) + // Standard Error: 607_000 + .saturating_add((13_492_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -638,7 +636,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1600 w:1600) /// The range of component `r` is `[0, 20]`. fn seal_instantiate(_r: u32, ) -> Weight { - (597_646_146_000 as Weight) + (771_627_239_000 as Weight) .saturating_add(T::DbWeight::get().reads(6406 as Weight)) .saturating_add(T::DbWeight::get().writes(6404 as Weight)) } @@ -651,11 +649,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (19_461_995_000 as Weight) - // Standard Error: 567_411_000 - .saturating_add((2_108_094_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 591_000 - .saturating_add((116_429_000 as Weight).saturating_mul(s as Weight)) + (28_741_275_000 as Weight) + // Standard Error: 4_071_000 + .saturating_add((124_409_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -667,7 +663,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(_r: u32, ) -> Weight { - (1_287_021_000 as Weight) + (1_562_984_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -677,7 +673,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { - (65_956_893_000 as Weight) + (65_617_887_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -687,7 +683,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(_r: u32, ) -> Weight { - (1_840_932_000 as Weight) + (1_819_758_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -697,7 +693,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { - (223_702_744_000 as Weight) + (223_419_825_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -707,7 +703,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(_r: u32, ) -> Weight { - (1_759_327_000 as Weight) + (1_539_681_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -717,7 +713,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { - (88_291_674_000 as Weight) + (90_790_715_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -727,7 +723,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(_r: u32, ) -> Weight { - (1_597_200_000 as Weight) + (1_509_545_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -737,7 +733,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { - (91_762_907_000 as Weight) + (93_120_917_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -747,7 +743,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(_r: u32, ) -> Weight { - (69_727_379_000 as Weight) + (69_638_187_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -757,7 +753,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { - (41_605_403_000 as Weight) + (43_635_487_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -768,213 +764,213 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1536 w:1536) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(_r: u32, ) -> Weight { - (22_988_538_000 as Weight) + (23_168_663_000 as Weight) .saturating_add(T::DbWeight::get().reads(1540 as Weight)) .saturating_add(T::DbWeight::get().writes(1537 as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(_r: u32, ) -> Weight { - (350_104_000 as Weight) + (364_092_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(_r: u32, ) -> Weight { - (1_344_069_000 as Weight) + (739_595_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(_r: u32, ) -> Weight { - (742_519_000 as Weight) + (733_373_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_select(_r: u32, ) -> Weight { - (483_747_000 as Weight) + (497_298_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_if(_r: u32, ) -> Weight { - (360_153_000 as Weight) + (373_559_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br(_r: u32, ) -> Weight { - (246_207_000 as Weight) + (259_078_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(_r: u32, ) -> Weight { - (561_546_000 as Weight) + (920_549_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(_r: u32, ) -> Weight { - (450_675_000 as Weight) + (459_838_000 as Weight) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(_e: u32, ) -> Weight { - (662_968_000 as Weight) + (273_214_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_call(_r: u32, ) -> Weight { - (595_249_000 as Weight) + (617_229_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(_r: u32, ) -> Weight { - (754_822_000 as Weight) + (788_957_000 as Weight) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(_p: u32, ) -> Weight { - (410_769_000 as Weight) + (417_160_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(_r: u32, ) -> Weight { - (335_988_000 as Weight) + (347_291_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(_r: u32, ) -> Weight { - (353_731_000 as Weight) + (350_537_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(_r: u32, ) -> Weight { - (383_578_000 as Weight) + (398_315_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(_r: u32, ) -> Weight { - (390_771_000 as Weight) + (382_907_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(_r: u32, ) -> Weight { - (379_359_000 as Weight) + (543_052_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(_r: u32, ) -> Weight { - (351_166_000 as Weight) + (363_331_000 as Weight) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(_r: u32, ) -> Weight { - (819_094_000 as Weight) + (819_833_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(_r: u32, ) -> Weight { - (394_819_000 as Weight) + (609_846_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(_r: u32, ) -> Weight { - (733_361_000 as Weight) + (403_935_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(_r: u32, ) -> Weight { - (391_542_000 as Weight) + (401_491_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(_r: u32, ) -> Weight { - (422_411_000 as Weight) + (404_186_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(_r: u32, ) -> Weight { - (393_046_000 as Weight) + (395_310_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(_r: u32, ) -> Weight { - (392_635_000 as Weight) + (408_384_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(_r: u32, ) -> Weight { - (395_780_000 as Weight) + (451_383_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(_r: u32, ) -> Weight { - (441_828_000 as Weight) + (557_178_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(_r: u32, ) -> Weight { - (436_458_000 as Weight) + (469_727_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(_r: u32, ) -> Weight { - (462_748_000 as Weight) + (617_379_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(_r: u32, ) -> Weight { - (433_412_000 as Weight) + (551_588_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(_r: u32, ) -> Weight { - (442_600_000 as Weight) + (745_516_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(_r: u32, ) -> Weight { - (917_861_000 as Weight) + (456_072_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(_r: u32, ) -> Weight { - (503_375_000 as Weight) + (613_042_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(_r: u32, ) -> Weight { - (439_303_000 as Weight) + (442_827_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(_r: u32, ) -> Weight { - (434_715_000 as Weight) + (452_836_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(_r: u32, ) -> Weight { - (439_524_000 as Weight) + (447_085_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(_r: u32, ) -> Weight { - (444_864_000 as Weight) + (528_286_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(_r: u32, ) -> Weight { - (525_086_000 as Weight) + (446_344_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(_r: u32, ) -> Weight { - (448_361_000 as Weight) + (497_228_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(_r: u32, ) -> Weight { - (464_571_000 as Weight) + (446_634_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(_r: u32, ) -> Weight { - (655_434_000 as Weight) + (456_814_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(_r: u32, ) -> Weight { - (455_835_000 as Weight) + (523_195_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(_r: u32, ) -> Weight { - (453_139_000 as Weight) + (453_948_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(_r: u32, ) -> Weight { - (736_267_000 as Weight) + (462_714_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(_r: u32, ) -> Weight { - (503_055_000 as Weight) + (447_055_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(_r: u32, ) -> Weight { - (444_332_000 as Weight) + (452_235_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(_r: u32, ) -> Weight { - (450_805_000 as Weight) + (549_615_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(_r: u32, ) -> Weight { - (586_362_000 as Weight) + (452_415_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(_r: u32, ) -> Weight { - (567_727_000 as Weight) + (447_215_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(_r: u32, ) -> Weight { - (445_204_000 as Weight) + (451_193_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(_r: u32, ) -> Weight { - (502_283_000 as Weight) + (448_458_000 as Weight) } } @@ -982,20 +978,20 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (60_535_000 as Weight) + (9_568_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(_k: u32, ) -> Weight { - (1_395_626_000 as Weight) + (1_262_038_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1025 as Weight)) } // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(_q: u32, ) -> Weight { - (367_817_000 as Weight) + (378_588_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1003,7 +999,7 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(_c: u32, ) -> Weight { - (3_387_824_000 as Weight) + (3_294_487_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1013,7 +1009,7 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(_c: u32, ) -> Weight { - (7_665_045_000 as Weight) + (7_563_892_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1027,9 +1023,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (553_360_000 as Weight) - // Standard Error: 0 - .saturating_add((132_000 as Weight).saturating_mul(c as Weight)) + (926_268_000 as Weight) + // Standard Error: 1_000 + .saturating_add((125_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1043,7 +1039,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(_s: u32, ) -> Weight { - (2_235_439_000 as Weight) + (2_479_613_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } @@ -1052,7 +1048,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (208_084_000 as Weight) + (173_611_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1061,7 +1057,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(_c: u32, ) -> Weight { - (3_784_987_000 as Weight) + (3_908_500_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1069,14 +1065,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (56_286_000 as Weight) + (57_235_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (67_828_000 as Weight) + (51_265_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1086,7 +1082,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(_r: u32, ) -> Weight { - (1_596_127_000 as Weight) + (1_355_611_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1096,7 +1092,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(_r: u32, ) -> Weight { - (9_613_129_000 as Weight) + (9_874_495_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1106,7 +1102,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(_r: u32, ) -> Weight { - (11_589_537_000 as Weight) + (11_749_924_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1116,7 +1112,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(_r: u32, ) -> Weight { - (1_440_992_000 as Weight) + (1_468_909_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1126,7 +1122,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(_r: u32, ) -> Weight { - (529_213_000 as Weight) + (665_638_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1136,7 +1132,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(_r: u32, ) -> Weight { - (1_363_585_000 as Weight) + (1_468_618_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1146,7 +1142,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(_r: u32, ) -> Weight { - (1_427_737_000 as Weight) + (1_332_718_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1156,7 +1152,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(_r: u32, ) -> Weight { - (3_781_411_000 as Weight) + (3_959_363_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1166,7 +1162,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(_r: u32, ) -> Weight { - (1_572_663_000 as Weight) + (1_632_330_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1176,7 +1172,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(_r: u32, ) -> Weight { - (1_441_153_000 as Weight) + (1_605_862_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1186,7 +1182,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(_r: u32, ) -> Weight { - (1_645_099_000 as Weight) + (1_277_026_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1196,7 +1192,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(_r: u32, ) -> Weight { - (1_427_156_000 as Weight) + (1_767_881_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1207,7 +1203,7 @@ impl WeightInfo for () { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(_r: u32, ) -> Weight { - (3_212_693_000 as Weight) + (3_189_323_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1217,7 +1213,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(_r: u32, ) -> Weight { - (695_318_000 as Weight) + (825_052_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1227,7 +1223,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(_r: u32, ) -> Weight { - (1_362_093_000 as Weight) + (1_182_271_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1237,7 +1233,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(_n: u32, ) -> Weight { - (12_114_734_000 as Weight) + (15_286_888_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1247,7 +1243,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (229_184_000 as Weight) + (221_188_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1257,7 +1253,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(_n: u32, ) -> Weight { - (685_240_000 as Weight) + (614_864_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1269,7 +1265,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(_r: u32, ) -> Weight { - (565_712_000 as Weight) + (304_792_000 as Weight) .saturating_add(RocksDbWeight::get().reads(8 as Weight)) .saturating_add(RocksDbWeight::get().writes(6 as Weight)) } @@ -1280,7 +1276,7 @@ impl WeightInfo for () { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(_r: u32, ) -> Weight { - (4_464_396_000 as Weight) + (4_309_890_000 as Weight) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1290,7 +1286,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(_r: u32, ) -> Weight { - (7_365_056_000 as Weight) + (7_190_083_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1302,11 +1298,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (696_249_000 as Weight) - // Standard Error: 26_125_000 - .saturating_add((355_680_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 6_531_000 - .saturating_add((75_648_000 as Weight).saturating_mul(n as Weight)) + (617_288_000 as Weight) + // Standard Error: 65_449_000 + .saturating_add((376_229_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 16_362_000 + .saturating_add((86_945_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1318,84 +1314,84 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(_r: u32, ) -> Weight { - (939_782_000 as Weight) + (967_675_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(_r: u32, ) -> Weight { - (5_932_179_000 as Weight) + (6_184_548_000 as Weight) .saturating_add(RocksDbWeight::get().reads(804 as Weight)) .saturating_add(RocksDbWeight::get().writes(801 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { - (1_896_617_000 as Weight) + (1_470_202_000 as Weight) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { - (1_835_661_000 as Weight) + (1_393_641_000 as Weight) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(_r: u32, ) -> Weight { - (6_061_565_000 as Weight) + (6_002_983_000 as Weight) .saturating_add(RocksDbWeight::get().reads(805 as Weight)) .saturating_add(RocksDbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { - (1_301_468_000 as Weight) + (1_283_708_000 as Weight) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(_r: u32, ) -> Weight { - (4_602_437_000 as Weight) + (4_880_483_000 as Weight) .saturating_add(RocksDbWeight::get().reads(804 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(_n: u32, ) -> Weight { - (2_195_203_000 as Weight) + (2_418_241_000 as Weight) .saturating_add(RocksDbWeight::get().reads(84 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(_r: u32, ) -> Weight { - (4_224_010_000 as Weight) + (4_638_937_000 as Weight) .saturating_add(RocksDbWeight::get().reads(804 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { - (1_655_640_000 as Weight) + (1_667_025_000 as Weight) .saturating_add(RocksDbWeight::get().reads(84 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(_r: u32, ) -> Weight { - (6_058_890_000 as Weight) + (6_056_331_000 as Weight) .saturating_add(RocksDbWeight::get().reads(805 as Weight)) .saturating_add(RocksDbWeight::get().writes(803 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(_n: u32, ) -> Weight { - (2_502_135_000 as Weight) + (2_525_108_000 as Weight) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().writes(83 as Weight)) } @@ -1405,7 +1401,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(_r: u32, ) -> Weight { - (45_696_448_000 as Weight) + (44_625_047_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) .saturating_add(RocksDbWeight::get().writes(1602 as Weight)) } @@ -1415,7 +1411,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(_r: u32, ) -> Weight { - (376_028_506_000 as Weight) + (384_701_843_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) .saturating_add(RocksDbWeight::get().writes(1601 as Weight)) } @@ -1425,7 +1421,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(_r: u32, ) -> Weight { - (372_966_148_000 as Weight) + (402_924_565_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1539 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1436,11 +1432,9 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (10_382_856_000 as Weight) - // Standard Error: 1_481_263_000 - .saturating_add((2_370_009_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 1_446_000 - .saturating_add((14_317_000 as Weight).saturating_mul(c as Weight)) + (13_840_652_000 as Weight) + // Standard Error: 607_000 + .saturating_add((13_492_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1454,7 +1448,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1600 w:1600) /// The range of component `r` is `[0, 20]`. fn seal_instantiate(_r: u32, ) -> Weight { - (597_646_146_000 as Weight) + (771_627_239_000 as Weight) .saturating_add(RocksDbWeight::get().reads(6406 as Weight)) .saturating_add(RocksDbWeight::get().writes(6404 as Weight)) } @@ -1467,11 +1461,9 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (19_461_995_000 as Weight) - // Standard Error: 567_411_000 - .saturating_add((2_108_094_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 591_000 - .saturating_add((116_429_000 as Weight).saturating_mul(s as Weight)) + (28_741_275_000 as Weight) + // Standard Error: 4_071_000 + .saturating_add((124_409_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1483,7 +1475,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(_r: u32, ) -> Weight { - (1_287_021_000 as Weight) + (1_562_984_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1493,7 +1485,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { - (65_956_893_000 as Weight) + (65_617_887_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1503,7 +1495,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(_r: u32, ) -> Weight { - (1_840_932_000 as Weight) + (1_819_758_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1513,7 +1505,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { - (223_702_744_000 as Weight) + (223_419_825_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1523,7 +1515,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(_r: u32, ) -> Weight { - (1_759_327_000 as Weight) + (1_539_681_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1533,7 +1525,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { - (88_291_674_000 as Weight) + (90_790_715_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1543,7 +1535,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(_r: u32, ) -> Weight { - (1_597_200_000 as Weight) + (1_509_545_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1553,7 +1545,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { - (91_762_907_000 as Weight) + (93_120_917_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1563,7 +1555,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(_r: u32, ) -> Weight { - (69_727_379_000 as Weight) + (69_638_187_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1573,7 +1565,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { - (41_605_403_000 as Weight) + (43_635_487_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1584,212 +1576,212 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1536 w:1536) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(_r: u32, ) -> Weight { - (22_988_538_000 as Weight) + (23_168_663_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1540 as Weight)) .saturating_add(RocksDbWeight::get().writes(1537 as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(_r: u32, ) -> Weight { - (350_104_000 as Weight) + (364_092_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(_r: u32, ) -> Weight { - (1_344_069_000 as Weight) + (739_595_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(_r: u32, ) -> Weight { - (742_519_000 as Weight) + (733_373_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_select(_r: u32, ) -> Weight { - (483_747_000 as Weight) + (497_298_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_if(_r: u32, ) -> Weight { - (360_153_000 as Weight) + (373_559_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br(_r: u32, ) -> Weight { - (246_207_000 as Weight) + (259_078_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(_r: u32, ) -> Weight { - (561_546_000 as Weight) + (920_549_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(_r: u32, ) -> Weight { - (450_675_000 as Weight) + (459_838_000 as Weight) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(_e: u32, ) -> Weight { - (662_968_000 as Weight) + (273_214_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_call(_r: u32, ) -> Weight { - (595_249_000 as Weight) + (617_229_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(_r: u32, ) -> Weight { - (754_822_000 as Weight) + (788_957_000 as Weight) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(_p: u32, ) -> Weight { - (410_769_000 as Weight) + (417_160_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(_r: u32, ) -> Weight { - (335_988_000 as Weight) + (347_291_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(_r: u32, ) -> Weight { - (353_731_000 as Weight) + (350_537_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(_r: u32, ) -> Weight { - (383_578_000 as Weight) + (398_315_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(_r: u32, ) -> Weight { - (390_771_000 as Weight) + (382_907_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(_r: u32, ) -> Weight { - (379_359_000 as Weight) + (543_052_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(_r: u32, ) -> Weight { - (351_166_000 as Weight) + (363_331_000 as Weight) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(_r: u32, ) -> Weight { - (819_094_000 as Weight) + (819_833_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(_r: u32, ) -> Weight { - (394_819_000 as Weight) + (609_846_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(_r: u32, ) -> Weight { - (733_361_000 as Weight) + (403_935_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(_r: u32, ) -> Weight { - (391_542_000 as Weight) + (401_491_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(_r: u32, ) -> Weight { - (422_411_000 as Weight) + (404_186_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(_r: u32, ) -> Weight { - (393_046_000 as Weight) + (395_310_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(_r: u32, ) -> Weight { - (392_635_000 as Weight) + (408_384_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(_r: u32, ) -> Weight { - (395_780_000 as Weight) + (451_383_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(_r: u32, ) -> Weight { - (441_828_000 as Weight) + (557_178_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(_r: u32, ) -> Weight { - (436_458_000 as Weight) + (469_727_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(_r: u32, ) -> Weight { - (462_748_000 as Weight) + (617_379_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(_r: u32, ) -> Weight { - (433_412_000 as Weight) + (551_588_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(_r: u32, ) -> Weight { - (442_600_000 as Weight) + (745_516_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(_r: u32, ) -> Weight { - (917_861_000 as Weight) + (456_072_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(_r: u32, ) -> Weight { - (503_375_000 as Weight) + (613_042_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(_r: u32, ) -> Weight { - (439_303_000 as Weight) + (442_827_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(_r: u32, ) -> Weight { - (434_715_000 as Weight) + (452_836_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(_r: u32, ) -> Weight { - (439_524_000 as Weight) + (447_085_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(_r: u32, ) -> Weight { - (444_864_000 as Weight) + (528_286_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(_r: u32, ) -> Weight { - (525_086_000 as Weight) + (446_344_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(_r: u32, ) -> Weight { - (448_361_000 as Weight) + (497_228_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(_r: u32, ) -> Weight { - (464_571_000 as Weight) + (446_634_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(_r: u32, ) -> Weight { - (655_434_000 as Weight) + (456_814_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(_r: u32, ) -> Weight { - (455_835_000 as Weight) + (523_195_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(_r: u32, ) -> Weight { - (453_139_000 as Weight) + (453_948_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(_r: u32, ) -> Weight { - (736_267_000 as Weight) + (462_714_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(_r: u32, ) -> Weight { - (503_055_000 as Weight) + (447_055_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(_r: u32, ) -> Weight { - (444_332_000 as Weight) + (452_235_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(_r: u32, ) -> Weight { - (450_805_000 as Weight) + (549_615_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(_r: u32, ) -> Weight { - (586_362_000 as Weight) + (452_415_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(_r: u32, ) -> Weight { - (567_727_000 as Weight) + (447_215_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(_r: u32, ) -> Weight { - (445_204_000 as Weight) + (451_193_000 as Weight) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(_r: u32, ) -> Weight { - (502_283_000 as Weight) + (448_458_000 as Weight) } } From 2464cc11a6f4bf4864b8d1bcc58641df76b52df7 Mon Sep 17 00:00:00 2001 From: Alexander Gryaznov Date: Wed, 29 Jun 2022 23:46:27 +0300 Subject: [PATCH 3/7] reverted weights.rs back to the ones calculated on the reference hardware (to make tests pass before re-run benchmarks) --- frame/contracts/src/weights.rs | 1550 +++++++++++++++++++++----------- 1 file changed, 1016 insertions(+), 534 deletions(-) diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 65e6e2fb65a82..3c90579e65d53 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,22 +18,22 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-29, STEPS: `1`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `lisbon`, CPU: `AMD Ryzen 7 5800H with Radeon Graphics` +//! DATE: 2022-06-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/release/substrate +// target/production/substrate // benchmark // pallet -// --chain -// dev +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_contracts +// --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --pallet -// pallet_contracts -// --extrinsic=* // --output=./frame/contracts/src/weights.rs // --template=./.maintain/frame-weight-template.hbs @@ -166,28 +166,35 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (9_568_000 as Weight) + (1_654_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. - fn on_initialize_per_trie_key(_k: u32, ) -> Weight { - (1_262_038_000 as Weight) + fn on_initialize_per_trie_key(k: u32, ) -> Weight { + (8_564_000 as Weight) + // Standard Error: 0 + .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1025 as Weight)) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 128]`. - fn on_initialize_per_queue_item(_q: u32, ) -> Weight { - (378_588_000 as Weight) + /// The range of component `q` is `[0, 1024]`. + fn on_initialize_per_queue_item(q: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 5_000 + .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Contracts PristineCode (r:1 w:0) // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn reinstrument(_c: u32, ) -> Weight { - (3_294_487_000 as Weight) + fn reinstrument(c: u32, ) -> Weight { + (19_016_000 as Weight) + // Standard Error: 0 + .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -196,8 +203,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. - fn call_with_code_per_byte(_c: u32, ) -> Weight { - (7_563_892_000 as Weight) + fn call_with_code_per_byte(c: u32, ) -> Weight { + (205_194_000 as Weight) + // Standard Error: 0 + .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -211,9 +220,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (926_268_000 as Weight) - // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(c as Weight)) + (288_487_000 as Weight) + // Standard Error: 0 + .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -226,8 +235,10 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. - fn instantiate(_s: u32, ) -> Weight { - (2_479_613_000 as Weight) + fn instantiate(s: u32, ) -> Weight { + (186_136_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -236,7 +247,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (173_611_000 as Weight) + (149_232_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -244,8 +255,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn upload_code(_c: u32, ) -> Weight { - (3_908_500_000 as Weight) + fn upload_code(c: u32, ) -> Weight { + (51_721_000 as Weight) + // Standard Error: 0 + .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -253,14 +266,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (57_235_000 as Weight) + (30_016_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (51_265_000 as Weight) + (27_192_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -269,8 +282,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller(_r: u32, ) -> Weight { - (1_355_611_000 as Weight) + fn seal_caller(r: u32, ) -> Weight { + (206_405_000 as Weight) + // Standard Error: 112_000 + .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -279,9 +294,12 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_is_contract(_r: u32, ) -> Weight { - (9_874_495_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1604 as Weight)) + fn seal_is_contract(r: u32, ) -> Weight { + (106_220_000 as Weight) + // Standard Error: 710_000 + .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -289,9 +307,12 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_code_hash(_r: u32, ) -> Weight { - (11_749_924_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1604 as Weight)) + fn seal_code_hash(r: u32, ) -> Weight { + (104_498_000 as Weight) + // Standard Error: 633_000 + .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -299,8 +320,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_own_code_hash(_r: u32, ) -> Weight { - (1_468_909_000 as Weight) + fn seal_own_code_hash(r: u32, ) -> Weight { + (208_696_000 as Weight) + // Standard Error: 101_000 + .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -309,8 +332,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller_is_origin(_r: u32, ) -> Weight { - (665_638_000 as Weight) + fn seal_caller_is_origin(r: u32, ) -> Weight { + (205_612_000 as Weight) + // Standard Error: 68_000 + .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -319,8 +344,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_address(_r: u32, ) -> Weight { - (1_468_618_000 as Weight) + fn seal_address(r: u32, ) -> Weight { + (206_947_000 as Weight) + // Standard Error: 107_000 + .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -329,8 +356,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas_left(_r: u32, ) -> Weight { - (1_332_718_000 as Weight) + fn seal_gas_left(r: u32, ) -> Weight { + (208_692_000 as Weight) + // Standard Error: 109_000 + .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -339,8 +368,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_balance(_r: u32, ) -> Weight { - (3_959_363_000 as Weight) + fn seal_balance(r: u32, ) -> Weight { + (209_811_000 as Weight) + // Standard Error: 208_000 + .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -349,8 +380,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_value_transferred(_r: u32, ) -> Weight { - (1_632_330_000 as Weight) + fn seal_value_transferred(r: u32, ) -> Weight { + (207_406_000 as Weight) + // Standard Error: 117_000 + .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -359,8 +392,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_minimum_balance(_r: u32, ) -> Weight { - (1_605_862_000 as Weight) + fn seal_minimum_balance(r: u32, ) -> Weight { + (209_260_000 as Weight) + // Standard Error: 130_000 + .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -369,8 +404,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_block_number(_r: u32, ) -> Weight { - (1_277_026_000 as Weight) + fn seal_block_number(r: u32, ) -> Weight { + (206_448_000 as Weight) + // Standard Error: 95_000 + .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -379,8 +416,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_now(_r: u32, ) -> Weight { - (1_767_881_000 as Weight) + fn seal_now(r: u32, ) -> Weight { + (206_969_000 as Weight) + // Standard Error: 116_000 + .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -390,8 +429,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_weight_to_fee(_r: u32, ) -> Weight { - (3_189_323_000 as Weight) + fn seal_weight_to_fee(r: u32, ) -> Weight { + (211_611_000 as Weight) + // Standard Error: 175_000 + .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -400,8 +441,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas(_r: u32, ) -> Weight { - (825_052_000 as Weight) + fn seal_gas(r: u32, ) -> Weight { + (134_484_000 as Weight) + // Standard Error: 57_000 + .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -410,8 +453,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_input(_r: u32, ) -> Weight { - (1_182_271_000 as Weight) + fn seal_input(r: u32, ) -> Weight { + (208_556_000 as Weight) + // Standard Error: 125_000 + .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -420,8 +465,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_input_per_kb(_n: u32, ) -> Weight { - (15_286_888_000 as Weight) + fn seal_input_per_kb(n: u32, ) -> Weight { + (268_886_000 as Weight) + // Standard Error: 4_000 + .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -431,7 +478,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (221_188_000 as Weight) + (203_591_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -440,8 +487,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_return_per_kb(_n: u32, ) -> Weight { - (614_864_000 as Weight) + fn seal_return_per_kb(n: u32, ) -> Weight { + (204_258_000 as Weight) + // Standard Error: 0 + .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -452,10 +501,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. - fn seal_terminate(_r: u32, ) -> Weight { - (304_792_000 as Weight) - .saturating_add(T::DbWeight::get().reads(8 as Weight)) - .saturating_add(T::DbWeight::get().writes(6 as Weight)) + fn seal_terminate(r: u32, ) -> Weight { + (206_625_000 as Weight) + // Standard Error: 672_000 + .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) @@ -463,8 +516,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_random(_r: u32, ) -> Weight { - (4_309_890_000 as Weight) + fn seal_random(r: u32, ) -> Weight { + (208_866_000 as Weight) + // Standard Error: 164_000 + .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -473,8 +528,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_deposit_event(_r: u32, ) -> Weight { - (7_190_083_000 as Weight) + fn seal_deposit_event(r: u32, ) -> Weight { + (220_860_000 as Weight) + // Standard Error: 209_000 + .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -482,15 +539,15 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:320 w:320) + // Storage: System EventTopics (r:80 w:80) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (617_288_000 as Weight) - // Standard Error: 65_449_000 - .saturating_add((376_229_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 16_362_000 - .saturating_add((86_945_000 as Weight).saturating_mul(n as Weight)) + (439_782_000 as Weight) + // Standard Error: 1_643_000 + .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 323_000 + .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -501,116 +558,168 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_debug_message(_r: u32, ) -> Weight { - (967_675_000 as Weight) + fn seal_debug_message(r: u32, ) -> Weight { + (140_280_000 as Weight) + // Standard Error: 82_000 + .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_set_storage(_r: u32, ) -> Weight { - (6_184_548_000 as Weight) - .saturating_add(T::DbWeight::get().reads(804 as Weight)) - .saturating_add(T::DbWeight::get().writes(801 as Weight)) + fn seal_set_storage(r: u32, ) -> Weight { + (161_247_000 as Weight) + // Standard Error: 883_000 + .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { - (1_470_202_000 as Weight) - .saturating_add(T::DbWeight::get().reads(85 as Weight)) - .saturating_add(T::DbWeight::get().writes(83 as Weight)) + fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { + (529_247_000 as Weight) + // Standard Error: 2_745_000 + .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(55 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(53 as Weight)) + .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { - (1_393_641_000 as Weight) - .saturating_add(T::DbWeight::get().reads(85 as Weight)) - .saturating_add(T::DbWeight::get().writes(83 as Weight)) + fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { + (529_812_000 as Weight) + // Standard Error: 2_513_000 + .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(55 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(53 as Weight)) + .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_clear_storage(_r: u32, ) -> Weight { - (6_002_983_000 as Weight) - .saturating_add(T::DbWeight::get().reads(805 as Weight)) - .saturating_add(T::DbWeight::get().writes(803 as Weight)) + fn seal_clear_storage(r: u32, ) -> Weight { + (184_803_000 as Weight) + // Standard Error: 733_000 + .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { - (1_283_708_000 as Weight) - .saturating_add(T::DbWeight::get().reads(85 as Weight)) - .saturating_add(T::DbWeight::get().writes(83 as Weight)) + fn seal_clear_storage_per_kb(n: u32, ) -> Weight { + (500_958_000 as Weight) + // Standard Error: 2_980_000 + .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(55 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(52 as Weight)) + .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_get_storage(_r: u32, ) -> Weight { - (4_880_483_000 as Weight) - .saturating_add(T::DbWeight::get().reads(804 as Weight)) + fn seal_get_storage(r: u32, ) -> Weight { + (177_682_000 as Weight) + // Standard Error: 743_000 + .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_get_storage_per_kb(_n: u32, ) -> Weight { - (2_418_241_000 as Weight) - .saturating_add(T::DbWeight::get().reads(84 as Weight)) + fn seal_get_storage_per_kb(n: u32, ) -> Weight { + (465_285_000 as Weight) + // Standard Error: 2_599_000 + .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(55 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_contains_storage(_r: u32, ) -> Weight { - (4_638_937_000 as Weight) - .saturating_add(T::DbWeight::get().reads(804 as Weight)) + fn seal_contains_storage(r: u32, ) -> Weight { + (179_118_000 as Weight) + // Standard Error: 572_000 + .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { - (1_667_025_000 as Weight) - .saturating_add(T::DbWeight::get().reads(84 as Weight)) + fn seal_contains_storage_per_kb(n: u32, ) -> Weight { + (423_056_000 as Weight) + // Standard Error: 2_037_000 + .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(54 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_take_storage(_r: u32, ) -> Weight { - (6_056_331_000 as Weight) - .saturating_add(T::DbWeight::get().reads(805 as Weight)) - .saturating_add(T::DbWeight::get().writes(803 as Weight)) + fn seal_take_storage(r: u32, ) -> Weight { + (188_884_000 as Weight) + // Standard Error: 761_000 + .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_take_storage_per_kb(_n: u32, ) -> Weight { - (2_525_108_000 as Weight) - .saturating_add(T::DbWeight::get().reads(85 as Weight)) - .saturating_add(T::DbWeight::get().writes(83 as Weight)) + fn seal_take_storage_per_kb(n: u32, ) -> Weight { + (532_408_000 as Weight) + // Standard Error: 3_348_000 + .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(T::DbWeight::get().reads(55 as Weight)) + .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(T::DbWeight::get().writes(53 as Weight)) + .saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_transfer(_r: u32, ) -> Weight { - (44_625_047_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1605 as Weight)) - .saturating_add(T::DbWeight::get().writes(1602 as Weight)) + fn seal_transfer(r: u32, ) -> Weight { + (127_181_000 as Weight) + // Standard Error: 1_495_000 + .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) + .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_call(_r: u32, ) -> Weight { - (384_701_843_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1605 as Weight)) - .saturating_add(T::DbWeight::get().writes(1601 as Weight)) + fn seal_call(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 3_803_000 + .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) + .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_delegate_call(_r: u32, ) -> Weight { - (402_924_565_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1539 as Weight)) + fn seal_delegate_call(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 6_045_000 + .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -620,9 +729,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (13_840_652_000 as Weight) - // Standard Error: 607_000 - .saturating_add((13_492_000 as Weight).saturating_mul(c as Weight)) + (9_196_444_000 as Weight) + // Standard Error: 20_486_000 + .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 8_000 + .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -633,12 +744,16 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:1600 w:1600) + // Storage: Contracts OwnerInfoOf (r:80 w:80) /// The range of component `r` is `[0, 20]`. - fn seal_instantiate(_r: u32, ) -> Weight { - (771_627_239_000 as Weight) - .saturating_add(T::DbWeight::get().reads(6406 as Weight)) - .saturating_add(T::DbWeight::get().writes(6404 as Weight)) + fn seal_instantiate(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 36_253_000 + .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads(6 as Weight)) + .saturating_add(T::DbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) + .saturating_add(T::DbWeight::get().writes((320 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:81 w:81) // Storage: Contracts ContractInfoOf (r:81 w:81) @@ -649,9 +764,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (28_741_275_000 as Weight) - // Standard Error: 4_071_000 - .saturating_add((124_409_000 as Weight).saturating_mul(s as Weight)) + (12_282_498_000 as Weight) + // Standard Error: 48_112_000 + .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 22_000 + .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -662,8 +779,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_sha2_256(_r: u32, ) -> Weight { - (1_562_984_000 as Weight) + fn seal_hash_sha2_256(r: u32, ) -> Weight { + (203_959_000 as Weight) + // Standard Error: 142_000 + .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -672,8 +791,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { - (65_617_887_000 as Weight) + fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { + (349_915_000 as Weight) + // Standard Error: 40_000 + .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -682,8 +803,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_keccak_256(_r: u32, ) -> Weight { - (1_819_758_000 as Weight) + fn seal_hash_keccak_256(r: u32, ) -> Weight { + (209_219_000 as Weight) + // Standard Error: 157_000 + .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -692,8 +815,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { - (223_419_825_000 as Weight) + fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { + (208_860_000 as Weight) + // Standard Error: 25_000 + .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -702,8 +827,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_256(_r: u32, ) -> Weight { - (1_539_681_000 as Weight) + fn seal_hash_blake2_256(r: u32, ) -> Weight { + (206_165_000 as Weight) + // Standard Error: 138_000 + .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -712,8 +839,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { - (90_790_715_000 as Weight) + fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { + (255_955_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -722,8 +851,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_128(_r: u32, ) -> Weight { - (1_509_545_000 as Weight) + fn seal_hash_blake2_128(r: u32, ) -> Weight { + (208_153_000 as Weight) + // Standard Error: 140_000 + .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -732,8 +863,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { - (93_120_917_000 as Weight) + fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { + (278_368_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -742,8 +875,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_recover(_r: u32, ) -> Weight { - (69_638_187_000 as Weight) + fn seal_ecdsa_recover(r: u32, ) -> Weight { + (331_955_000 as Weight) + // Standard Error: 1_155_000 + .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -752,8 +887,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { - (43_635_487_000 as Weight) + fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { + (207_838_000 as Weight) + // Standard Error: 783_000 + .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -761,216 +898,320 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: Contracts OwnerInfoOf (r:1536 w:1536) + // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. - fn seal_set_code_hash(_r: u32, ) -> Weight { - (23_168_663_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1540 as Weight)) - .saturating_add(T::DbWeight::get().writes(1537 as Weight)) + fn seal_set_code_hash(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 1_567_000 + .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. - fn instr_i64const(_r: u32, ) -> Weight { - (364_092_000 as Weight) + fn instr_i64const(r: u32, ) -> Weight { + (73_955_000 as Weight) + // Standard Error: 1_000 + .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64load(_r: u32, ) -> Weight { - (739_595_000 as Weight) + fn instr_i64load(r: u32, ) -> Weight { + (74_057_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64store(_r: u32, ) -> Weight { - (733_373_000 as Weight) + fn instr_i64store(r: u32, ) -> Weight { + (74_137_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_select(_r: u32, ) -> Weight { - (497_298_000 as Weight) + fn instr_select(r: u32, ) -> Weight { + (73_844_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_if(_r: u32, ) -> Weight { - (373_559_000 as Weight) + fn instr_if(r: u32, ) -> Weight { + (73_979_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br(_r: u32, ) -> Weight { - (259_078_000 as Weight) + fn instr_br(r: u32, ) -> Weight { + (73_924_000 as Weight) + // Standard Error: 3_000 + .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br_if(_r: u32, ) -> Weight { - (920_549_000 as Weight) + fn instr_br_if(r: u32, ) -> Weight { + (73_574_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br_table(_r: u32, ) -> Weight { - (459_838_000 as Weight) + fn instr_br_table(r: u32, ) -> Weight { + (73_343_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. - fn instr_br_table_per_entry(_e: u32, ) -> Weight { - (273_214_000 as Weight) + fn instr_br_table_per_entry(e: u32, ) -> Weight { + (76_267_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_call(_r: u32, ) -> Weight { - (617_229_000 as Weight) + fn instr_call(r: u32, ) -> Weight { + (74_877_000 as Weight) + // Standard Error: 12_000 + .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_call_indirect(_r: u32, ) -> Weight { - (788_957_000 as Weight) + fn instr_call_indirect(r: u32, ) -> Weight { + (88_665_000 as Weight) + // Standard Error: 20_000 + .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. - fn instr_call_indirect_per_param(_p: u32, ) -> Weight { - (417_160_000 as Weight) + fn instr_call_indirect_per_param(p: u32, ) -> Weight { + (98_600_000 as Weight) + // Standard Error: 2_000 + .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_get(_r: u32, ) -> Weight { - (347_291_000 as Weight) + fn instr_local_get(r: u32, ) -> Weight { + (74_555_000 as Weight) + // Standard Error: 1_000 + .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_set(_r: u32, ) -> Weight { - (350_537_000 as Weight) + fn instr_local_set(r: u32, ) -> Weight { + (74_329_000 as Weight) + // Standard Error: 1_000 + .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_tee(_r: u32, ) -> Weight { - (398_315_000 as Weight) + fn instr_local_tee(r: u32, ) -> Weight { + (74_612_000 as Weight) + // Standard Error: 1_000 + .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_global_get(_r: u32, ) -> Weight { - (382_907_000 as Weight) + fn instr_global_get(r: u32, ) -> Weight { + (76_906_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_global_set(_r: u32, ) -> Weight { - (543_052_000 as Weight) + fn instr_global_set(r: u32, ) -> Weight { + (76_979_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_memory_current(_r: u32, ) -> Weight { - (363_331_000 as Weight) + fn instr_memory_current(r: u32, ) -> Weight { + (74_370_000 as Weight) + // Standard Error: 3_000 + .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. - fn instr_memory_grow(_r: u32, ) -> Weight { - (819_833_000 as Weight) + fn instr_memory_grow(r: u32, ) -> Weight { + (73_584_000 as Weight) + // Standard Error: 353_000 + .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64clz(_r: u32, ) -> Weight { - (609_846_000 as Weight) + fn instr_i64clz(r: u32, ) -> Weight { + (74_206_000 as Weight) + // Standard Error: 1_000 + .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ctz(_r: u32, ) -> Weight { - (403_935_000 as Weight) + fn instr_i64ctz(r: u32, ) -> Weight { + (73_992_000 as Weight) + // Standard Error: 1_000 + .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64popcnt(_r: u32, ) -> Weight { - (401_491_000 as Weight) + fn instr_i64popcnt(r: u32, ) -> Weight { + (73_985_000 as Weight) + // Standard Error: 2_000 + .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eqz(_r: u32, ) -> Weight { - (404_186_000 as Weight) + fn instr_i64eqz(r: u32, ) -> Weight { + (74_117_000 as Weight) + // Standard Error: 4_000 + .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendsi32(_r: u32, ) -> Weight { - (395_310_000 as Weight) + fn instr_i64extendsi32(r: u32, ) -> Weight { + (73_981_000 as Weight) + // Standard Error: 1_000 + .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendui32(_r: u32, ) -> Weight { - (408_384_000 as Weight) + fn instr_i64extendui32(r: u32, ) -> Weight { + (74_104_000 as Weight) + // Standard Error: 3_000 + .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i32wrapi64(_r: u32, ) -> Weight { - (451_383_000 as Weight) + fn instr_i32wrapi64(r: u32, ) -> Weight { + (74_293_000 as Weight) + // Standard Error: 3_000 + .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eq(_r: u32, ) -> Weight { - (557_178_000 as Weight) + fn instr_i64eq(r: u32, ) -> Weight { + (74_055_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ne(_r: u32, ) -> Weight { - (469_727_000 as Weight) + fn instr_i64ne(r: u32, ) -> Weight { + (73_710_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64lts(_r: u32, ) -> Weight { - (617_379_000 as Weight) + fn instr_i64lts(r: u32, ) -> Weight { + (73_917_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ltu(_r: u32, ) -> Weight { - (551_588_000 as Weight) + fn instr_i64ltu(r: u32, ) -> Weight { + (74_048_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gts(_r: u32, ) -> Weight { - (745_516_000 as Weight) + fn instr_i64gts(r: u32, ) -> Weight { + (74_029_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gtu(_r: u32, ) -> Weight { - (456_072_000 as Weight) + fn instr_i64gtu(r: u32, ) -> Weight { + (74_267_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64les(_r: u32, ) -> Weight { - (613_042_000 as Weight) + fn instr_i64les(r: u32, ) -> Weight { + (73_952_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64leu(_r: u32, ) -> Weight { - (442_827_000 as Weight) + fn instr_i64leu(r: u32, ) -> Weight { + (73_851_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ges(_r: u32, ) -> Weight { - (452_836_000 as Weight) + fn instr_i64ges(r: u32, ) -> Weight { + (74_034_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64geu(_r: u32, ) -> Weight { - (447_085_000 as Weight) + fn instr_i64geu(r: u32, ) -> Weight { + (73_979_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64add(_r: u32, ) -> Weight { - (528_286_000 as Weight) + fn instr_i64add(r: u32, ) -> Weight { + (74_000_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64sub(_r: u32, ) -> Weight { - (446_344_000 as Weight) + fn instr_i64sub(r: u32, ) -> Weight { + (73_883_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64mul(_r: u32, ) -> Weight { - (497_228_000 as Weight) + fn instr_i64mul(r: u32, ) -> Weight { + (74_216_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divs(_r: u32, ) -> Weight { - (446_634_000 as Weight) + fn instr_i64divs(r: u32, ) -> Weight { + (73_989_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divu(_r: u32, ) -> Weight { - (456_814_000 as Weight) + fn instr_i64divu(r: u32, ) -> Weight { + (73_857_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rems(_r: u32, ) -> Weight { - (523_195_000 as Weight) + fn instr_i64rems(r: u32, ) -> Weight { + (73_801_000 as Weight) + // Standard Error: 1_000 + .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64remu(_r: u32, ) -> Weight { - (453_948_000 as Weight) + fn instr_i64remu(r: u32, ) -> Weight { + (74_130_000 as Weight) + // Standard Error: 1_000 + .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64and(_r: u32, ) -> Weight { - (462_714_000 as Weight) + fn instr_i64and(r: u32, ) -> Weight { + (74_071_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64or(_r: u32, ) -> Weight { - (447_055_000 as Weight) + fn instr_i64or(r: u32, ) -> Weight { + (74_201_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64xor(_r: u32, ) -> Weight { - (452_235_000 as Weight) + fn instr_i64xor(r: u32, ) -> Weight { + (74_241_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shl(_r: u32, ) -> Weight { - (549_615_000 as Weight) + fn instr_i64shl(r: u32, ) -> Weight { + (74_331_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shrs(_r: u32, ) -> Weight { - (452_415_000 as Weight) + fn instr_i64shrs(r: u32, ) -> Weight { + (73_674_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shru(_r: u32, ) -> Weight { - (447_215_000 as Weight) + fn instr_i64shru(r: u32, ) -> Weight { + (73_807_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotl(_r: u32, ) -> Weight { - (451_193_000 as Weight) + fn instr_i64rotl(r: u32, ) -> Weight { + (73_725_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotr(_r: u32, ) -> Weight { - (448_458_000 as Weight) + fn instr_i64rotr(r: u32, ) -> Weight { + (73_755_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } } @@ -978,28 +1219,35 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (9_568_000 as Weight) + (1_654_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. - fn on_initialize_per_trie_key(_k: u32, ) -> Weight { - (1_262_038_000 as Weight) + fn on_initialize_per_trie_key(k: u32, ) -> Weight { + (8_564_000 as Weight) + // Standard Error: 0 + .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1025 as Weight)) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 128]`. - fn on_initialize_per_queue_item(_q: u32, ) -> Weight { - (378_588_000 as Weight) + /// The range of component `q` is `[0, 1024]`. + fn on_initialize_per_queue_item(q: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 5_000 + .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Contracts PristineCode (r:1 w:0) // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn reinstrument(_c: u32, ) -> Weight { - (3_294_487_000 as Weight) + fn reinstrument(c: u32, ) -> Weight { + (19_016_000 as Weight) + // Standard Error: 0 + .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1008,8 +1256,10 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. - fn call_with_code_per_byte(_c: u32, ) -> Weight { - (7_563_892_000 as Weight) + fn call_with_code_per_byte(c: u32, ) -> Weight { + (205_194_000 as Weight) + // Standard Error: 0 + .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1023,9 +1273,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (926_268_000 as Weight) - // Standard Error: 1_000 - .saturating_add((125_000 as Weight).saturating_mul(c as Weight)) + (288_487_000 as Weight) + // Standard Error: 0 + .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1038,8 +1288,10 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. - fn instantiate(_s: u32, ) -> Weight { - (2_479_613_000 as Weight) + fn instantiate(s: u32, ) -> Weight { + (186_136_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().writes(5 as Weight)) } @@ -1048,7 +1300,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (173_611_000 as Weight) + (149_232_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1056,8 +1308,10 @@ impl WeightInfo for () { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. - fn upload_code(_c: u32, ) -> Weight { - (3_908_500_000 as Weight) + fn upload_code(c: u32, ) -> Weight { + (51_721_000 as Weight) + // Standard Error: 0 + .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1065,14 +1319,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (57_235_000 as Weight) + (30_016_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (51_265_000 as Weight) + (27_192_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1081,8 +1335,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller(_r: u32, ) -> Weight { - (1_355_611_000 as Weight) + fn seal_caller(r: u32, ) -> Weight { + (206_405_000 as Weight) + // Standard Error: 112_000 + .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1091,9 +1347,12 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_is_contract(_r: u32, ) -> Weight { - (9_874_495_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) + fn seal_is_contract(r: u32, ) -> Weight { + (106_220_000 as Weight) + // Standard Error: 710_000 + .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1101,9 +1360,12 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_code_hash(_r: u32, ) -> Weight { - (11_749_924_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1604 as Weight)) + fn seal_code_hash(r: u32, ) -> Weight { + (104_498_000 as Weight) + // Standard Error: 633_000 + .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1111,8 +1373,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_own_code_hash(_r: u32, ) -> Weight { - (1_468_909_000 as Weight) + fn seal_own_code_hash(r: u32, ) -> Weight { + (208_696_000 as Weight) + // Standard Error: 101_000 + .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1121,8 +1385,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_caller_is_origin(_r: u32, ) -> Weight { - (665_638_000 as Weight) + fn seal_caller_is_origin(r: u32, ) -> Weight { + (205_612_000 as Weight) + // Standard Error: 68_000 + .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1131,8 +1397,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_address(_r: u32, ) -> Weight { - (1_468_618_000 as Weight) + fn seal_address(r: u32, ) -> Weight { + (206_947_000 as Weight) + // Standard Error: 107_000 + .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1141,8 +1409,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas_left(_r: u32, ) -> Weight { - (1_332_718_000 as Weight) + fn seal_gas_left(r: u32, ) -> Weight { + (208_692_000 as Weight) + // Standard Error: 109_000 + .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1151,8 +1421,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_balance(_r: u32, ) -> Weight { - (3_959_363_000 as Weight) + fn seal_balance(r: u32, ) -> Weight { + (209_811_000 as Weight) + // Standard Error: 208_000 + .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1161,8 +1433,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_value_transferred(_r: u32, ) -> Weight { - (1_632_330_000 as Weight) + fn seal_value_transferred(r: u32, ) -> Weight { + (207_406_000 as Weight) + // Standard Error: 117_000 + .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1171,8 +1445,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_minimum_balance(_r: u32, ) -> Weight { - (1_605_862_000 as Weight) + fn seal_minimum_balance(r: u32, ) -> Weight { + (209_260_000 as Weight) + // Standard Error: 130_000 + .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1181,8 +1457,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_block_number(_r: u32, ) -> Weight { - (1_277_026_000 as Weight) + fn seal_block_number(r: u32, ) -> Weight { + (206_448_000 as Weight) + // Standard Error: 95_000 + .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1191,8 +1469,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_now(_r: u32, ) -> Weight { - (1_767_881_000 as Weight) + fn seal_now(r: u32, ) -> Weight { + (206_969_000 as Weight) + // Standard Error: 116_000 + .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1202,8 +1482,10 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_weight_to_fee(_r: u32, ) -> Weight { - (3_189_323_000 as Weight) + fn seal_weight_to_fee(r: u32, ) -> Weight { + (211_611_000 as Weight) + // Standard Error: 175_000 + .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1212,8 +1494,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_gas(_r: u32, ) -> Weight { - (825_052_000 as Weight) + fn seal_gas(r: u32, ) -> Weight { + (134_484_000 as Weight) + // Standard Error: 57_000 + .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1222,8 +1506,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_input(_r: u32, ) -> Weight { - (1_182_271_000 as Weight) + fn seal_input(r: u32, ) -> Weight { + (208_556_000 as Weight) + // Standard Error: 125_000 + .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1232,8 +1518,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_input_per_kb(_n: u32, ) -> Weight { - (15_286_888_000 as Weight) + fn seal_input_per_kb(n: u32, ) -> Weight { + (268_886_000 as Weight) + // Standard Error: 4_000 + .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1243,7 +1531,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(_r: u32, ) -> Weight { - (221_188_000 as Weight) + (203_591_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1252,8 +1540,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_return_per_kb(_n: u32, ) -> Weight { - (614_864_000 as Weight) + fn seal_return_per_kb(n: u32, ) -> Weight { + (204_258_000 as Weight) + // Standard Error: 0 + .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1264,10 +1554,14 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. - fn seal_terminate(_r: u32, ) -> Weight { - (304_792_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(8 as Weight)) - .saturating_add(RocksDbWeight::get().writes(6 as Weight)) + fn seal_terminate(r: u32, ) -> Weight { + (206_625_000 as Weight) + // Standard Error: 672_000 + .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) @@ -1275,8 +1569,10 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_random(_r: u32, ) -> Weight { - (4_309_890_000 as Weight) + fn seal_random(r: u32, ) -> Weight { + (208_866_000 as Weight) + // Standard Error: 164_000 + .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1285,8 +1581,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_deposit_event(_r: u32, ) -> Weight { - (7_190_083_000 as Weight) + fn seal_deposit_event(r: u32, ) -> Weight { + (220_860_000 as Weight) + // Standard Error: 209_000 + .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1294,15 +1592,15 @@ impl WeightInfo for () { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: System EventTopics (r:320 w:320) + // Storage: System EventTopics (r:80 w:80) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (617_288_000 as Weight) - // Standard Error: 65_449_000 - .saturating_add((376_229_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 16_362_000 - .saturating_add((86_945_000 as Weight).saturating_mul(n as Weight)) + (439_782_000 as Weight) + // Standard Error: 1_643_000 + .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 323_000 + .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1313,116 +1611,168 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_debug_message(_r: u32, ) -> Weight { - (967_675_000 as Weight) + fn seal_debug_message(r: u32, ) -> Weight { + (140_280_000 as Weight) + // Standard Error: 82_000 + .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_set_storage(_r: u32, ) -> Weight { - (6_184_548_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(804 as Weight)) - .saturating_add(RocksDbWeight::get().writes(801 as Weight)) + fn seal_set_storage(r: u32, ) -> Weight { + (161_247_000 as Weight) + // Standard Error: 883_000 + .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_new_kb(_n: u32, ) -> Weight { - (1_470_202_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(85 as Weight)) - .saturating_add(RocksDbWeight::get().writes(83 as Weight)) + fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { + (529_247_000 as Weight) + // Standard Error: 2_745_000 + .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(55 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(RocksDbWeight::get().writes(53 as Weight)) + .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_set_storage_per_old_kb(_n: u32, ) -> Weight { - (1_393_641_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(85 as Weight)) - .saturating_add(RocksDbWeight::get().writes(83 as Weight)) + fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { + (529_812_000 as Weight) + // Standard Error: 2_513_000 + .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(55 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(RocksDbWeight::get().writes(53 as Weight)) + .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_clear_storage(_r: u32, ) -> Weight { - (6_002_983_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(805 as Weight)) - .saturating_add(RocksDbWeight::get().writes(803 as Weight)) + fn seal_clear_storage(r: u32, ) -> Weight { + (184_803_000 as Weight) + // Standard Error: 733_000 + .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(5 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_clear_storage_per_kb(_n: u32, ) -> Weight { - (1_283_708_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(85 as Weight)) - .saturating_add(RocksDbWeight::get().writes(83 as Weight)) + fn seal_clear_storage_per_kb(n: u32, ) -> Weight { + (500_958_000 as Weight) + // Standard Error: 2_980_000 + .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(55 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(RocksDbWeight::get().writes(52 as Weight)) + .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_get_storage(_r: u32, ) -> Weight { - (4_880_483_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(804 as Weight)) + fn seal_get_storage(r: u32, ) -> Weight { + (177_682_000 as Weight) + // Standard Error: 743_000 + .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_get_storage_per_kb(_n: u32, ) -> Weight { - (2_418_241_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(84 as Weight)) + fn seal_get_storage_per_kb(n: u32, ) -> Weight { + (465_285_000 as Weight) + // Standard Error: 2_599_000 + .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(55 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_contains_storage(_r: u32, ) -> Weight { - (4_638_937_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(804 as Weight)) + fn seal_contains_storage(r: u32, ) -> Weight { + (179_118_000 as Weight) + // Standard Error: 572_000 + .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(4 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_contains_storage_per_kb(_n: u32, ) -> Weight { - (1_667_025_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(84 as Weight)) + fn seal_contains_storage_per_kb(n: u32, ) -> Weight { + (423_056_000 as Weight) + // Standard Error: 2_037_000 + .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(54 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. - fn seal_take_storage(_r: u32, ) -> Weight { - (6_056_331_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(805 as Weight)) - .saturating_add(RocksDbWeight::get().writes(803 as Weight)) + fn seal_take_storage(r: u32, ) -> Weight { + (188_884_000 as Weight) + // Standard Error: 761_000 + .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(5 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. - fn seal_take_storage_per_kb(_n: u32, ) -> Weight { - (2_525_108_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(85 as Weight)) - .saturating_add(RocksDbWeight::get().writes(83 as Weight)) + fn seal_take_storage_per_kb(n: u32, ) -> Weight { + (532_408_000 as Weight) + // Standard Error: 3_348_000 + .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) + .saturating_add(RocksDbWeight::get().reads(55 as Weight)) + .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) + .saturating_add(RocksDbWeight::get().writes(53 as Weight)) + .saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(n as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_transfer(_r: u32, ) -> Weight { - (44_625_047_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1602 as Weight)) + fn seal_transfer(r: u32, ) -> Weight { + (127_181_000 as Weight) + // Standard Error: 1_495_000 + .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(5 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(2 as Weight)) + .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_call(_r: u32, ) -> Weight { - (384_701_843_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1605 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1601 as Weight)) + fn seal_call(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 3_803_000 + .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(5 as Weight)) + .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(1 as Weight)) + .saturating_add(RocksDbWeight::get().writes((80 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:1 w:0) // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_delegate_call(_r: u32, ) -> Weight { - (402_924_565_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1539 as Weight)) + fn seal_delegate_call(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 6_045_000 + .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:0) @@ -1432,9 +1782,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (13_840_652_000 as Weight) - // Standard Error: 607_000 - .saturating_add((13_492_000 as Weight).saturating_mul(c as Weight)) + (9_196_444_000 as Weight) + // Standard Error: 20_486_000 + .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 8_000 + .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1445,12 +1797,16 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) // Storage: Contracts Nonce (r:1 w:1) - // Storage: Contracts OwnerInfoOf (r:1600 w:1600) + // Storage: Contracts OwnerInfoOf (r:80 w:80) /// The range of component `r` is `[0, 20]`. - fn seal_instantiate(_r: u32, ) -> Weight { - (771_627_239_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(6406 as Weight)) - .saturating_add(RocksDbWeight::get().writes(6404 as Weight)) + fn seal_instantiate(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 36_253_000 + .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads(6 as Weight)) + .saturating_add(RocksDbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes(3 as Weight)) + .saturating_add(RocksDbWeight::get().writes((320 as Weight).saturating_mul(r as Weight))) } // Storage: System Account (r:81 w:81) // Storage: Contracts ContractInfoOf (r:81 w:81) @@ -1461,9 +1817,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (28_741_275_000 as Weight) - // Standard Error: 4_071_000 - .saturating_add((124_409_000 as Weight).saturating_mul(s as Weight)) + (12_282_498_000 as Weight) + // Standard Error: 48_112_000 + .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 22_000 + .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1474,8 +1832,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_sha2_256(_r: u32, ) -> Weight { - (1_562_984_000 as Weight) + fn seal_hash_sha2_256(r: u32, ) -> Weight { + (203_959_000 as Weight) + // Standard Error: 142_000 + .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1484,8 +1844,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_sha2_256_per_kb(_n: u32, ) -> Weight { - (65_617_887_000 as Weight) + fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { + (349_915_000 as Weight) + // Standard Error: 40_000 + .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1494,8 +1856,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_keccak_256(_r: u32, ) -> Weight { - (1_819_758_000 as Weight) + fn seal_hash_keccak_256(r: u32, ) -> Weight { + (209_219_000 as Weight) + // Standard Error: 157_000 + .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1504,8 +1868,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_keccak_256_per_kb(_n: u32, ) -> Weight { - (223_419_825_000 as Weight) + fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { + (208_860_000 as Weight) + // Standard Error: 25_000 + .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1514,8 +1880,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_256(_r: u32, ) -> Weight { - (1_539_681_000 as Weight) + fn seal_hash_blake2_256(r: u32, ) -> Weight { + (206_165_000 as Weight) + // Standard Error: 138_000 + .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1524,8 +1892,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_256_per_kb(_n: u32, ) -> Weight { - (90_790_715_000 as Weight) + fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { + (255_955_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1534,8 +1904,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_hash_blake2_128(_r: u32, ) -> Weight { - (1_509_545_000 as Weight) + fn seal_hash_blake2_128(r: u32, ) -> Weight { + (208_153_000 as Weight) + // Standard Error: 140_000 + .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1544,8 +1916,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. - fn seal_hash_blake2_128_per_kb(_n: u32, ) -> Weight { - (93_120_917_000 as Weight) + fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { + (278_368_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1554,8 +1928,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_recover(_r: u32, ) -> Weight { - (69_638_187_000 as Weight) + fn seal_ecdsa_recover(r: u32, ) -> Weight { + (331_955_000 as Weight) + // Standard Error: 1_155_000 + .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1564,8 +1940,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. - fn seal_ecdsa_to_eth_address(_r: u32, ) -> Weight { - (43_635_487_000 as Weight) + fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { + (207_838_000 as Weight) + // Standard Error: 783_000 + .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1573,215 +1951,319 @@ impl WeightInfo for () { // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) - // Storage: Contracts OwnerInfoOf (r:1536 w:1536) + // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. - fn seal_set_code_hash(_r: u32, ) -> Weight { - (23_168_663_000 as Weight) - .saturating_add(RocksDbWeight::get().reads(1540 as Weight)) - .saturating_add(RocksDbWeight::get().writes(1537 as Weight)) + fn seal_set_code_hash(r: u32, ) -> Weight { + (0 as Weight) + // Standard Error: 1_567_000 + .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) + .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) + .saturating_add(RocksDbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. - fn instr_i64const(_r: u32, ) -> Weight { - (364_092_000 as Weight) + fn instr_i64const(r: u32, ) -> Weight { + (73_955_000 as Weight) + // Standard Error: 1_000 + .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64load(_r: u32, ) -> Weight { - (739_595_000 as Weight) + fn instr_i64load(r: u32, ) -> Weight { + (74_057_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64store(_r: u32, ) -> Weight { - (733_373_000 as Weight) + fn instr_i64store(r: u32, ) -> Weight { + (74_137_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_select(_r: u32, ) -> Weight { - (497_298_000 as Weight) + fn instr_select(r: u32, ) -> Weight { + (73_844_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_if(_r: u32, ) -> Weight { - (373_559_000 as Weight) + fn instr_if(r: u32, ) -> Weight { + (73_979_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br(_r: u32, ) -> Weight { - (259_078_000 as Weight) + fn instr_br(r: u32, ) -> Weight { + (73_924_000 as Weight) + // Standard Error: 3_000 + .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br_if(_r: u32, ) -> Weight { - (920_549_000 as Weight) + fn instr_br_if(r: u32, ) -> Weight { + (73_574_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_br_table(_r: u32, ) -> Weight { - (459_838_000 as Weight) + fn instr_br_table(r: u32, ) -> Weight { + (73_343_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. - fn instr_br_table_per_entry(_e: u32, ) -> Weight { - (273_214_000 as Weight) + fn instr_br_table_per_entry(e: u32, ) -> Weight { + (76_267_000 as Weight) + // Standard Error: 0 + .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_call(_r: u32, ) -> Weight { - (617_229_000 as Weight) + fn instr_call(r: u32, ) -> Weight { + (74_877_000 as Weight) + // Standard Error: 12_000 + .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_call_indirect(_r: u32, ) -> Weight { - (788_957_000 as Weight) + fn instr_call_indirect(r: u32, ) -> Weight { + (88_665_000 as Weight) + // Standard Error: 20_000 + .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. - fn instr_call_indirect_per_param(_p: u32, ) -> Weight { - (417_160_000 as Weight) + fn instr_call_indirect_per_param(p: u32, ) -> Weight { + (98_600_000 as Weight) + // Standard Error: 2_000 + .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_get(_r: u32, ) -> Weight { - (347_291_000 as Weight) + fn instr_local_get(r: u32, ) -> Weight { + (74_555_000 as Weight) + // Standard Error: 1_000 + .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_set(_r: u32, ) -> Weight { - (350_537_000 as Weight) + fn instr_local_set(r: u32, ) -> Weight { + (74_329_000 as Weight) + // Standard Error: 1_000 + .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_local_tee(_r: u32, ) -> Weight { - (398_315_000 as Weight) + fn instr_local_tee(r: u32, ) -> Weight { + (74_612_000 as Weight) + // Standard Error: 1_000 + .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_global_get(_r: u32, ) -> Weight { - (382_907_000 as Weight) + fn instr_global_get(r: u32, ) -> Weight { + (76_906_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_global_set(_r: u32, ) -> Weight { - (543_052_000 as Weight) + fn instr_global_set(r: u32, ) -> Weight { + (76_979_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_memory_current(_r: u32, ) -> Weight { - (363_331_000 as Weight) + fn instr_memory_current(r: u32, ) -> Weight { + (74_370_000 as Weight) + // Standard Error: 3_000 + .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. - fn instr_memory_grow(_r: u32, ) -> Weight { - (819_833_000 as Weight) + fn instr_memory_grow(r: u32, ) -> Weight { + (73_584_000 as Weight) + // Standard Error: 353_000 + .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64clz(_r: u32, ) -> Weight { - (609_846_000 as Weight) + fn instr_i64clz(r: u32, ) -> Weight { + (74_206_000 as Weight) + // Standard Error: 1_000 + .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ctz(_r: u32, ) -> Weight { - (403_935_000 as Weight) + fn instr_i64ctz(r: u32, ) -> Weight { + (73_992_000 as Weight) + // Standard Error: 1_000 + .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64popcnt(_r: u32, ) -> Weight { - (401_491_000 as Weight) + fn instr_i64popcnt(r: u32, ) -> Weight { + (73_985_000 as Weight) + // Standard Error: 2_000 + .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eqz(_r: u32, ) -> Weight { - (404_186_000 as Weight) + fn instr_i64eqz(r: u32, ) -> Weight { + (74_117_000 as Weight) + // Standard Error: 4_000 + .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendsi32(_r: u32, ) -> Weight { - (395_310_000 as Weight) + fn instr_i64extendsi32(r: u32, ) -> Weight { + (73_981_000 as Weight) + // Standard Error: 1_000 + .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64extendui32(_r: u32, ) -> Weight { - (408_384_000 as Weight) + fn instr_i64extendui32(r: u32, ) -> Weight { + (74_104_000 as Weight) + // Standard Error: 3_000 + .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i32wrapi64(_r: u32, ) -> Weight { - (451_383_000 as Weight) + fn instr_i32wrapi64(r: u32, ) -> Weight { + (74_293_000 as Weight) + // Standard Error: 3_000 + .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64eq(_r: u32, ) -> Weight { - (557_178_000 as Weight) + fn instr_i64eq(r: u32, ) -> Weight { + (74_055_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ne(_r: u32, ) -> Weight { - (469_727_000 as Weight) + fn instr_i64ne(r: u32, ) -> Weight { + (73_710_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64lts(_r: u32, ) -> Weight { - (617_379_000 as Weight) + fn instr_i64lts(r: u32, ) -> Weight { + (73_917_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ltu(_r: u32, ) -> Weight { - (551_588_000 as Weight) + fn instr_i64ltu(r: u32, ) -> Weight { + (74_048_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gts(_r: u32, ) -> Weight { - (745_516_000 as Weight) + fn instr_i64gts(r: u32, ) -> Weight { + (74_029_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64gtu(_r: u32, ) -> Weight { - (456_072_000 as Weight) + fn instr_i64gtu(r: u32, ) -> Weight { + (74_267_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64les(_r: u32, ) -> Weight { - (613_042_000 as Weight) + fn instr_i64les(r: u32, ) -> Weight { + (73_952_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64leu(_r: u32, ) -> Weight { - (442_827_000 as Weight) + fn instr_i64leu(r: u32, ) -> Weight { + (73_851_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64ges(_r: u32, ) -> Weight { - (452_836_000 as Weight) + fn instr_i64ges(r: u32, ) -> Weight { + (74_034_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64geu(_r: u32, ) -> Weight { - (447_085_000 as Weight) + fn instr_i64geu(r: u32, ) -> Weight { + (73_979_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64add(_r: u32, ) -> Weight { - (528_286_000 as Weight) + fn instr_i64add(r: u32, ) -> Weight { + (74_000_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64sub(_r: u32, ) -> Weight { - (446_344_000 as Weight) + fn instr_i64sub(r: u32, ) -> Weight { + (73_883_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64mul(_r: u32, ) -> Weight { - (497_228_000 as Weight) + fn instr_i64mul(r: u32, ) -> Weight { + (74_216_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divs(_r: u32, ) -> Weight { - (446_634_000 as Weight) + fn instr_i64divs(r: u32, ) -> Weight { + (73_989_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64divu(_r: u32, ) -> Weight { - (456_814_000 as Weight) + fn instr_i64divu(r: u32, ) -> Weight { + (73_857_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rems(_r: u32, ) -> Weight { - (523_195_000 as Weight) + fn instr_i64rems(r: u32, ) -> Weight { + (73_801_000 as Weight) + // Standard Error: 1_000 + .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64remu(_r: u32, ) -> Weight { - (453_948_000 as Weight) + fn instr_i64remu(r: u32, ) -> Weight { + (74_130_000 as Weight) + // Standard Error: 1_000 + .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64and(_r: u32, ) -> Weight { - (462_714_000 as Weight) + fn instr_i64and(r: u32, ) -> Weight { + (74_071_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64or(_r: u32, ) -> Weight { - (447_055_000 as Weight) + fn instr_i64or(r: u32, ) -> Weight { + (74_201_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64xor(_r: u32, ) -> Weight { - (452_235_000 as Weight) + fn instr_i64xor(r: u32, ) -> Weight { + (74_241_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shl(_r: u32, ) -> Weight { - (549_615_000 as Weight) + fn instr_i64shl(r: u32, ) -> Weight { + (74_331_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shrs(_r: u32, ) -> Weight { - (452_415_000 as Weight) + fn instr_i64shrs(r: u32, ) -> Weight { + (73_674_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64shru(_r: u32, ) -> Weight { - (447_215_000 as Weight) + fn instr_i64shru(r: u32, ) -> Weight { + (73_807_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotl(_r: u32, ) -> Weight { - (451_193_000 as Weight) + fn instr_i64rotl(r: u32, ) -> Weight { + (73_725_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. - fn instr_i64rotr(_r: u32, ) -> Weight { - (448_458_000 as Weight) + fn instr_i64rotr(r: u32, ) -> Weight { + (73_755_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } } From 217d75aaae2ef67ea65d2d8b703234076b39fddd Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 7 Jul 2022 15:07:48 +0000 Subject: [PATCH 4/7] ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts --- frame/contracts/src/weights.rs | 1312 ++++++++++++++++---------------- 1 file changed, 658 insertions(+), 654 deletions(-) diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 3c90579e65d53..b19c9dd559b72 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,22 +18,22 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-22, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `test-bench-bot`, CPU: `Intel(R) Xeon(R) CPU @ 3.10GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // target/production/substrate // benchmark // pallet -// --chain=dev // --steps=50 // --repeat=20 -// --pallet=pallet_contracts // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 +// --pallet=pallet_contracts +// --chain=dev // --output=./frame/contracts/src/weights.rs // --template=./.maintain/frame-weight-template.hbs @@ -166,25 +166,25 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_654_000 as Weight) + (1_766_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_564_000 as Weight) - // Standard Error: 0 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + (0 as Weight) + // Standard Error: 2_000 + .saturating_add((1_226_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 1024]`. + /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 5_000 - .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) + (8_789_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_392_000 as Weight).saturating_mul(q as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -192,9 +192,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (19_016_000 as Weight) + (30_395_000 as Weight) // Standard Error: 0 - .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -204,9 +204,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (205_194_000 as Weight) + (524_514_000 as Weight) // Standard Error: 0 - .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -220,9 +220,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (288_487_000 as Weight) + (583_035_000 as Weight) // Standard Error: 0 - .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -236,7 +236,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (186_136_000 as Weight) + (351_940_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) @@ -247,7 +247,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (149_232_000 as Weight) + (317_878_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -256,9 +256,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (51_721_000 as Weight) + (69_860_000 as Weight) // Standard Error: 0 - .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((57_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -266,14 +266,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (30_016_000 as Weight) + (34_663_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_192_000 as Weight) + (33_263_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -283,9 +283,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (206_405_000 as Weight) - // Standard Error: 112_000 - .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) + (524_231_000 as Weight) + // Standard Error: 45_000 + .saturating_add((44_403_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -295,9 +295,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (106_220_000 as Weight) - // Standard Error: 710_000 - .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) + (380_647_000 as Weight) + // Standard Error: 859_000 + .saturating_add((373_122_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -308,9 +308,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (104_498_000 as Weight) - // Standard Error: 633_000 - .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) + (420_244_000 as Weight) + // Standard Error: 974_000 + .saturating_add((433_070_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -321,9 +321,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (208_696_000 as Weight) - // Standard Error: 101_000 - .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) + (525_980_000 as Weight) + // Standard Error: 45_000 + .saturating_add((48_371_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -333,9 +333,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (205_612_000 as Weight) - // Standard Error: 68_000 - .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) + (520_532_000 as Weight) + // Standard Error: 48_000 + .saturating_add((18_845_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -345,9 +345,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (206_947_000 as Weight) - // Standard Error: 107_000 - .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) + (526_913_000 as Weight) + // Standard Error: 58_000 + .saturating_add((44_469_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -357,9 +357,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (208_692_000 as Weight) - // Standard Error: 109_000 - .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) + (526_008_000 as Weight) + // Standard Error: 49_000 + .saturating_add((43_687_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -369,9 +369,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (209_811_000 as Weight) - // Standard Error: 208_000 - .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) + (530_689_000 as Weight) + // Standard Error: 60_000 + .saturating_add((129_620_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -381,9 +381,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (207_406_000 as Weight) - // Standard Error: 117_000 - .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) + (526_781_000 as Weight) + // Standard Error: 54_000 + .saturating_add((43_928_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -393,9 +393,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (209_260_000 as Weight) - // Standard Error: 130_000 - .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) + (524_363_000 as Weight) + // Standard Error: 53_000 + .saturating_add((44_091_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -405,9 +405,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (206_448_000 as Weight) - // Standard Error: 95_000 - .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) + (525_733_000 as Weight) + // Standard Error: 54_000 + .saturating_add((43_710_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -417,9 +417,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (206_969_000 as Weight) - // Standard Error: 116_000 - .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) + (525_788_000 as Weight) + // Standard Error: 49_000 + .saturating_add((43_929_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -430,9 +430,9 @@ impl WeightInfo for SubstrateWeight { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (211_611_000 as Weight) - // Standard Error: 175_000 - .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) + (536_197_000 as Weight) + // Standard Error: 72_000 + .saturating_add((111_858_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -442,9 +442,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (134_484_000 as Weight) - // Standard Error: 57_000 - .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) + (302_320_000 as Weight) + // Standard Error: 29_000 + .saturating_add((21_931_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -454,9 +454,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (208_556_000 as Weight) - // Standard Error: 125_000 - .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) + (525_698_000 as Weight) + // Standard Error: 52_000 + .saturating_add((43_499_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -466,9 +466,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (268_886_000 as Weight) - // Standard Error: 4_000 - .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) + (574_158_000 as Weight) + // Standard Error: 2_000 + .saturating_add((11_594_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -477,8 +477,10 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. - fn seal_return(_r: u32, ) -> Weight { - (203_591_000 as Weight) + fn seal_return(r: u32, ) -> Weight { + (513_307_000 as Weight) + // Standard Error: 869_000 + .saturating_add((3_689_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -488,9 +490,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (204_258_000 as Weight) + (516_927_000 as Weight) // Standard Error: 0 - .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((346_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -502,9 +504,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (206_625_000 as Weight) - // Standard Error: 672_000 - .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) + (522_886_000 as Weight) + // Standard Error: 1_395_000 + .saturating_add((69_190_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -517,9 +519,9 @@ impl WeightInfo for SubstrateWeight { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (208_866_000 as Weight) - // Standard Error: 164_000 - .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) + (530_882_000 as Weight) + // Standard Error: 78_000 + .saturating_add((149_796_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -529,9 +531,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (220_860_000 as Weight) - // Standard Error: 209_000 - .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) + (531_892_000 as Weight) + // Standard Error: 109_000 + .saturating_add((276_080_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -543,11 +545,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (439_782_000 as Weight) - // Standard Error: 1_643_000 - .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 323_000 - .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) + (820_189_000 as Weight) + // Standard Error: 965_000 + .saturating_add((307_170_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 190_000 + .saturating_add((94_012_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -559,18 +561,18 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (140_280_000 as Weight) - // Standard Error: 82_000 - .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) + (319_351_000 as Weight) + // Standard Error: 43_000 + .saturating_add((35_387_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (161_247_000 as Weight) - // Standard Error: 883_000 - .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) + (472_960_000 as Weight) + // Standard Error: 891_000 + .saturating_add((504_740_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -579,9 +581,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (529_247_000 as Weight) - // Standard Error: 2_745_000 - .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) + (909_523_000 as Weight) + // Standard Error: 3_216_000 + .saturating_add((129_689_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -590,9 +592,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (529_812_000 as Weight) - // Standard Error: 2_513_000 - .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) + (893_478_000 as Weight) + // Standard Error: 3_116_000 + .saturating_add((108_203_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -601,9 +603,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (184_803_000 as Weight) - // Standard Error: 733_000 - .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) + (501_276_000 as Weight) + // Standard Error: 731_000 + .saturating_add((491_386_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -612,9 +614,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (500_958_000 as Weight) - // Standard Error: 2_980_000 - .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) + (857_304_000 as Weight) + // Standard Error: 3_414_000 + .saturating_add((115_024_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(52 as Weight)) @@ -623,9 +625,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (177_682_000 as Weight) - // Standard Error: 743_000 - .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) + (500_421_000 as Weight) + // Standard Error: 558_000 + .saturating_add((404_943_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -633,9 +635,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (465_285_000 as Weight) - // Standard Error: 2_599_000 - .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) + (800_960_000 as Weight) + // Standard Error: 2_717_000 + .saturating_add((235_505_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -643,9 +645,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (179_118_000 as Weight) - // Standard Error: 572_000 - .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) + (494_089_000 as Weight) + // Standard Error: 592_000 + .saturating_add((374_591_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -653,9 +655,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (423_056_000 as Weight) - // Standard Error: 2_037_000 - .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) + (761_553_000 as Weight) + // Standard Error: 2_538_000 + .saturating_add((108_021_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(54 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -663,9 +665,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (188_884_000 as Weight) - // Standard Error: 761_000 - .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) + (494_189_000 as Weight) + // Standard Error: 899_000 + .saturating_add((521_596_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -674,9 +676,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (532_408_000 as Weight) - // Standard Error: 3_348_000 - .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) + (885_904_000 as Weight) + // Standard Error: 3_818_000 + .saturating_add((247_870_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -688,9 +690,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (127_181_000 as Weight) - // Standard Error: 1_495_000 - .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) + (456_800_000 as Weight) + // Standard Error: 1_211_000 + .saturating_add((1_717_057_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -703,8 +705,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_803_000 - .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_742_000 + .saturating_add((39_680_505_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -717,8 +719,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_045_000 - .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 9_436_000 + .saturating_add((39_610_144_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -729,11 +731,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (9_196_444_000 as Weight) - // Standard Error: 20_486_000 - .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 8_000 - .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) + (22_235_832_000 as Weight) + // Standard Error: 28_189_000 + .saturating_add((2_114_063_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 12_000 + .saturating_add((12_266_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -748,8 +750,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 36_253_000 - .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 84_665_000 + .saturating_add((49_986_054_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -764,11 +766,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (12_282_498_000 as Weight) - // Standard Error: 48_112_000 - .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) + (26_062_159_000 as Weight) + // Standard Error: 77_628_000 + .saturating_add((751_251_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 36_000 + .saturating_add((164_756_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -780,9 +782,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_959_000 as Weight) - // Standard Error: 142_000 - .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) + (521_493_000 as Weight) + // Standard Error: 62_000 + .saturating_add((69_063_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -792,9 +794,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (349_915_000 as Weight) - // Standard Error: 40_000 - .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 75_000 + .saturating_add((391_347_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -804,9 +806,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (209_219_000 as Weight) - // Standard Error: 157_000 - .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) + (521_306_000 as Weight) + // Standard Error: 56_000 + .saturating_add((84_071_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -816,9 +818,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (208_860_000 as Weight) - // Standard Error: 25_000 - .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 72_000 + .saturating_add((304_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -828,9 +830,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (206_165_000 as Weight) - // Standard Error: 138_000 - .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) + (520_535_000 as Weight) + // Standard Error: 57_000 + .saturating_add((57_635_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -840,9 +842,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (255_955_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 65_000 + .saturating_add((128_105_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -852,9 +854,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (208_153_000 as Weight) - // Standard Error: 140_000 - .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) + (520_308_000 as Weight) + // Standard Error: 47_000 + .saturating_add((57_592_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -864,9 +866,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (278_368_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 67_000 + .saturating_add((127_550_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -876,9 +878,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (331_955_000 as Weight) - // Standard Error: 1_155_000 - .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) + (715_182_000 as Weight) + // Standard Error: 817_000 + .saturating_add((3_727_403_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -888,9 +890,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (207_838_000 as Weight) - // Standard Error: 783_000 - .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) + (550_122_000 as Weight) + // Standard Error: 717_000 + .saturating_add((2_476_775_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -901,317 +903,317 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 1_567_000 - .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) + (43_673_000 as Weight) + // Standard Error: 1_881_000 + .saturating_add((906_154_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (73_955_000 as Weight) - // Standard Error: 1_000 - .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) + (211_130_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_123_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (74_057_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + (213_650_000 as Weight) + // Standard Error: 8_000 + .saturating_add((3_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (74_137_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) + (213_929_000 as Weight) + // Standard Error: 9_000 + .saturating_add((3_976_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (73_844_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) + (210_632_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_054_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) + (211_323_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_142_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (73_924_000 as Weight) - // Standard Error: 3_000 - .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) + (210_638_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_784_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (73_574_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) + (210_872_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_446_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (73_343_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) + (209_994_000 as Weight) + // Standard Error: 8_000 + .saturating_add((2_897_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (76_267_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) + (214_517_000 as Weight) + // Standard Error: 1_000 + .saturating_add((15_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (74_877_000 as Weight) - // Standard Error: 12_000 - .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) + (211_334_000 as Weight) + // Standard Error: 6_000 + .saturating_add((8_347_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (88_665_000 as Weight) - // Standard Error: 20_000 - .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) + (225_371_000 as Weight) + // Standard Error: 8_000 + .saturating_add((11_070_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (98_600_000 as Weight) + (238_044_000 as Weight) // Standard Error: 2_000 - .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((751_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) + (211_397_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_113_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (74_329_000 as Weight) - // Standard Error: 1_000 - .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) + (211_322_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_194_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (74_612_000 as Weight) - // Standard Error: 1_000 - .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) + (212_015_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_650_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (76_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) + (215_153_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (76_979_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) + (215_656_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_145_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (74_370_000 as Weight) - // Standard Error: 3_000 - .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) + (211_184_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_171_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (73_584_000 as Weight) - // Standard Error: 353_000 - .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) + (211_049_000 as Weight) + // Standard Error: 1_030_000 + .saturating_add((346_920_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (74_206_000 as Weight) - // Standard Error: 1_000 - .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) + (210_555_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_794_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (73_992_000 as Weight) - // Standard Error: 1_000 - .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) + (210_972_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_786_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (73_985_000 as Weight) - // Standard Error: 2_000 - .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) + (210_580_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (74_117_000 as Weight) - // Standard Error: 4_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + (211_472_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_765_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (73_981_000 as Weight) - // Standard Error: 1_000 - .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) + (211_119_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_751_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (74_104_000 as Weight) - // Standard Error: 3_000 - .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) + (209_901_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_807_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_293_000 as Weight) - // Standard Error: 3_000 - .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) + (211_192_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_797_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (74_055_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + (210_388_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (73_710_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (211_227_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_460_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (73_917_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + (211_180_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (74_048_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (210_766_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (74_029_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) + (210_706_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_479_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (74_267_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + (211_393_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (73_952_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + (210_431_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (73_851_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) + (210_788_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_477_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (74_034_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) + (210_797_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_465_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + (210_397_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_482_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (74_000_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) + (210_937_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (73_883_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) + (210_851_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_464_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (74_216_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + (210_942_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_467_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (73_989_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) + (210_718_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_264_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (73_857_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) + (210_468_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_204_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (73_801_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) + (210_564_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_338_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (74_130_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) + (210_927_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_178_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (74_071_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) + (210_641_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (74_201_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) + (210_726_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_487_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (74_241_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) + (210_640_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (74_331_000 as Weight) + (210_467_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (73_674_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) + (211_635_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_444_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (73_807_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + (210_614_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_497_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (73_725_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + (210_394_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_492_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (73_755_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (211_159_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) } } @@ -1219,25 +1221,25 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_654_000 as Weight) + (1_766_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_564_000 as Weight) - // Standard Error: 0 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + (0 as Weight) + // Standard Error: 2_000 + .saturating_add((1_226_000 as Weight).saturating_mul(k as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) } // Storage: Contracts DeletionQueue (r:1 w:0) - /// The range of component `q` is `[0, 1024]`. + /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 5_000 - .saturating_add((1_944_000 as Weight).saturating_mul(q as Weight)) + (8_789_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_392_000 as Weight).saturating_mul(q as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1245,9 +1247,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (19_016_000 as Weight) + (30_395_000 as Weight) // Standard Error: 0 - .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1257,9 +1259,9 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (205_194_000 as Weight) + (524_514_000 as Weight) // Standard Error: 0 - .saturating_add((53_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1273,9 +1275,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (288_487_000 as Weight) + (583_035_000 as Weight) // Standard Error: 0 - .saturating_add((124_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1289,7 +1291,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (186_136_000 as Weight) + (351_940_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) @@ -1300,7 +1302,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (149_232_000 as Weight) + (317_878_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1309,9 +1311,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (51_721_000 as Weight) + (69_860_000 as Weight) // Standard Error: 0 - .saturating_add((48_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((57_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1319,14 +1321,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (30_016_000 as Weight) + (34_663_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_192_000 as Weight) + (33_263_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1336,9 +1338,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (206_405_000 as Weight) - // Standard Error: 112_000 - .saturating_add((40_987_000 as Weight).saturating_mul(r as Weight)) + (524_231_000 as Weight) + // Standard Error: 45_000 + .saturating_add((44_403_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1348,9 +1350,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (106_220_000 as Weight) - // Standard Error: 710_000 - .saturating_add((307_648_000 as Weight).saturating_mul(r as Weight)) + (380_647_000 as Weight) + // Standard Error: 859_000 + .saturating_add((373_122_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1361,9 +1363,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (104_498_000 as Weight) - // Standard Error: 633_000 - .saturating_add((368_901_000 as Weight).saturating_mul(r as Weight)) + (420_244_000 as Weight) + // Standard Error: 974_000 + .saturating_add((433_070_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1374,9 +1376,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (208_696_000 as Weight) - // Standard Error: 101_000 - .saturating_add((44_445_000 as Weight).saturating_mul(r as Weight)) + (525_980_000 as Weight) + // Standard Error: 45_000 + .saturating_add((48_371_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1386,9 +1388,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (205_612_000 as Weight) - // Standard Error: 68_000 - .saturating_add((17_145_000 as Weight).saturating_mul(r as Weight)) + (520_532_000 as Weight) + // Standard Error: 48_000 + .saturating_add((18_845_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1398,9 +1400,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (206_947_000 as Weight) - // Standard Error: 107_000 - .saturating_add((40_789_000 as Weight).saturating_mul(r as Weight)) + (526_913_000 as Weight) + // Standard Error: 58_000 + .saturating_add((44_469_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1410,9 +1412,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (208_692_000 as Weight) - // Standard Error: 109_000 - .saturating_add((40_600_000 as Weight).saturating_mul(r as Weight)) + (526_008_000 as Weight) + // Standard Error: 49_000 + .saturating_add((43_687_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1422,9 +1424,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (209_811_000 as Weight) - // Standard Error: 208_000 - .saturating_add((116_831_000 as Weight).saturating_mul(r as Weight)) + (530_689_000 as Weight) + // Standard Error: 60_000 + .saturating_add((129_620_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1434,9 +1436,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (207_406_000 as Weight) - // Standard Error: 117_000 - .saturating_add((40_702_000 as Weight).saturating_mul(r as Weight)) + (526_781_000 as Weight) + // Standard Error: 54_000 + .saturating_add((43_928_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1446,9 +1448,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (209_260_000 as Weight) - // Standard Error: 130_000 - .saturating_add((40_479_000 as Weight).saturating_mul(r as Weight)) + (524_363_000 as Weight) + // Standard Error: 53_000 + .saturating_add((44_091_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1458,9 +1460,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (206_448_000 as Weight) - // Standard Error: 95_000 - .saturating_add((40_134_000 as Weight).saturating_mul(r as Weight)) + (525_733_000 as Weight) + // Standard Error: 54_000 + .saturating_add((43_710_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1470,9 +1472,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (206_969_000 as Weight) - // Standard Error: 116_000 - .saturating_add((40_251_000 as Weight).saturating_mul(r as Weight)) + (525_788_000 as Weight) + // Standard Error: 49_000 + .saturating_add((43_929_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1483,9 +1485,9 @@ impl WeightInfo for () { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (211_611_000 as Weight) - // Standard Error: 175_000 - .saturating_add((98_675_000 as Weight).saturating_mul(r as Weight)) + (536_197_000 as Weight) + // Standard Error: 72_000 + .saturating_add((111_858_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1495,9 +1497,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (134_484_000 as Weight) - // Standard Error: 57_000 - .saturating_add((19_329_000 as Weight).saturating_mul(r as Weight)) + (302_320_000 as Weight) + // Standard Error: 29_000 + .saturating_add((21_931_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1507,9 +1509,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (208_556_000 as Weight) - // Standard Error: 125_000 - .saturating_add((40_328_000 as Weight).saturating_mul(r as Weight)) + (525_698_000 as Weight) + // Standard Error: 52_000 + .saturating_add((43_499_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1519,9 +1521,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (268_886_000 as Weight) - // Standard Error: 4_000 - .saturating_add((9_627_000 as Weight).saturating_mul(n as Weight)) + (574_158_000 as Weight) + // Standard Error: 2_000 + .saturating_add((11_594_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1530,8 +1532,10 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. - fn seal_return(_r: u32, ) -> Weight { - (203_591_000 as Weight) + fn seal_return(r: u32, ) -> Weight { + (513_307_000 as Weight) + // Standard Error: 869_000 + .saturating_add((3_689_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1541,9 +1545,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (204_258_000 as Weight) + (516_927_000 as Weight) // Standard Error: 0 - .saturating_add((183_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((346_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1555,9 +1559,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (206_625_000 as Weight) - // Standard Error: 672_000 - .saturating_add((59_377_000 as Weight).saturating_mul(r as Weight)) + (522_886_000 as Weight) + // Standard Error: 1_395_000 + .saturating_add((69_190_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1570,9 +1574,9 @@ impl WeightInfo for () { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (208_866_000 as Weight) - // Standard Error: 164_000 - .saturating_add((133_438_000 as Weight).saturating_mul(r as Weight)) + (530_882_000 as Weight) + // Standard Error: 78_000 + .saturating_add((149_796_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1582,9 +1586,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (220_860_000 as Weight) - // Standard Error: 209_000 - .saturating_add((239_951_000 as Weight).saturating_mul(r as Weight)) + (531_892_000 as Weight) + // Standard Error: 109_000 + .saturating_add((276_080_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1596,11 +1600,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (439_782_000 as Weight) - // Standard Error: 1_643_000 - .saturating_add((264_687_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 323_000 - .saturating_add((67_636_000 as Weight).saturating_mul(n as Weight)) + (820_189_000 as Weight) + // Standard Error: 965_000 + .saturating_add((307_170_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 190_000 + .saturating_add((94_012_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1612,18 +1616,18 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (140_280_000 as Weight) - // Standard Error: 82_000 - .saturating_add((32_717_000 as Weight).saturating_mul(r as Weight)) + (319_351_000 as Weight) + // Standard Error: 43_000 + .saturating_add((35_387_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (161_247_000 as Weight) - // Standard Error: 883_000 - .saturating_add((423_997_000 as Weight).saturating_mul(r as Weight)) + (472_960_000 as Weight) + // Standard Error: 891_000 + .saturating_add((504_740_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1632,9 +1636,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (529_247_000 as Weight) - // Standard Error: 2_745_000 - .saturating_add((85_282_000 as Weight).saturating_mul(n as Weight)) + (909_523_000 as Weight) + // Standard Error: 3_216_000 + .saturating_add((129_689_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1643,9 +1647,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (529_812_000 as Weight) - // Standard Error: 2_513_000 - .saturating_add((74_554_000 as Weight).saturating_mul(n as Weight)) + (893_478_000 as Weight) + // Standard Error: 3_116_000 + .saturating_add((108_203_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1654,9 +1658,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (184_803_000 as Weight) - // Standard Error: 733_000 - .saturating_add((404_933_000 as Weight).saturating_mul(r as Weight)) + (501_276_000 as Weight) + // Standard Error: 731_000 + .saturating_add((491_386_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1665,9 +1669,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (500_958_000 as Weight) - // Standard Error: 2_980_000 - .saturating_add((75_996_000 as Weight).saturating_mul(n as Weight)) + (857_304_000 as Weight) + // Standard Error: 3_414_000 + .saturating_add((115_024_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(52 as Weight)) @@ -1676,9 +1680,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (177_682_000 as Weight) - // Standard Error: 743_000 - .saturating_add((338_172_000 as Weight).saturating_mul(r as Weight)) + (500_421_000 as Weight) + // Standard Error: 558_000 + .saturating_add((404_943_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1686,9 +1690,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (465_285_000 as Weight) - // Standard Error: 2_599_000 - .saturating_add((155_106_000 as Weight).saturating_mul(n as Weight)) + (800_960_000 as Weight) + // Standard Error: 2_717_000 + .saturating_add((235_505_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1696,9 +1700,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (179_118_000 as Weight) - // Standard Error: 572_000 - .saturating_add((311_083_000 as Weight).saturating_mul(r as Weight)) + (494_089_000 as Weight) + // Standard Error: 592_000 + .saturating_add((374_591_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1706,9 +1710,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (423_056_000 as Weight) - // Standard Error: 2_037_000 - .saturating_add((69_665_000 as Weight).saturating_mul(n as Weight)) + (761_553_000 as Weight) + // Standard Error: 2_538_000 + .saturating_add((108_021_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(54 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1716,9 +1720,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (188_884_000 as Weight) - // Standard Error: 761_000 - .saturating_add((432_781_000 as Weight).saturating_mul(r as Weight)) + (494_189_000 as Weight) + // Standard Error: 899_000 + .saturating_add((521_596_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1727,9 +1731,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (532_408_000 as Weight) - // Standard Error: 3_348_000 - .saturating_add((164_943_000 as Weight).saturating_mul(n as Weight)) + (885_904_000 as Weight) + // Standard Error: 3_818_000 + .saturating_add((247_870_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1741,9 +1745,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (127_181_000 as Weight) - // Standard Error: 1_495_000 - .saturating_add((1_500_589_000 as Weight).saturating_mul(r as Weight)) + (456_800_000 as Weight) + // Standard Error: 1_211_000 + .saturating_add((1_717_057_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1756,8 +1760,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_803_000 - .saturating_add((14_860_909_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_742_000 + .saturating_add((39_680_505_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1770,8 +1774,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_045_000 - .saturating_add((14_797_140_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 9_436_000 + .saturating_add((39_610_144_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1782,11 +1786,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (9_196_444_000 as Weight) - // Standard Error: 20_486_000 - .saturating_add((1_458_153_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 8_000 - .saturating_add((9_718_000 as Weight).saturating_mul(c as Weight)) + (22_235_832_000 as Weight) + // Standard Error: 28_189_000 + .saturating_add((2_114_063_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 12_000 + .saturating_add((12_266_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1801,8 +1805,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 36_253_000 - .saturating_add((21_201_529_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 84_665_000 + .saturating_add((49_986_054_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1817,11 +1821,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (12_282_498_000 as Weight) - // Standard Error: 48_112_000 - .saturating_add((720_795_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 22_000 - .saturating_add((124_274_000 as Weight).saturating_mul(s as Weight)) + (26_062_159_000 as Weight) + // Standard Error: 77_628_000 + .saturating_add((751_251_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 36_000 + .saturating_add((164_756_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1833,9 +1837,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_959_000 as Weight) - // Standard Error: 142_000 - .saturating_add((61_311_000 as Weight).saturating_mul(r as Weight)) + (521_493_000 as Weight) + // Standard Error: 62_000 + .saturating_add((69_063_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1845,9 +1849,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (349_915_000 as Weight) - // Standard Error: 40_000 - .saturating_add((320_652_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 75_000 + .saturating_add((391_347_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1857,9 +1861,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (209_219_000 as Weight) - // Standard Error: 157_000 - .saturating_add((73_728_000 as Weight).saturating_mul(r as Weight)) + (521_306_000 as Weight) + // Standard Error: 56_000 + .saturating_add((84_071_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1869,9 +1873,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (208_860_000 as Weight) - // Standard Error: 25_000 - .saturating_add((245_718_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 72_000 + .saturating_add((304_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1881,9 +1885,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (206_165_000 as Weight) - // Standard Error: 138_000 - .saturating_add((51_644_000 as Weight).saturating_mul(r as Weight)) + (520_535_000 as Weight) + // Standard Error: 57_000 + .saturating_add((57_635_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1893,9 +1897,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (255_955_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_090_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 65_000 + .saturating_add((128_105_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1905,9 +1909,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (208_153_000 as Weight) - // Standard Error: 140_000 - .saturating_add((51_264_000 as Weight).saturating_mul(r as Weight)) + (520_308_000 as Weight) + // Standard Error: 47_000 + .saturating_add((57_592_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1917,9 +1921,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (278_368_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_006_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 67_000 + .saturating_add((127_550_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1929,9 +1933,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (331_955_000 as Weight) - // Standard Error: 1_155_000 - .saturating_add((3_069_955_000 as Weight).saturating_mul(r as Weight)) + (715_182_000 as Weight) + // Standard Error: 817_000 + .saturating_add((3_727_403_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1941,9 +1945,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (207_838_000 as Weight) - // Standard Error: 783_000 - .saturating_add((2_058_503_000 as Weight).saturating_mul(r as Weight)) + (550_122_000 as Weight) + // Standard Error: 717_000 + .saturating_add((2_476_775_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1954,316 +1958,316 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 1_567_000 - .saturating_add((774_380_000 as Weight).saturating_mul(r as Weight)) + (43_673_000 as Weight) + // Standard Error: 1_881_000 + .saturating_add((906_154_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (73_955_000 as Weight) - // Standard Error: 1_000 - .saturating_add((612_000 as Weight).saturating_mul(r as Weight)) + (211_130_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_123_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (74_057_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + (213_650_000 as Weight) + // Standard Error: 8_000 + .saturating_add((3_358_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (74_137_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_427_000 as Weight).saturating_mul(r as Weight)) + (213_929_000 as Weight) + // Standard Error: 9_000 + .saturating_add((3_976_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (73_844_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_773_000 as Weight).saturating_mul(r as Weight)) + (210_632_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_054_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_952_000 as Weight).saturating_mul(r as Weight)) + (211_323_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_142_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (73_924_000 as Weight) - // Standard Error: 3_000 - .saturating_add((941_000 as Weight).saturating_mul(r as Weight)) + (210_638_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_784_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (73_574_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_439_000 as Weight).saturating_mul(r as Weight)) + (210_872_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_446_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (73_343_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_603_000 as Weight).saturating_mul(r as Weight)) + (209_994_000 as Weight) + // Standard Error: 8_000 + .saturating_add((2_897_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (76_267_000 as Weight) - // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) + (214_517_000 as Weight) + // Standard Error: 1_000 + .saturating_add((15_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (74_877_000 as Weight) - // Standard Error: 12_000 - .saturating_add((7_144_000 as Weight).saturating_mul(r as Weight)) + (211_334_000 as Weight) + // Standard Error: 6_000 + .saturating_add((8_347_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (88_665_000 as Weight) - // Standard Error: 20_000 - .saturating_add((9_142_000 as Weight).saturating_mul(r as Weight)) + (225_371_000 as Weight) + // Standard Error: 8_000 + .saturating_add((11_070_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (98_600_000 as Weight) + (238_044_000 as Weight) // Standard Error: 2_000 - .saturating_add((469_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((751_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((624_000 as Weight).saturating_mul(r as Weight)) + (211_397_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_113_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (74_329_000 as Weight) - // Standard Error: 1_000 - .saturating_add((688_000 as Weight).saturating_mul(r as Weight)) + (211_322_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_194_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (74_612_000 as Weight) - // Standard Error: 1_000 - .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) + (212_015_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_650_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (76_906_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_192_000 as Weight).saturating_mul(r as Weight)) + (215_153_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (76_979_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) + (215_656_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_145_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (74_370_000 as Weight) - // Standard Error: 3_000 - .saturating_add((661_000 as Weight).saturating_mul(r as Weight)) + (211_184_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_171_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (73_584_000 as Weight) - // Standard Error: 353_000 - .saturating_add((187_114_000 as Weight).saturating_mul(r as Weight)) + (211_049_000 as Weight) + // Standard Error: 1_030_000 + .saturating_add((346_920_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (74_206_000 as Weight) - // Standard Error: 1_000 - .saturating_add((884_000 as Weight).saturating_mul(r as Weight)) + (210_555_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_794_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (73_992_000 as Weight) - // Standard Error: 1_000 - .saturating_add((893_000 as Weight).saturating_mul(r as Weight)) + (210_972_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_786_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (73_985_000 as Weight) - // Standard Error: 2_000 - .saturating_add((891_000 as Weight).saturating_mul(r as Weight)) + (210_580_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (74_117_000 as Weight) - // Standard Error: 4_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + (211_472_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_765_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (73_981_000 as Weight) - // Standard Error: 1_000 - .saturating_add((866_000 as Weight).saturating_mul(r as Weight)) + (211_119_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_751_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (74_104_000 as Weight) - // Standard Error: 3_000 - .saturating_add((868_000 as Weight).saturating_mul(r as Weight)) + (209_901_000 as Weight) + // Standard Error: 6_000 + .saturating_add((1_807_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_293_000 as Weight) - // Standard Error: 3_000 - .saturating_add((878_000 as Weight).saturating_mul(r as Weight)) + (211_192_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_797_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (74_055_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + (210_388_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (73_710_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (211_227_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_460_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (73_917_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + (211_180_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (74_048_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (210_766_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (74_029_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_349_000 as Weight).saturating_mul(r as Weight)) + (210_706_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_479_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (74_267_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + (211_393_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (73_952_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_350_000 as Weight).saturating_mul(r as Weight)) + (210_431_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (73_851_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_368_000 as Weight).saturating_mul(r as Weight)) + (210_788_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_477_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (74_034_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) + (210_797_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_465_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (73_979_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) + (210_397_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_482_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (74_000_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_328_000 as Weight).saturating_mul(r as Weight)) + (210_937_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (73_883_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_331_000 as Weight).saturating_mul(r as Weight)) + (210_851_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_464_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (74_216_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + (210_942_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_467_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (73_989_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_998_000 as Weight).saturating_mul(r as Weight)) + (210_718_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_264_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (73_857_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_073_000 as Weight).saturating_mul(r as Weight)) + (210_468_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_204_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (73_801_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_027_000 as Weight).saturating_mul(r as Weight)) + (210_564_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_338_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (74_130_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) + (210_927_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_178_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (74_071_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) + (210_641_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (74_201_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_330_000 as Weight).saturating_mul(r as Weight)) + (210_726_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_487_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (74_241_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_321_000 as Weight).saturating_mul(r as Weight)) + (210_640_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (74_331_000 as Weight) + (210_467_000 as Weight) // Standard Error: 6_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (73_674_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) + (211_635_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_444_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (73_807_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + (210_614_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_497_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (73_725_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + (210_394_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_492_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (73_755_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + (211_159_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) } } From 88e8dfbd6093d192546a96b4381e719de3dfa699 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 15 Jul 2022 02:27:08 +0000 Subject: [PATCH 5/7] ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts --- frame/contracts/src/weights.rs | 1318 ++++++++++++++++---------------- 1 file changed, 659 insertions(+), 659 deletions(-) diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index b19c9dd559b72..8013aa7eeb9e6 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,12 +18,12 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `test-bench-bot`, CPU: `Intel(R) Xeon(R) CPU @ 3.10GHz` +//! DATE: 2022-07-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// target/production/substrate +// /home/benchbot/cargo_target_dir/production/substrate // benchmark // pallet // --steps=50 @@ -166,15 +166,15 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_766_000 as Weight) + (1_756_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 2_000 - .saturating_add((1_226_000 as Weight).saturating_mul(k as Weight)) + (8_503_000 as Weight) + // Standard Error: 1_000 + .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -182,9 +182,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (8_789_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_392_000 as Weight).saturating_mul(q as Weight)) + (8_023_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_989_000 as Weight).saturating_mul(q as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -192,9 +192,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (30_395_000 as Weight) + (17_714_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((46_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -204,9 +204,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (524_514_000 as Weight) + (206_019_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -220,9 +220,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (583_035_000 as Weight) + (263_813_000 as Weight) // Standard Error: 0 - .saturating_add((134_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -236,7 +236,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (351_940_000 as Weight) + (175_737_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) @@ -247,7 +247,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (317_878_000 as Weight) + (143_389_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -256,9 +256,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (69_860_000 as Weight) + (51_604_000 as Weight) // Standard Error: 0 - .saturating_add((57_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -266,14 +266,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (34_663_000 as Weight) + (29_906_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (33_263_000 as Weight) + (27_199_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -283,9 +283,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (524_231_000 as Weight) - // Standard Error: 45_000 - .saturating_add((44_403_000 as Weight).saturating_mul(r as Weight)) + (204_619_000 as Weight) + // Standard Error: 100_000 + .saturating_add((38_423_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -295,9 +295,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (380_647_000 as Weight) - // Standard Error: 859_000 - .saturating_add((373_122_000 as Weight).saturating_mul(r as Weight)) + (100_557_000 as Weight) + // Standard Error: 706_000 + .saturating_add((306_442_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -308,9 +308,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (420_244_000 as Weight) - // Standard Error: 974_000 - .saturating_add((433_070_000 as Weight).saturating_mul(r as Weight)) + (129_063_000 as Weight) + // Standard Error: 708_000 + .saturating_add((353_122_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -321,9 +321,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (525_980_000 as Weight) - // Standard Error: 45_000 - .saturating_add((48_371_000 as Weight).saturating_mul(r as Weight)) + (207_673_000 as Weight) + // Standard Error: 115_000 + .saturating_add((41_742_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -333,9 +333,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (520_532_000 as Weight) - // Standard Error: 48_000 - .saturating_add((18_845_000 as Weight).saturating_mul(r as Weight)) + (203_136_000 as Weight) + // Standard Error: 55_000 + .saturating_add((15_620_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -345,9 +345,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (526_913_000 as Weight) - // Standard Error: 58_000 - .saturating_add((44_469_000 as Weight).saturating_mul(r as Weight)) + (203_798_000 as Weight) + // Standard Error: 101_000 + .saturating_add((38_451_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -357,9 +357,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (526_008_000 as Weight) - // Standard Error: 49_000 - .saturating_add((43_687_000 as Weight).saturating_mul(r as Weight)) + (204_360_000 as Weight) + // Standard Error: 114_000 + .saturating_add((38_043_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -369,9 +369,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (530_689_000 as Weight) - // Standard Error: 60_000 - .saturating_add((129_620_000 as Weight).saturating_mul(r as Weight)) + (210_920_000 as Weight) + // Standard Error: 140_000 + .saturating_add((112_990_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -381,9 +381,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (526_781_000 as Weight) - // Standard Error: 54_000 - .saturating_add((43_928_000 as Weight).saturating_mul(r as Weight)) + (205_718_000 as Weight) + // Standard Error: 88_000 + .saturating_add((37_809_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -393,9 +393,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (524_363_000 as Weight) - // Standard Error: 53_000 - .saturating_add((44_091_000 as Weight).saturating_mul(r as Weight)) + (206_061_000 as Weight) + // Standard Error: 102_000 + .saturating_add((37_833_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -405,9 +405,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (525_733_000 as Weight) - // Standard Error: 54_000 - .saturating_add((43_710_000 as Weight).saturating_mul(r as Weight)) + (204_468_000 as Weight) + // Standard Error: 103_000 + .saturating_add((37_605_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -417,9 +417,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (525_788_000 as Weight) - // Standard Error: 49_000 - .saturating_add((43_929_000 as Weight).saturating_mul(r as Weight)) + (207_542_000 as Weight) + // Standard Error: 110_000 + .saturating_add((37_610_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -430,9 +430,9 @@ impl WeightInfo for SubstrateWeight { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (536_197_000 as Weight) - // Standard Error: 72_000 - .saturating_add((111_858_000 as Weight).saturating_mul(r as Weight)) + (206_514_000 as Weight) + // Standard Error: 151_000 + .saturating_add((97_193_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -442,9 +442,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (302_320_000 as Weight) - // Standard Error: 29_000 - .saturating_add((21_931_000 as Weight).saturating_mul(r as Weight)) + (128_263_000 as Weight) + // Standard Error: 39_000 + .saturating_add((18_451_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -454,9 +454,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (525_698_000 as Weight) - // Standard Error: 52_000 - .saturating_add((43_499_000 as Weight).saturating_mul(r as Weight)) + (204_290_000 as Weight) + // Standard Error: 107_000 + .saturating_add((37_419_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -466,9 +466,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (574_158_000 as Weight) - // Standard Error: 2_000 - .saturating_add((11_594_000 as Weight).saturating_mul(n as Weight)) + (264_098_000 as Weight) + // Standard Error: 3_000 + .saturating_add((9_644_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -478,9 +478,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - (513_307_000 as Weight) - // Standard Error: 869_000 - .saturating_add((3_689_000 as Weight).saturating_mul(r as Weight)) + (200_620_000 as Weight) + // Standard Error: 159_000 + .saturating_add((1_530_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -490,9 +490,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (516_927_000 as Weight) + (204_508_000 as Weight) // Standard Error: 0 - .saturating_add((346_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((181_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -504,9 +504,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (522_886_000 as Weight) - // Standard Error: 1_395_000 - .saturating_add((69_190_000 as Weight).saturating_mul(r as Weight)) + (205_375_000 as Weight) + // Standard Error: 742_000 + .saturating_add((53_509_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -519,9 +519,9 @@ impl WeightInfo for SubstrateWeight { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (530_882_000 as Weight) - // Standard Error: 78_000 - .saturating_add((149_796_000 as Weight).saturating_mul(r as Weight)) + (212_500_000 as Weight) + // Standard Error: 170_000 + .saturating_add((131_730_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -531,9 +531,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (531_892_000 as Weight) - // Standard Error: 109_000 - .saturating_add((276_080_000 as Weight).saturating_mul(r as Weight)) + (223_502_000 as Weight) + // Standard Error: 254_000 + .saturating_add((231_822_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -545,11 +545,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (820_189_000 as Weight) - // Standard Error: 965_000 - .saturating_add((307_170_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 190_000 - .saturating_add((94_012_000 as Weight).saturating_mul(n as Weight)) + (461_381_000 as Weight) + // Standard Error: 1_739_000 + .saturating_add((251_730_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 342_000 + .saturating_add((69_065_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -561,18 +561,18 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (319_351_000 as Weight) - // Standard Error: 43_000 - .saturating_add((35_387_000 as Weight).saturating_mul(r as Weight)) + (133_978_000 as Weight) + // Standard Error: 87_000 + .saturating_add((30_365_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (472_960_000 as Weight) - // Standard Error: 891_000 - .saturating_add((504_740_000 as Weight).saturating_mul(r as Weight)) + (164_513_000 as Weight) + // Standard Error: 788_000 + .saturating_add((411_291_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -581,9 +581,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (909_523_000 as Weight) - // Standard Error: 3_216_000 - .saturating_add((129_689_000 as Weight).saturating_mul(n as Weight)) + (514_488_000 as Weight) + // Standard Error: 2_521_000 + .saturating_add((84_397_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -592,9 +592,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (893_478_000 as Weight) - // Standard Error: 3_116_000 - .saturating_add((108_203_000 as Weight).saturating_mul(n as Weight)) + (511_623_000 as Weight) + // Standard Error: 2_484_000 + .saturating_add((76_019_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -603,9 +603,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (501_276_000 as Weight) - // Standard Error: 731_000 - .saturating_add((491_386_000 as Weight).saturating_mul(r as Weight)) + (170_223_000 as Weight) + // Standard Error: 762_000 + .saturating_add((403_609_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -614,9 +614,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (857_304_000 as Weight) - // Standard Error: 3_414_000 - .saturating_add((115_024_000 as Weight).saturating_mul(n as Weight)) + (484_087_000 as Weight) + // Standard Error: 2_768_000 + .saturating_add((79_735_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(52 as Weight)) @@ -625,9 +625,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (500_421_000 as Weight) - // Standard Error: 558_000 - .saturating_add((404_943_000 as Weight).saturating_mul(r as Weight)) + (171_959_000 as Weight) + // Standard Error: 643_000 + .saturating_add((332_258_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -635,9 +635,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (800_960_000 as Weight) - // Standard Error: 2_717_000 - .saturating_add((235_505_000 as Weight).saturating_mul(n as Weight)) + (441_740_000 as Weight) + // Standard Error: 2_188_000 + .saturating_add((164_663_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -645,9 +645,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (494_089_000 as Weight) - // Standard Error: 592_000 - .saturating_add((374_591_000 as Weight).saturating_mul(r as Weight)) + (171_332_000 as Weight) + // Standard Error: 594_000 + .saturating_add((304_144_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -655,9 +655,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (761_553_000 as Weight) - // Standard Error: 2_538_000 - .saturating_add((108_021_000 as Weight).saturating_mul(n as Weight)) + (413_837_000 as Weight) + // Standard Error: 1_934_000 + .saturating_add((70_653_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(54 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -665,9 +665,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (494_189_000 as Weight) - // Standard Error: 899_000 - .saturating_add((521_596_000 as Weight).saturating_mul(r as Weight)) + (170_083_000 as Weight) + // Standard Error: 835_000 + .saturating_add((427_307_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -676,9 +676,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (885_904_000 as Weight) - // Standard Error: 3_818_000 - .saturating_add((247_870_000 as Weight).saturating_mul(n as Weight)) + (515_748_000 as Weight) + // Standard Error: 3_112_000 + .saturating_add((173_010_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -690,9 +690,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (456_800_000 as Weight) - // Standard Error: 1_211_000 - .saturating_add((1_717_057_000 as Weight).saturating_mul(r as Weight)) + (176_126_000 as Weight) + // Standard Error: 1_069_000 + .saturating_add((1_459_393_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -704,9 +704,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 7_742_000 - .saturating_add((39_680_505_000 as Weight).saturating_mul(r as Weight)) + (81_565_000 as Weight) + // Standard Error: 2_977_000 + .saturating_add((14_581_397_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -719,8 +719,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 9_436_000 - .saturating_add((39_610_144_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 6_615_000 + .saturating_add((14_493_920_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -731,11 +731,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (22_235_832_000 as Weight) - // Standard Error: 28_189_000 - .saturating_add((2_114_063_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 12_000 - .saturating_add((12_266_000 as Weight).saturating_mul(c as Weight)) + (8_821_493_000 as Weight) + // Standard Error: 29_944_000 + .saturating_add((1_353_210_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 13_000 + .saturating_add((9_710_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -750,8 +750,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 84_665_000 - .saturating_add((49_986_054_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 35_251_000 + .saturating_add((20_943_607_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -766,11 +766,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (26_062_159_000 as Weight) - // Standard Error: 77_628_000 - .saturating_add((751_251_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 36_000 - .saturating_add((164_756_000 as Weight).saturating_mul(s as Weight)) + (11_829_006_000 as Weight) + // Standard Error: 56_881_000 + .saturating_add((540_681_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 26_000 + .saturating_add((124_032_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -782,9 +782,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (521_493_000 as Weight) - // Standard Error: 62_000 - .saturating_add((69_063_000 as Weight).saturating_mul(r as Weight)) + (203_055_000 as Weight) + // Standard Error: 124_000 + .saturating_add((58_794_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -794,9 +794,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 75_000 - .saturating_add((391_347_000 as Weight).saturating_mul(n as Weight)) + (48_382_000 as Weight) + // Standard Error: 41_000 + .saturating_add((322_467_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -806,9 +806,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (521_306_000 as Weight) - // Standard Error: 56_000 - .saturating_add((84_071_000 as Weight).saturating_mul(r as Weight)) + (201_803_000 as Weight) + // Standard Error: 136_000 + .saturating_add((71_357_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -818,9 +818,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 72_000 - .saturating_add((304_360_000 as Weight).saturating_mul(n as Weight)) + (166_233_000 as Weight) + // Standard Error: 30_000 + .saturating_add((245_555_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -830,9 +830,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (520_535_000 as Weight) - // Standard Error: 57_000 - .saturating_add((57_635_000 as Weight).saturating_mul(r as Weight)) + (203_845_000 as Weight) + // Standard Error: 135_000 + .saturating_add((48_969_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -842,9 +842,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 65_000 - .saturating_add((128_105_000 as Weight).saturating_mul(n as Weight)) + (215_970_000 as Weight) + // Standard Error: 16_000 + .saturating_add((95_172_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -854,9 +854,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (520_308_000 as Weight) - // Standard Error: 47_000 - .saturating_add((57_592_000 as Weight).saturating_mul(r as Weight)) + (204_528_000 as Weight) + // Standard Error: 118_000 + .saturating_add((48_428_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -866,9 +866,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 67_000 - .saturating_add((127_550_000 as Weight).saturating_mul(n as Weight)) + (209_566_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_159_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -878,9 +878,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (715_182_000 as Weight) - // Standard Error: 817_000 - .saturating_add((3_727_403_000 as Weight).saturating_mul(r as Weight)) + (330_839_000 as Weight) + // Standard Error: 1_035_000 + .saturating_add((3_067_131_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -890,9 +890,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (550_122_000 as Weight) - // Standard Error: 717_000 - .saturating_add((2_476_775_000 as Weight).saturating_mul(r as Weight)) + (225_702_000 as Weight) + // Standard Error: 704_000 + .saturating_add((2_078_648_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -903,317 +903,317 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { - (43_673_000 as Weight) - // Standard Error: 1_881_000 - .saturating_add((906_154_000 as Weight).saturating_mul(r as Weight)) + (0 as Weight) + // Standard Error: 1_635_000 + .saturating_add((766_729_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (211_130_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_123_000 as Weight).saturating_mul(r as Weight)) + (70_152_000 as Weight) + // Standard Error: 2_000 + .saturating_add((840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (213_650_000 as Weight) - // Standard Error: 8_000 - .saturating_add((3_358_000 as Weight).saturating_mul(r as Weight)) + (70_291_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_748_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (213_929_000 as Weight) - // Standard Error: 9_000 - .saturating_add((3_976_000 as Weight).saturating_mul(r as Weight)) + (70_135_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_262_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (210_632_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_054_000 as Weight).saturating_mul(r as Weight)) + (70_170_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_313_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (211_323_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_142_000 as Weight).saturating_mul(r as Weight)) + (69_722_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_474_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (210_638_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_784_000 as Weight).saturating_mul(r as Weight)) + (69_677_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_283_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (210_872_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_446_000 as Weight).saturating_mul(r as Weight)) + (68_725_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_890_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (209_994_000 as Weight) - // Standard Error: 8_000 - .saturating_add((2_897_000 as Weight).saturating_mul(r as Weight)) + (68_643_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_143_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (214_517_000 as Weight) - // Standard Error: 1_000 - .saturating_add((15_000 as Weight).saturating_mul(e as Weight)) + (72_940_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (211_334_000 as Weight) - // Standard Error: 6_000 - .saturating_add((8_347_000 as Weight).saturating_mul(r as Weight)) + (69_716_000 as Weight) + // Standard Error: 20_000 + .saturating_add((6_730_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (225_371_000 as Weight) - // Standard Error: 8_000 - .saturating_add((11_070_000 as Weight).saturating_mul(r as Weight)) + (83_046_000 as Weight) + // Standard Error: 15_000 + .saturating_add((8_399_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (238_044_000 as Weight) - // Standard Error: 2_000 - .saturating_add((751_000 as Weight).saturating_mul(p as Weight)) + (92_238_000 as Weight) + // Standard Error: 1_000 + .saturating_add((590_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (211_397_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_113_000 as Weight).saturating_mul(r as Weight)) + (70_349_000 as Weight) + // Standard Error: 2_000 + .saturating_add((874_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (211_322_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_194_000 as Weight).saturating_mul(r as Weight)) + (70_418_000 as Weight) + // Standard Error: 2_000 + .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (212_015_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_650_000 as Weight).saturating_mul(r as Weight)) + (70_168_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_221_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (215_153_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) + (73_732_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_431_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (215_656_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_145_000 as Weight).saturating_mul(r as Weight)) + (72_957_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_674_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (211_184_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_171_000 as Weight).saturating_mul(r as Weight)) + (70_276_000 as Weight) + // Standard Error: 2_000 + .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (211_049_000 as Weight) - // Standard Error: 1_030_000 - .saturating_add((346_920_000 as Weight).saturating_mul(r as Weight)) + (69_357_000 as Weight) + // Standard Error: 152_000 + .saturating_add((180_374_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (210_555_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_794_000 as Weight).saturating_mul(r as Weight)) + (69_957_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_307_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (210_972_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_786_000 as Weight).saturating_mul(r as Weight)) + (70_187_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (210_580_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) + (70_191_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (211_472_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_765_000 as Weight).saturating_mul(r as Weight)) + (70_174_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_306_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (211_119_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_751_000 as Weight).saturating_mul(r as Weight)) + (70_138_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (209_901_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_807_000 as Weight).saturating_mul(r as Weight)) + (70_238_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_274_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (211_192_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_797_000 as Weight).saturating_mul(r as Weight)) + (70_296_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_317_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (210_388_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) + (70_072_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (211_227_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_460_000 as Weight).saturating_mul(r as Weight)) + (69_878_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (211_180_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) + (70_404_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_808_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (210_766_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) + (70_008_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (210_706_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_479_000 as Weight).saturating_mul(r as Weight)) + (69_966_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (211_393_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) + (70_046_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (210_431_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) + (69_704_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_820_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (210_788_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_477_000 as Weight).saturating_mul(r as Weight)) + (69_861_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (210_797_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_465_000 as Weight).saturating_mul(r as Weight)) + (70_121_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (210_397_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_482_000 as Weight).saturating_mul(r as Weight)) + (69_972_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (210_937_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) + (70_190_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_810_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (210_851_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_464_000 as Weight).saturating_mul(r as Weight)) + (69_921_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (210_942_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_467_000 as Weight).saturating_mul(r as Weight)) + (70_077_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (210_718_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_264_000 as Weight).saturating_mul(r as Weight)) + (69_714_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (210_468_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_204_000 as Weight).saturating_mul(r as Weight)) + (69_579_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (210_564_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_338_000 as Weight).saturating_mul(r as Weight)) + (69_749_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (210_927_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_178_000 as Weight).saturating_mul(r as Weight)) + (70_037_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_424_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (210_641_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) + (69_974_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_832_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (210_726_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_487_000 as Weight).saturating_mul(r as Weight)) + (69_644_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (210_640_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) + (69_969_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (210_467_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) + (69_845_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_839_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (211_635_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_444_000 as Weight).saturating_mul(r as Weight)) + (69_770_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (210_614_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_497_000 as Weight).saturating_mul(r as Weight)) + (70_089_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (210_394_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_492_000 as Weight).saturating_mul(r as Weight)) + (69_923_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_843_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (211_159_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) + (69_687_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_852_000 as Weight).saturating_mul(r as Weight)) } } @@ -1221,15 +1221,15 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_766_000 as Weight) + (1_756_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 2_000 - .saturating_add((1_226_000 as Weight).saturating_mul(k as Weight)) + (8_503_000 as Weight) + // Standard Error: 1_000 + .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -1237,9 +1237,9 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (8_789_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_392_000 as Weight).saturating_mul(q as Weight)) + (8_023_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_989_000 as Weight).saturating_mul(q as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1247,9 +1247,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (30_395_000 as Weight) + (17_714_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((46_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1259,9 +1259,9 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (524_514_000 as Weight) + (206_019_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1275,9 +1275,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (583_035_000 as Weight) + (263_813_000 as Weight) // Standard Error: 0 - .saturating_add((134_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1291,7 +1291,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (351_940_000 as Weight) + (175_737_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) @@ -1302,7 +1302,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (317_878_000 as Weight) + (143_389_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1311,9 +1311,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (69_860_000 as Weight) + (51_604_000 as Weight) // Standard Error: 0 - .saturating_add((57_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1321,14 +1321,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (34_663_000 as Weight) + (29_906_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (33_263_000 as Weight) + (27_199_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1338,9 +1338,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (524_231_000 as Weight) - // Standard Error: 45_000 - .saturating_add((44_403_000 as Weight).saturating_mul(r as Weight)) + (204_619_000 as Weight) + // Standard Error: 100_000 + .saturating_add((38_423_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1350,9 +1350,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (380_647_000 as Weight) - // Standard Error: 859_000 - .saturating_add((373_122_000 as Weight).saturating_mul(r as Weight)) + (100_557_000 as Weight) + // Standard Error: 706_000 + .saturating_add((306_442_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1363,9 +1363,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (420_244_000 as Weight) - // Standard Error: 974_000 - .saturating_add((433_070_000 as Weight).saturating_mul(r as Weight)) + (129_063_000 as Weight) + // Standard Error: 708_000 + .saturating_add((353_122_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1376,9 +1376,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (525_980_000 as Weight) - // Standard Error: 45_000 - .saturating_add((48_371_000 as Weight).saturating_mul(r as Weight)) + (207_673_000 as Weight) + // Standard Error: 115_000 + .saturating_add((41_742_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1388,9 +1388,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (520_532_000 as Weight) - // Standard Error: 48_000 - .saturating_add((18_845_000 as Weight).saturating_mul(r as Weight)) + (203_136_000 as Weight) + // Standard Error: 55_000 + .saturating_add((15_620_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1400,9 +1400,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (526_913_000 as Weight) - // Standard Error: 58_000 - .saturating_add((44_469_000 as Weight).saturating_mul(r as Weight)) + (203_798_000 as Weight) + // Standard Error: 101_000 + .saturating_add((38_451_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1412,9 +1412,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (526_008_000 as Weight) - // Standard Error: 49_000 - .saturating_add((43_687_000 as Weight).saturating_mul(r as Weight)) + (204_360_000 as Weight) + // Standard Error: 114_000 + .saturating_add((38_043_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1424,9 +1424,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (530_689_000 as Weight) - // Standard Error: 60_000 - .saturating_add((129_620_000 as Weight).saturating_mul(r as Weight)) + (210_920_000 as Weight) + // Standard Error: 140_000 + .saturating_add((112_990_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1436,9 +1436,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (526_781_000 as Weight) - // Standard Error: 54_000 - .saturating_add((43_928_000 as Weight).saturating_mul(r as Weight)) + (205_718_000 as Weight) + // Standard Error: 88_000 + .saturating_add((37_809_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1448,9 +1448,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (524_363_000 as Weight) - // Standard Error: 53_000 - .saturating_add((44_091_000 as Weight).saturating_mul(r as Weight)) + (206_061_000 as Weight) + // Standard Error: 102_000 + .saturating_add((37_833_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1460,9 +1460,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (525_733_000 as Weight) - // Standard Error: 54_000 - .saturating_add((43_710_000 as Weight).saturating_mul(r as Weight)) + (204_468_000 as Weight) + // Standard Error: 103_000 + .saturating_add((37_605_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1472,9 +1472,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (525_788_000 as Weight) - // Standard Error: 49_000 - .saturating_add((43_929_000 as Weight).saturating_mul(r as Weight)) + (207_542_000 as Weight) + // Standard Error: 110_000 + .saturating_add((37_610_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1485,9 +1485,9 @@ impl WeightInfo for () { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (536_197_000 as Weight) - // Standard Error: 72_000 - .saturating_add((111_858_000 as Weight).saturating_mul(r as Weight)) + (206_514_000 as Weight) + // Standard Error: 151_000 + .saturating_add((97_193_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1497,9 +1497,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (302_320_000 as Weight) - // Standard Error: 29_000 - .saturating_add((21_931_000 as Weight).saturating_mul(r as Weight)) + (128_263_000 as Weight) + // Standard Error: 39_000 + .saturating_add((18_451_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1509,9 +1509,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (525_698_000 as Weight) - // Standard Error: 52_000 - .saturating_add((43_499_000 as Weight).saturating_mul(r as Weight)) + (204_290_000 as Weight) + // Standard Error: 107_000 + .saturating_add((37_419_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1521,9 +1521,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (574_158_000 as Weight) - // Standard Error: 2_000 - .saturating_add((11_594_000 as Weight).saturating_mul(n as Weight)) + (264_098_000 as Weight) + // Standard Error: 3_000 + .saturating_add((9_644_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1533,9 +1533,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - (513_307_000 as Weight) - // Standard Error: 869_000 - .saturating_add((3_689_000 as Weight).saturating_mul(r as Weight)) + (200_620_000 as Weight) + // Standard Error: 159_000 + .saturating_add((1_530_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1545,9 +1545,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (516_927_000 as Weight) + (204_508_000 as Weight) // Standard Error: 0 - .saturating_add((346_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((181_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1559,9 +1559,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (522_886_000 as Weight) - // Standard Error: 1_395_000 - .saturating_add((69_190_000 as Weight).saturating_mul(r as Weight)) + (205_375_000 as Weight) + // Standard Error: 742_000 + .saturating_add((53_509_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1574,9 +1574,9 @@ impl WeightInfo for () { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (530_882_000 as Weight) - // Standard Error: 78_000 - .saturating_add((149_796_000 as Weight).saturating_mul(r as Weight)) + (212_500_000 as Weight) + // Standard Error: 170_000 + .saturating_add((131_730_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1586,9 +1586,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (531_892_000 as Weight) - // Standard Error: 109_000 - .saturating_add((276_080_000 as Weight).saturating_mul(r as Weight)) + (223_502_000 as Weight) + // Standard Error: 254_000 + .saturating_add((231_822_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1600,11 +1600,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (820_189_000 as Weight) - // Standard Error: 965_000 - .saturating_add((307_170_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 190_000 - .saturating_add((94_012_000 as Weight).saturating_mul(n as Weight)) + (461_381_000 as Weight) + // Standard Error: 1_739_000 + .saturating_add((251_730_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 342_000 + .saturating_add((69_065_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1616,18 +1616,18 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (319_351_000 as Weight) - // Standard Error: 43_000 - .saturating_add((35_387_000 as Weight).saturating_mul(r as Weight)) + (133_978_000 as Weight) + // Standard Error: 87_000 + .saturating_add((30_365_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (472_960_000 as Weight) - // Standard Error: 891_000 - .saturating_add((504_740_000 as Weight).saturating_mul(r as Weight)) + (164_513_000 as Weight) + // Standard Error: 788_000 + .saturating_add((411_291_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1636,9 +1636,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (909_523_000 as Weight) - // Standard Error: 3_216_000 - .saturating_add((129_689_000 as Weight).saturating_mul(n as Weight)) + (514_488_000 as Weight) + // Standard Error: 2_521_000 + .saturating_add((84_397_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1647,9 +1647,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (893_478_000 as Weight) - // Standard Error: 3_116_000 - .saturating_add((108_203_000 as Weight).saturating_mul(n as Weight)) + (511_623_000 as Weight) + // Standard Error: 2_484_000 + .saturating_add((76_019_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1658,9 +1658,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (501_276_000 as Weight) - // Standard Error: 731_000 - .saturating_add((491_386_000 as Weight).saturating_mul(r as Weight)) + (170_223_000 as Weight) + // Standard Error: 762_000 + .saturating_add((403_609_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1669,9 +1669,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (857_304_000 as Weight) - // Standard Error: 3_414_000 - .saturating_add((115_024_000 as Weight).saturating_mul(n as Weight)) + (484_087_000 as Weight) + // Standard Error: 2_768_000 + .saturating_add((79_735_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(52 as Weight)) @@ -1680,9 +1680,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (500_421_000 as Weight) - // Standard Error: 558_000 - .saturating_add((404_943_000 as Weight).saturating_mul(r as Weight)) + (171_959_000 as Weight) + // Standard Error: 643_000 + .saturating_add((332_258_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1690,9 +1690,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (800_960_000 as Weight) - // Standard Error: 2_717_000 - .saturating_add((235_505_000 as Weight).saturating_mul(n as Weight)) + (441_740_000 as Weight) + // Standard Error: 2_188_000 + .saturating_add((164_663_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1700,9 +1700,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (494_089_000 as Weight) - // Standard Error: 592_000 - .saturating_add((374_591_000 as Weight).saturating_mul(r as Weight)) + (171_332_000 as Weight) + // Standard Error: 594_000 + .saturating_add((304_144_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1710,9 +1710,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (761_553_000 as Weight) - // Standard Error: 2_538_000 - .saturating_add((108_021_000 as Weight).saturating_mul(n as Weight)) + (413_837_000 as Weight) + // Standard Error: 1_934_000 + .saturating_add((70_653_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(54 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1720,9 +1720,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (494_189_000 as Weight) - // Standard Error: 899_000 - .saturating_add((521_596_000 as Weight).saturating_mul(r as Weight)) + (170_083_000 as Weight) + // Standard Error: 835_000 + .saturating_add((427_307_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1731,9 +1731,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (885_904_000 as Weight) - // Standard Error: 3_818_000 - .saturating_add((247_870_000 as Weight).saturating_mul(n as Weight)) + (515_748_000 as Weight) + // Standard Error: 3_112_000 + .saturating_add((173_010_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1745,9 +1745,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (456_800_000 as Weight) - // Standard Error: 1_211_000 - .saturating_add((1_717_057_000 as Weight).saturating_mul(r as Weight)) + (176_126_000 as Weight) + // Standard Error: 1_069_000 + .saturating_add((1_459_393_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1759,9 +1759,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 7_742_000 - .saturating_add((39_680_505_000 as Weight).saturating_mul(r as Weight)) + (81_565_000 as Weight) + // Standard Error: 2_977_000 + .saturating_add((14_581_397_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1774,8 +1774,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 9_436_000 - .saturating_add((39_610_144_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 6_615_000 + .saturating_add((14_493_920_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1786,11 +1786,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (22_235_832_000 as Weight) - // Standard Error: 28_189_000 - .saturating_add((2_114_063_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 12_000 - .saturating_add((12_266_000 as Weight).saturating_mul(c as Weight)) + (8_821_493_000 as Weight) + // Standard Error: 29_944_000 + .saturating_add((1_353_210_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 13_000 + .saturating_add((9_710_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1805,8 +1805,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 84_665_000 - .saturating_add((49_986_054_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 35_251_000 + .saturating_add((20_943_607_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1821,11 +1821,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (26_062_159_000 as Weight) - // Standard Error: 77_628_000 - .saturating_add((751_251_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 36_000 - .saturating_add((164_756_000 as Weight).saturating_mul(s as Weight)) + (11_829_006_000 as Weight) + // Standard Error: 56_881_000 + .saturating_add((540_681_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 26_000 + .saturating_add((124_032_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1837,9 +1837,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (521_493_000 as Weight) - // Standard Error: 62_000 - .saturating_add((69_063_000 as Weight).saturating_mul(r as Weight)) + (203_055_000 as Weight) + // Standard Error: 124_000 + .saturating_add((58_794_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1849,9 +1849,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 75_000 - .saturating_add((391_347_000 as Weight).saturating_mul(n as Weight)) + (48_382_000 as Weight) + // Standard Error: 41_000 + .saturating_add((322_467_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1861,9 +1861,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (521_306_000 as Weight) - // Standard Error: 56_000 - .saturating_add((84_071_000 as Weight).saturating_mul(r as Weight)) + (201_803_000 as Weight) + // Standard Error: 136_000 + .saturating_add((71_357_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1873,9 +1873,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 72_000 - .saturating_add((304_360_000 as Weight).saturating_mul(n as Weight)) + (166_233_000 as Weight) + // Standard Error: 30_000 + .saturating_add((245_555_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1885,9 +1885,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (520_535_000 as Weight) - // Standard Error: 57_000 - .saturating_add((57_635_000 as Weight).saturating_mul(r as Weight)) + (203_845_000 as Weight) + // Standard Error: 135_000 + .saturating_add((48_969_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1897,9 +1897,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 65_000 - .saturating_add((128_105_000 as Weight).saturating_mul(n as Weight)) + (215_970_000 as Weight) + // Standard Error: 16_000 + .saturating_add((95_172_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1909,9 +1909,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (520_308_000 as Weight) - // Standard Error: 47_000 - .saturating_add((57_592_000 as Weight).saturating_mul(r as Weight)) + (204_528_000 as Weight) + // Standard Error: 118_000 + .saturating_add((48_428_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1921,9 +1921,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 67_000 - .saturating_add((127_550_000 as Weight).saturating_mul(n as Weight)) + (209_566_000 as Weight) + // Standard Error: 14_000 + .saturating_add((95_159_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1933,9 +1933,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (715_182_000 as Weight) - // Standard Error: 817_000 - .saturating_add((3_727_403_000 as Weight).saturating_mul(r as Weight)) + (330_839_000 as Weight) + // Standard Error: 1_035_000 + .saturating_add((3_067_131_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1945,9 +1945,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (550_122_000 as Weight) - // Standard Error: 717_000 - .saturating_add((2_476_775_000 as Weight).saturating_mul(r as Weight)) + (225_702_000 as Weight) + // Standard Error: 704_000 + .saturating_add((2_078_648_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1958,316 +1958,316 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:16 w:16) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { - (43_673_000 as Weight) - // Standard Error: 1_881_000 - .saturating_add((906_154_000 as Weight).saturating_mul(r as Weight)) + (0 as Weight) + // Standard Error: 1_635_000 + .saturating_add((766_729_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (211_130_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_123_000 as Weight).saturating_mul(r as Weight)) + (70_152_000 as Weight) + // Standard Error: 2_000 + .saturating_add((840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (213_650_000 as Weight) - // Standard Error: 8_000 - .saturating_add((3_358_000 as Weight).saturating_mul(r as Weight)) + (70_291_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_748_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (213_929_000 as Weight) - // Standard Error: 9_000 - .saturating_add((3_976_000 as Weight).saturating_mul(r as Weight)) + (70_135_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_262_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (210_632_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_054_000 as Weight).saturating_mul(r as Weight)) + (70_170_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_313_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (211_323_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_142_000 as Weight).saturating_mul(r as Weight)) + (69_722_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_474_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (210_638_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_784_000 as Weight).saturating_mul(r as Weight)) + (69_677_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_283_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (210_872_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_446_000 as Weight).saturating_mul(r as Weight)) + (68_725_000 as Weight) + // Standard Error: 7_000 + .saturating_add((1_890_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (209_994_000 as Weight) - // Standard Error: 8_000 - .saturating_add((2_897_000 as Weight).saturating_mul(r as Weight)) + (68_643_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_143_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (214_517_000 as Weight) - // Standard Error: 1_000 - .saturating_add((15_000 as Weight).saturating_mul(e as Weight)) + (72_940_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (211_334_000 as Weight) - // Standard Error: 6_000 - .saturating_add((8_347_000 as Weight).saturating_mul(r as Weight)) + (69_716_000 as Weight) + // Standard Error: 20_000 + .saturating_add((6_730_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (225_371_000 as Weight) - // Standard Error: 8_000 - .saturating_add((11_070_000 as Weight).saturating_mul(r as Weight)) + (83_046_000 as Weight) + // Standard Error: 15_000 + .saturating_add((8_399_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (238_044_000 as Weight) - // Standard Error: 2_000 - .saturating_add((751_000 as Weight).saturating_mul(p as Weight)) + (92_238_000 as Weight) + // Standard Error: 1_000 + .saturating_add((590_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (211_397_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_113_000 as Weight).saturating_mul(r as Weight)) + (70_349_000 as Weight) + // Standard Error: 2_000 + .saturating_add((874_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (211_322_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_194_000 as Weight).saturating_mul(r as Weight)) + (70_418_000 as Weight) + // Standard Error: 2_000 + .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (212_015_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_650_000 as Weight).saturating_mul(r as Weight)) + (70_168_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_221_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (215_153_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) + (73_732_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_431_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (215_656_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_145_000 as Weight).saturating_mul(r as Weight)) + (72_957_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_674_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (211_184_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_171_000 as Weight).saturating_mul(r as Weight)) + (70_276_000 as Weight) + // Standard Error: 2_000 + .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (211_049_000 as Weight) - // Standard Error: 1_030_000 - .saturating_add((346_920_000 as Weight).saturating_mul(r as Weight)) + (69_357_000 as Weight) + // Standard Error: 152_000 + .saturating_add((180_374_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (210_555_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_794_000 as Weight).saturating_mul(r as Weight)) + (69_957_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_307_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (210_972_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_786_000 as Weight).saturating_mul(r as Weight)) + (70_187_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (210_580_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) + (70_191_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (211_472_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_765_000 as Weight).saturating_mul(r as Weight)) + (70_174_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_306_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (211_119_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_751_000 as Weight).saturating_mul(r as Weight)) + (70_138_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (209_901_000 as Weight) - // Standard Error: 6_000 - .saturating_add((1_807_000 as Weight).saturating_mul(r as Weight)) + (70_238_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_274_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (211_192_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_797_000 as Weight).saturating_mul(r as Weight)) + (70_296_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_317_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (210_388_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) + (70_072_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (211_227_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_460_000 as Weight).saturating_mul(r as Weight)) + (69_878_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (211_180_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) + (70_404_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_808_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (210_766_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) + (70_008_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (210_706_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_479_000 as Weight).saturating_mul(r as Weight)) + (69_966_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (211_393_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) + (70_046_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (210_431_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) + (69_704_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_820_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (210_788_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_477_000 as Weight).saturating_mul(r as Weight)) + (69_861_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (210_797_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_465_000 as Weight).saturating_mul(r as Weight)) + (70_121_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (210_397_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_482_000 as Weight).saturating_mul(r as Weight)) + (69_972_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (210_937_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_478_000 as Weight).saturating_mul(r as Weight)) + (70_190_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_810_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (210_851_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_464_000 as Weight).saturating_mul(r as Weight)) + (69_921_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (210_942_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_467_000 as Weight).saturating_mul(r as Weight)) + (70_077_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (210_718_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_264_000 as Weight).saturating_mul(r as Weight)) + (69_714_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (210_468_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_204_000 as Weight).saturating_mul(r as Weight)) + (69_579_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (210_564_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_338_000 as Weight).saturating_mul(r as Weight)) + (69_749_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (210_927_000 as Weight) - // Standard Error: 6_000 - .saturating_add((3_178_000 as Weight).saturating_mul(r as Weight)) + (70_037_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_424_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (210_641_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) + (69_974_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_832_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (210_726_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_487_000 as Weight).saturating_mul(r as Weight)) + (69_644_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (210_640_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_476_000 as Weight).saturating_mul(r as Weight)) + (69_969_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (210_467_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_489_000 as Weight).saturating_mul(r as Weight)) + (69_845_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_839_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (211_635_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_444_000 as Weight).saturating_mul(r as Weight)) + (69_770_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (210_614_000 as Weight) - // Standard Error: 7_000 - .saturating_add((2_497_000 as Weight).saturating_mul(r as Weight)) + (70_089_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (210_394_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_492_000 as Weight).saturating_mul(r as Weight)) + (69_923_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_843_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (211_159_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_472_000 as Weight).saturating_mul(r as Weight)) + (69_687_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_852_000 as Weight).saturating_mul(r as Weight)) } } From d271a9ec87cb5c6e5081e6c12b820435b55a7925 Mon Sep 17 00:00:00 2001 From: Alexander Gryaznov Date: Tue, 26 Jul 2022 17:07:26 +0300 Subject: [PATCH 6/7] whitelist hashes of the keys --- frame/contracts/src/benchmarking/mod.rs | 56 ++++++++++++++++--------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index 69064dc9ce51f..2aa9367e99212 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -991,16 +991,19 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![]), None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) @@ -1041,17 +1044,20 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); - } + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); + } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) @@ -1140,16 +1146,19 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); } let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) @@ -1250,16 +1259,19 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); @@ -1348,16 +1360,19 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); @@ -1458,16 +1473,19 @@ benchmarks! { let instance = Contract::::new(code, vec![])?; let info = instance.info()?; for key in keys { + let key = &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?; Storage::::write( &info.trie_id, - &VarSizedKey::::try_from(key.clone()).map_err(|e| "Key has wrong length")?, + key, Some(vec![42u8; (n * 2048) as usize]), // value_len increments by 2kb up to max payload_len None, false, ) .map_err(|_| "Failed to write to storage during setup.")?; - // Whitelist the key from further DB operations - frame_benchmarking::benchmarking::add_to_whitelist(key.into()); + // Whitelist the key hash from further DB operations + let hash = + ::MaxStorageKeyLen> as exec::StorageKey>::hash(key); + frame_benchmarking::benchmarking::add_to_whitelist(hash.into()); } >::insert(&instance.account_id, info); let origin = RawOrigin::Signed(instance.caller.clone()); From 2a68ab1722ac16f96914dbf94a3a8322bc97846f Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Tue, 26 Jul 2022 16:43:01 +0000 Subject: [PATCH 7/7] ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts --- frame/contracts/src/weights.rs | 1242 ++++++++++++++++---------------- 1 file changed, 617 insertions(+), 625 deletions(-) diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 8013aa7eeb9e6..e2febcef0c17e 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-07-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -166,15 +166,15 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_756_000 as Weight) + (1_753_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_503_000 as Weight) - // Standard Error: 1_000 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + (8_064_000 as Weight) + // Standard Error: 0 + .saturating_add((861_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -182,9 +182,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (8_023_000 as Weight) + (7_970_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_989_000 as Weight).saturating_mul(q as Weight)) + .saturating_add((2_051_000 as Weight).saturating_mul(q as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -192,7 +192,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (17_714_000 as Weight) + (23_757_000 as Weight) // Standard Error: 0 .saturating_add((46_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -204,7 +204,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (206_019_000 as Weight) + (303_360_000 as Weight) // Standard Error: 0 .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) @@ -220,9 +220,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (263_813_000 as Weight) + (337_625_000 as Weight) // Standard Error: 0 - .saturating_add((115_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((112_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -236,7 +236,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (175_737_000 as Weight) + (223_681_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) @@ -247,7 +247,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (143_389_000 as Weight) + (202_084_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -256,7 +256,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (51_604_000 as Weight) + (49_472_000 as Weight) // Standard Error: 0 .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -266,14 +266,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (29_906_000 as Weight) + (29_702_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_199_000 as Weight) + (27_503_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -283,9 +283,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (204_619_000 as Weight) - // Standard Error: 100_000 - .saturating_add((38_423_000 as Weight).saturating_mul(r as Weight)) + (302_574_000 as Weight) + // Standard Error: 87_000 + .saturating_add((37_851_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -295,9 +295,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (100_557_000 as Weight) - // Standard Error: 706_000 - .saturating_add((306_442_000 as Weight).saturating_mul(r as Weight)) + (215_071_000 as Weight) + // Standard Error: 622_000 + .saturating_add((299_936_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -308,9 +308,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (129_063_000 as Weight) - // Standard Error: 708_000 - .saturating_add((353_122_000 as Weight).saturating_mul(r as Weight)) + (210_855_000 as Weight) + // Standard Error: 629_000 + .saturating_add((352_470_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -321,9 +321,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (207_673_000 as Weight) - // Standard Error: 115_000 - .saturating_add((41_742_000 as Weight).saturating_mul(r as Weight)) + (304_398_000 as Weight) + // Standard Error: 113_000 + .saturating_add((41_142_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -333,9 +333,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (203_136_000 as Weight) - // Standard Error: 55_000 - .saturating_add((15_620_000 as Weight).saturating_mul(r as Weight)) + (302_408_000 as Weight) + // Standard Error: 60_000 + .saturating_add((15_799_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -345,9 +345,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (203_798_000 as Weight) - // Standard Error: 101_000 - .saturating_add((38_451_000 as Weight).saturating_mul(r as Weight)) + (305_597_000 as Weight) + // Standard Error: 79_000 + .saturating_add((37_219_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -357,9 +357,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (204_360_000 as Weight) - // Standard Error: 114_000 - .saturating_add((38_043_000 as Weight).saturating_mul(r as Weight)) + (302_870_000 as Weight) + // Standard Error: 97_000 + .saturating_add((37_366_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -369,9 +369,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (210_920_000 as Weight) - // Standard Error: 140_000 - .saturating_add((112_990_000 as Weight).saturating_mul(r as Weight)) + (306_747_000 as Weight) + // Standard Error: 142_000 + .saturating_add((109_298_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -381,9 +381,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (205_718_000 as Weight) - // Standard Error: 88_000 - .saturating_add((37_809_000 as Weight).saturating_mul(r as Weight)) + (304_803_000 as Weight) + // Standard Error: 91_000 + .saturating_add((37_304_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -393,9 +393,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (206_061_000 as Weight) - // Standard Error: 102_000 - .saturating_add((37_833_000 as Weight).saturating_mul(r as Weight)) + (304_540_000 as Weight) + // Standard Error: 113_000 + .saturating_add((37_341_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -405,9 +405,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (204_468_000 as Weight) - // Standard Error: 103_000 - .saturating_add((37_605_000 as Weight).saturating_mul(r as Weight)) + (302_861_000 as Weight) + // Standard Error: 95_000 + .saturating_add((36_895_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -417,9 +417,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (207_542_000 as Weight) - // Standard Error: 110_000 - .saturating_add((37_610_000 as Weight).saturating_mul(r as Weight)) + (310_057_000 as Weight) + // Standard Error: 105_000 + .saturating_add((36_665_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -430,9 +430,9 @@ impl WeightInfo for SubstrateWeight { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (206_514_000 as Weight) + (310_090_000 as Weight) // Standard Error: 151_000 - .saturating_add((97_193_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((95_529_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -442,9 +442,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (128_263_000 as Weight) - // Standard Error: 39_000 - .saturating_add((18_451_000 as Weight).saturating_mul(r as Weight)) + (182_671_000 as Weight) + // Standard Error: 69_000 + .saturating_add((18_417_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -454,9 +454,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (204_290_000 as Weight) - // Standard Error: 107_000 - .saturating_add((37_419_000 as Weight).saturating_mul(r as Weight)) + (302_750_000 as Weight) + // Standard Error: 99_000 + .saturating_add((36_923_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -466,9 +466,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (264_098_000 as Weight) - // Standard Error: 3_000 - .saturating_add((9_644_000 as Weight).saturating_mul(n as Weight)) + (368_964_000 as Weight) + // Standard Error: 4_000 + .saturating_add((9_636_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -477,10 +477,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. - fn seal_return(r: u32, ) -> Weight { - (200_620_000 as Weight) - // Standard Error: 159_000 - .saturating_add((1_530_000 as Weight).saturating_mul(r as Weight)) + fn seal_return(_r: u32, ) -> Weight { + (301_401_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -490,9 +488,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (204_508_000 as Weight) - // Standard Error: 0 - .saturating_add((181_000 as Weight).saturating_mul(n as Weight)) + (301_345_000 as Weight) + // Standard Error: 1_000 + .saturating_add((233_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -504,9 +502,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (205_375_000 as Weight) - // Standard Error: 742_000 - .saturating_add((53_509_000 as Weight).saturating_mul(r as Weight)) + (307_717_000 as Weight) + // Standard Error: 2_032_000 + .saturating_add((51_137_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -519,9 +517,9 @@ impl WeightInfo for SubstrateWeight { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (212_500_000 as Weight) - // Standard Error: 170_000 - .saturating_add((131_730_000 as Weight).saturating_mul(r as Weight)) + (311_189_000 as Weight) + // Standard Error: 159_000 + .saturating_add((125_280_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -531,9 +529,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (223_502_000 as Weight) - // Standard Error: 254_000 - .saturating_add((231_822_000 as Weight).saturating_mul(r as Weight)) + (316_833_000 as Weight) + // Standard Error: 158_000 + .saturating_add((228_482_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -545,11 +543,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (461_381_000 as Weight) - // Standard Error: 1_739_000 - .saturating_add((251_730_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 342_000 - .saturating_add((69_065_000 as Weight).saturating_mul(n as Weight)) + (585_877_000 as Weight) + // Standard Error: 1_756_000 + .saturating_add((248_232_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 346_000 + .saturating_add((68_993_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -561,18 +559,18 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (133_978_000 as Weight) - // Standard Error: 87_000 - .saturating_add((30_365_000 as Weight).saturating_mul(r as Weight)) + (191_314_000 as Weight) + // Standard Error: 60_000 + .saturating_add((29_703_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (164_513_000 as Weight) - // Standard Error: 788_000 - .saturating_add((411_291_000 as Weight).saturating_mul(r as Weight)) + (268_331_000 as Weight) + // Standard Error: 677_000 + .saturating_add((417_892_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -581,9 +579,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (514_488_000 as Weight) - // Standard Error: 2_521_000 - .saturating_add((84_397_000 as Weight).saturating_mul(n as Weight)) + (620_127_000 as Weight) + // Standard Error: 2_607_000 + .saturating_add((92_686_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -592,9 +590,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (511_623_000 as Weight) - // Standard Error: 2_484_000 - .saturating_add((76_019_000 as Weight).saturating_mul(n as Weight)) + (616_042_000 as Weight) + // Standard Error: 2_555_000 + .saturating_add((75_524_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -603,9 +601,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (170_223_000 as Weight) - // Standard Error: 762_000 - .saturating_add((403_609_000 as Weight).saturating_mul(r as Weight)) + (277_436_000 as Weight) + // Standard Error: 693_000 + .saturating_add((401_101_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -614,9 +612,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (484_087_000 as Weight) - // Standard Error: 2_768_000 - .saturating_add((79_735_000 as Weight).saturating_mul(n as Weight)) + (589_464_000 as Weight) + // Standard Error: 2_743_000 + .saturating_add((77_448_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(52 as Weight)) @@ -625,9 +623,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (171_959_000 as Weight) - // Standard Error: 643_000 - .saturating_add((332_258_000 as Weight).saturating_mul(r as Weight)) + (276_842_000 as Weight) + // Standard Error: 669_000 + .saturating_add((333_508_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -635,9 +633,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (441_740_000 as Weight) - // Standard Error: 2_188_000 - .saturating_add((164_663_000 as Weight).saturating_mul(n as Weight)) + (545_020_000 as Weight) + // Standard Error: 2_248_000 + .saturating_add((171_299_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -645,9 +643,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (171_332_000 as Weight) - // Standard Error: 594_000 - .saturating_add((304_144_000 as Weight).saturating_mul(r as Weight)) + (278_470_000 as Weight) + // Standard Error: 578_000 + .saturating_add((306_348_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -655,9 +653,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (413_837_000 as Weight) - // Standard Error: 1_934_000 - .saturating_add((70_653_000 as Weight).saturating_mul(n as Weight)) + (513_764_000 as Weight) + // Standard Error: 1_912_000 + .saturating_add((71_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(54 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -665,9 +663,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (170_083_000 as Weight) - // Standard Error: 835_000 - .saturating_add((427_307_000 as Weight).saturating_mul(r as Weight)) + (276_081_000 as Weight) + // Standard Error: 680_000 + .saturating_add((429_043_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -676,9 +674,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (515_748_000 as Weight) - // Standard Error: 3_112_000 - .saturating_add((173_010_000 as Weight).saturating_mul(n as Weight)) + (617_860_000 as Weight) + // Standard Error: 3_154_000 + .saturating_add((179_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(55 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(53 as Weight)) @@ -690,9 +688,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (176_126_000 as Weight) - // Standard Error: 1_069_000 - .saturating_add((1_459_393_000 as Weight).saturating_mul(r as Weight)) + (283_152_000 as Weight) + // Standard Error: 1_091_000 + .saturating_add((1_428_998_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -704,9 +702,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { - (81_565_000 as Weight) - // Standard Error: 2_977_000 - .saturating_add((14_581_397_000 as Weight).saturating_mul(r as Weight)) + (65_748_000 as Weight) + // Standard Error: 2_595_000 + .saturating_add((22_641_632_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -719,8 +717,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_615_000 - .saturating_add((14_493_920_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_168_000 + .saturating_add((22_683_551_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -731,11 +729,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (8_821_493_000 as Weight) - // Standard Error: 29_944_000 - .saturating_add((1_353_210_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 13_000 - .saturating_add((9_710_000 as Weight).saturating_mul(c as Weight)) + (13_070_337_000 as Weight) + // Standard Error: 40_124_000 + .saturating_add((1_461_128_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 17_000 + .saturating_add((9_804_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(85 as Weight)) .saturating_add(T::DbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(81 as Weight)) @@ -750,8 +748,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 35_251_000 - .saturating_add((20_943_607_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 36_064_000 + .saturating_add((28_845_372_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -766,11 +764,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (11_829_006_000 as Weight) - // Standard Error: 56_881_000 - .saturating_add((540_681_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 26_000 - .saturating_add((124_032_000 as Weight).saturating_mul(s as Weight)) + (16_330_217_000 as Weight) + // Standard Error: 97_000 + .saturating_add((129_435_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(167 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(165 as Weight)) @@ -782,9 +778,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_055_000 as Weight) + (303_966_000 as Weight) // Standard Error: 124_000 - .saturating_add((58_794_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((58_002_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -794,9 +790,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (48_382_000 as Weight) - // Standard Error: 41_000 - .saturating_add((322_467_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 93_000 + .saturating_add((327_679_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -806,9 +802,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (201_803_000 as Weight) - // Standard Error: 136_000 - .saturating_add((71_357_000 as Weight).saturating_mul(r as Weight)) + (300_821_000 as Weight) + // Standard Error: 137_000 + .saturating_add((70_923_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -818,9 +814,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (166_233_000 as Weight) - // Standard Error: 30_000 - .saturating_add((245_555_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 99_000 + .saturating_add((251_170_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -830,9 +826,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (203_845_000 as Weight) - // Standard Error: 135_000 - .saturating_add((48_969_000 as Weight).saturating_mul(r as Weight)) + (300_542_000 as Weight) + // Standard Error: 109_000 + .saturating_add((48_624_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -842,9 +838,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (215_970_000 as Weight) - // Standard Error: 16_000 - .saturating_add((95_172_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 80_000 + .saturating_add((100_848_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -854,9 +850,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (204_528_000 as Weight) - // Standard Error: 118_000 - .saturating_add((48_428_000 as Weight).saturating_mul(r as Weight)) + (302_858_000 as Weight) + // Standard Error: 110_000 + .saturating_add((48_145_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -866,9 +862,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (209_566_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_159_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 78_000 + .saturating_add((100_621_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -878,9 +874,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (330_839_000 as Weight) - // Standard Error: 1_035_000 - .saturating_add((3_067_131_000 as Weight).saturating_mul(r as Weight)) + (455_958_000 as Weight) + // Standard Error: 1_076_000 + .saturating_add((2_969_292_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -890,9 +886,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (225_702_000 as Weight) - // Standard Error: 704_000 - .saturating_add((2_078_648_000 as Weight).saturating_mul(r as Weight)) + (294_454_000 as Weight) + // Standard Error: 679_000 + .saturating_add((2_069_791_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -904,316 +900,316 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_635_000 - .saturating_add((766_729_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_430_000 + .saturating_add((746_760_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (70_152_000 as Weight) - // Standard Error: 2_000 - .saturating_add((840_000 as Weight).saturating_mul(r as Weight)) + (118_803_000 as Weight) + // Standard Error: 4_000 + .saturating_add((842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (70_291_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_748_000 as Weight).saturating_mul(r as Weight)) + (118_707_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_743_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (70_135_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_262_000 as Weight).saturating_mul(r as Weight)) + (118_923_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_209_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (70_170_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_313_000 as Weight).saturating_mul(r as Weight)) + (118_548_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_315_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (69_722_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_474_000 as Weight).saturating_mul(r as Weight)) + (118_425_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_470_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (69_677_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_283_000 as Weight).saturating_mul(r as Weight)) + (118_005_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (68_725_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_890_000 as Weight).saturating_mul(r as Weight)) + (118_193_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_835_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (68_643_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_143_000 as Weight).saturating_mul(r as Weight)) + (117_876_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_059_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (72_940_000 as Weight) + (121_164_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((5_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (69_716_000 as Weight) - // Standard Error: 20_000 - .saturating_add((6_730_000 as Weight).saturating_mul(r as Weight)) + (120_537_000 as Weight) + // Standard Error: 23_000 + .saturating_add((6_537_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (83_046_000 as Weight) + (132_347_000 as Weight) // Standard Error: 15_000 - .saturating_add((8_399_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((8_433_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (92_238_000 as Weight) - // Standard Error: 1_000 - .saturating_add((590_000 as Weight).saturating_mul(p as Weight)) + (141_458_000 as Weight) + // Standard Error: 0 + .saturating_add((598_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (70_349_000 as Weight) + (119_164_000 as Weight) // Standard Error: 2_000 .saturating_add((874_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (70_418_000 as Weight) + (119_306_000 as Weight) // Standard Error: 2_000 - .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((900_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (70_168_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_221_000 as Weight).saturating_mul(r as Weight)) + (119_191_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_214_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (73_732_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_431_000 as Weight).saturating_mul(r as Weight)) + (121_556_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_465_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (72_957_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_674_000 as Weight).saturating_mul(r as Weight)) + (121_143_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_687_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (70_276_000 as Weight) - // Standard Error: 2_000 - .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) + (118_356_000 as Weight) + // Standard Error: 1_000 + .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (69_357_000 as Weight) - // Standard Error: 152_000 - .saturating_add((180_374_000 as Weight).saturating_mul(r as Weight)) + (117_979_000 as Weight) + // Standard Error: 23_000 + .saturating_add((230_217_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (69_957_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_307_000 as Weight).saturating_mul(r as Weight)) + (118_989_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (70_187_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) + (119_829_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (70_191_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) + (118_380_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (70_174_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_306_000 as Weight).saturating_mul(r as Weight)) + (119_016_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_308_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (70_138_000 as Weight) + (118_877_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_276_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (70_238_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_274_000 as Weight).saturating_mul(r as Weight)) + (118_482_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_288_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (70_296_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_317_000 as Weight).saturating_mul(r as Weight)) + (118_198_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (70_072_000 as Weight) + (118_613_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_824_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (69_878_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) + (118_479_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_819_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (70_404_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_808_000 as Weight).saturating_mul(r as Weight)) + (118_302_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_835_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (70_008_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) + (118_372_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_829_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (69_966_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) + (118_615_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_829_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (70_046_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) + (118_764_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (69_704_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_820_000 as Weight).saturating_mul(r as Weight)) + (118_755_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_812_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (69_861_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) + (118_479_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (70_121_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) + (118_849_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (69_972_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) + (118_647_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_823_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (70_190_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_810_000 as Weight).saturating_mul(r as Weight)) + (118_314_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (69_921_000 as Weight) + (118_469_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (70_077_000 as Weight) + (118_756_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_828_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (69_714_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) + (118_323_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_473_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (69_579_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) + (118_409_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_437_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (69_749_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) + (118_195_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (70_037_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_424_000 as Weight).saturating_mul(r as Weight)) + (118_558_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_431_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (69_974_000 as Weight) + (118_396_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_832_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_844_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (69_644_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) + (118_380_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (69_969_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) + (118_294_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_845_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (69_845_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_839_000 as Weight).saturating_mul(r as Weight)) + (118_178_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (69_770_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) + (118_343_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_850_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (70_089_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) + (118_819_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (69_923_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_843_000 as Weight).saturating_mul(r as Weight)) + (118_461_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_845_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (69_687_000 as Weight) + (118_644_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_852_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_838_000 as Weight).saturating_mul(r as Weight)) } } @@ -1221,15 +1217,15 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - (1_756_000 as Weight) + (1_753_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (8_503_000 as Weight) - // Standard Error: 1_000 - .saturating_add((868_000 as Weight).saturating_mul(k as Weight)) + (8_064_000 as Weight) + // Standard Error: 0 + .saturating_add((861_000 as Weight).saturating_mul(k as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -1237,9 +1233,9 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (8_023_000 as Weight) + (7_970_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_989_000 as Weight).saturating_mul(q as Weight)) + .saturating_add((2_051_000 as Weight).saturating_mul(q as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1247,7 +1243,7 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - (17_714_000 as Weight) + (23_757_000 as Weight) // Standard Error: 0 .saturating_add((46_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) @@ -1259,7 +1255,7 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - (206_019_000 as Weight) + (303_360_000 as Weight) // Standard Error: 0 .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) @@ -1275,9 +1271,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (263_813_000 as Weight) + (337_625_000 as Weight) // Standard Error: 0 - .saturating_add((115_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((112_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) @@ -1291,7 +1287,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - (175_737_000 as Weight) + (223_681_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) @@ -1302,7 +1298,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (143_389_000 as Weight) + (202_084_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1311,7 +1307,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - (51_604_000 as Weight) + (49_472_000 as Weight) // Standard Error: 0 .saturating_add((47_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) @@ -1321,14 +1317,14 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (29_906_000 as Weight) + (29_702_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } // Storage: Contracts ContractInfoOf (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:2 w:2) fn set_code() -> Weight { - (27_199_000 as Weight) + (27_503_000 as Weight) .saturating_add(RocksDbWeight::get().reads(3 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1338,9 +1334,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - (204_619_000 as Weight) - // Standard Error: 100_000 - .saturating_add((38_423_000 as Weight).saturating_mul(r as Weight)) + (302_574_000 as Weight) + // Standard Error: 87_000 + .saturating_add((37_851_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1350,9 +1346,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - (100_557_000 as Weight) - // Standard Error: 706_000 - .saturating_add((306_442_000 as Weight).saturating_mul(r as Weight)) + (215_071_000 as Weight) + // Standard Error: 622_000 + .saturating_add((299_936_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1363,9 +1359,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - (129_063_000 as Weight) - // Standard Error: 708_000 - .saturating_add((353_122_000 as Weight).saturating_mul(r as Weight)) + (210_855_000 as Weight) + // Standard Error: 629_000 + .saturating_add((352_470_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1376,9 +1372,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - (207_673_000 as Weight) - // Standard Error: 115_000 - .saturating_add((41_742_000 as Weight).saturating_mul(r as Weight)) + (304_398_000 as Weight) + // Standard Error: 113_000 + .saturating_add((41_142_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1388,9 +1384,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - (203_136_000 as Weight) - // Standard Error: 55_000 - .saturating_add((15_620_000 as Weight).saturating_mul(r as Weight)) + (302_408_000 as Weight) + // Standard Error: 60_000 + .saturating_add((15_799_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1400,9 +1396,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - (203_798_000 as Weight) - // Standard Error: 101_000 - .saturating_add((38_451_000 as Weight).saturating_mul(r as Weight)) + (305_597_000 as Weight) + // Standard Error: 79_000 + .saturating_add((37_219_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1412,9 +1408,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - (204_360_000 as Weight) - // Standard Error: 114_000 - .saturating_add((38_043_000 as Weight).saturating_mul(r as Weight)) + (302_870_000 as Weight) + // Standard Error: 97_000 + .saturating_add((37_366_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1424,9 +1420,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - (210_920_000 as Weight) - // Standard Error: 140_000 - .saturating_add((112_990_000 as Weight).saturating_mul(r as Weight)) + (306_747_000 as Weight) + // Standard Error: 142_000 + .saturating_add((109_298_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1436,9 +1432,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - (205_718_000 as Weight) - // Standard Error: 88_000 - .saturating_add((37_809_000 as Weight).saturating_mul(r as Weight)) + (304_803_000 as Weight) + // Standard Error: 91_000 + .saturating_add((37_304_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1448,9 +1444,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - (206_061_000 as Weight) - // Standard Error: 102_000 - .saturating_add((37_833_000 as Weight).saturating_mul(r as Weight)) + (304_540_000 as Weight) + // Standard Error: 113_000 + .saturating_add((37_341_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1460,9 +1456,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - (204_468_000 as Weight) - // Standard Error: 103_000 - .saturating_add((37_605_000 as Weight).saturating_mul(r as Weight)) + (302_861_000 as Weight) + // Standard Error: 95_000 + .saturating_add((36_895_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1472,9 +1468,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - (207_542_000 as Weight) - // Standard Error: 110_000 - .saturating_add((37_610_000 as Weight).saturating_mul(r as Weight)) + (310_057_000 as Weight) + // Standard Error: 105_000 + .saturating_add((36_665_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1485,9 +1481,9 @@ impl WeightInfo for () { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - (206_514_000 as Weight) + (310_090_000 as Weight) // Standard Error: 151_000 - .saturating_add((97_193_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((95_529_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1497,9 +1493,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - (128_263_000 as Weight) - // Standard Error: 39_000 - .saturating_add((18_451_000 as Weight).saturating_mul(r as Weight)) + (182_671_000 as Weight) + // Standard Error: 69_000 + .saturating_add((18_417_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1509,9 +1505,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - (204_290_000 as Weight) - // Standard Error: 107_000 - .saturating_add((37_419_000 as Weight).saturating_mul(r as Weight)) + (302_750_000 as Weight) + // Standard Error: 99_000 + .saturating_add((36_923_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1521,9 +1517,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - (264_098_000 as Weight) - // Standard Error: 3_000 - .saturating_add((9_644_000 as Weight).saturating_mul(n as Weight)) + (368_964_000 as Weight) + // Standard Error: 4_000 + .saturating_add((9_636_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1532,10 +1528,8 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 1]`. - fn seal_return(r: u32, ) -> Weight { - (200_620_000 as Weight) - // Standard Error: 159_000 - .saturating_add((1_530_000 as Weight).saturating_mul(r as Weight)) + fn seal_return(_r: u32, ) -> Weight { + (301_401_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1545,9 +1539,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - (204_508_000 as Weight) - // Standard Error: 0 - .saturating_add((181_000 as Weight).saturating_mul(n as Weight)) + (301_345_000 as Weight) + // Standard Error: 1_000 + .saturating_add((233_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1559,9 +1553,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - (205_375_000 as Weight) - // Standard Error: 742_000 - .saturating_add((53_509_000 as Weight).saturating_mul(r as Weight)) + (307_717_000 as Weight) + // Standard Error: 2_032_000 + .saturating_add((51_137_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1574,9 +1568,9 @@ impl WeightInfo for () { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - (212_500_000 as Weight) - // Standard Error: 170_000 - .saturating_add((131_730_000 as Weight).saturating_mul(r as Weight)) + (311_189_000 as Weight) + // Standard Error: 159_000 + .saturating_add((125_280_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1586,9 +1580,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - (223_502_000 as Weight) - // Standard Error: 254_000 - .saturating_add((231_822_000 as Weight).saturating_mul(r as Weight)) + (316_833_000 as Weight) + // Standard Error: 158_000 + .saturating_add((228_482_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1600,11 +1594,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (461_381_000 as Weight) - // Standard Error: 1_739_000 - .saturating_add((251_730_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 342_000 - .saturating_add((69_065_000 as Weight).saturating_mul(n as Weight)) + (585_877_000 as Weight) + // Standard Error: 1_756_000 + .saturating_add((248_232_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 346_000 + .saturating_add((68_993_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1616,18 +1610,18 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - (133_978_000 as Weight) - // Standard Error: 87_000 - .saturating_add((30_365_000 as Weight).saturating_mul(r as Weight)) + (191_314_000 as Weight) + // Standard Error: 60_000 + .saturating_add((29_703_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - (164_513_000 as Weight) - // Standard Error: 788_000 - .saturating_add((411_291_000 as Weight).saturating_mul(r as Weight)) + (268_331_000 as Weight) + // Standard Error: 677_000 + .saturating_add((417_892_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1636,9 +1630,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (514_488_000 as Weight) - // Standard Error: 2_521_000 - .saturating_add((84_397_000 as Weight).saturating_mul(n as Weight)) + (620_127_000 as Weight) + // Standard Error: 2_607_000 + .saturating_add((92_686_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1647,9 +1641,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (511_623_000 as Weight) - // Standard Error: 2_484_000 - .saturating_add((76_019_000 as Weight).saturating_mul(n as Weight)) + (616_042_000 as Weight) + // Standard Error: 2_555_000 + .saturating_add((75_524_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1658,9 +1652,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - (170_223_000 as Weight) - // Standard Error: 762_000 - .saturating_add((403_609_000 as Weight).saturating_mul(r as Weight)) + (277_436_000 as Weight) + // Standard Error: 693_000 + .saturating_add((401_101_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1669,9 +1663,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (484_087_000 as Weight) - // Standard Error: 2_768_000 - .saturating_add((79_735_000 as Weight).saturating_mul(n as Weight)) + (589_464_000 as Weight) + // Standard Error: 2_743_000 + .saturating_add((77_448_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(52 as Weight)) @@ -1680,9 +1674,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - (171_959_000 as Weight) - // Standard Error: 643_000 - .saturating_add((332_258_000 as Weight).saturating_mul(r as Weight)) + (276_842_000 as Weight) + // Standard Error: 669_000 + .saturating_add((333_508_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1690,9 +1684,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (441_740_000 as Weight) - // Standard Error: 2_188_000 - .saturating_add((164_663_000 as Weight).saturating_mul(n as Weight)) + (545_020_000 as Weight) + // Standard Error: 2_248_000 + .saturating_add((171_299_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1700,9 +1694,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - (171_332_000 as Weight) - // Standard Error: 594_000 - .saturating_add((304_144_000 as Weight).saturating_mul(r as Weight)) + (278_470_000 as Weight) + // Standard Error: 578_000 + .saturating_add((306_348_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1710,9 +1704,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (413_837_000 as Weight) - // Standard Error: 1_934_000 - .saturating_add((70_653_000 as Weight).saturating_mul(n as Weight)) + (513_764_000 as Weight) + // Standard Error: 1_912_000 + .saturating_add((71_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(54 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1720,9 +1714,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - (170_083_000 as Weight) - // Standard Error: 835_000 - .saturating_add((427_307_000 as Weight).saturating_mul(r as Weight)) + (276_081_000 as Weight) + // Standard Error: 680_000 + .saturating_add((429_043_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1731,9 +1725,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (515_748_000 as Weight) - // Standard Error: 3_112_000 - .saturating_add((173_010_000 as Weight).saturating_mul(n as Weight)) + (617_860_000 as Weight) + // Standard Error: 3_154_000 + .saturating_add((179_360_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(55 as Weight)) .saturating_add(RocksDbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(RocksDbWeight::get().writes(53 as Weight)) @@ -1745,9 +1739,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - (176_126_000 as Weight) - // Standard Error: 1_069_000 - .saturating_add((1_459_393_000 as Weight).saturating_mul(r as Weight)) + (283_152_000 as Weight) + // Standard Error: 1_091_000 + .saturating_add((1_428_998_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1759,9 +1753,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { - (81_565_000 as Weight) - // Standard Error: 2_977_000 - .saturating_add((14_581_397_000 as Weight).saturating_mul(r as Weight)) + (65_748_000 as Weight) + // Standard Error: 2_595_000 + .saturating_add((22_641_632_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((80 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1774,8 +1768,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_615_000 - .saturating_add((14_493_920_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 7_168_000 + .saturating_add((22_683_551_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1786,11 +1780,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (8_821_493_000 as Weight) - // Standard Error: 29_944_000 - .saturating_add((1_353_210_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 13_000 - .saturating_add((9_710_000 as Weight).saturating_mul(c as Weight)) + (13_070_337_000 as Weight) + // Standard Error: 40_124_000 + .saturating_add((1_461_128_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 17_000 + .saturating_add((9_804_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(85 as Weight)) .saturating_add(RocksDbWeight::get().reads((81 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(81 as Weight)) @@ -1805,8 +1799,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 35_251_000 - .saturating_add((20_943_607_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 36_064_000 + .saturating_add((28_845_372_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((320 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1821,11 +1815,9 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (11_829_006_000 as Weight) - // Standard Error: 56_881_000 - .saturating_add((540_681_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 26_000 - .saturating_add((124_032_000 as Weight).saturating_mul(s as Weight)) + (16_330_217_000 as Weight) + // Standard Error: 97_000 + .saturating_add((129_435_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(167 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(165 as Weight)) @@ -1837,9 +1829,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - (203_055_000 as Weight) + (303_966_000 as Weight) // Standard Error: 124_000 - .saturating_add((58_794_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((58_002_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1849,9 +1841,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (48_382_000 as Weight) - // Standard Error: 41_000 - .saturating_add((322_467_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 93_000 + .saturating_add((327_679_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1861,9 +1853,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - (201_803_000 as Weight) - // Standard Error: 136_000 - .saturating_add((71_357_000 as Weight).saturating_mul(r as Weight)) + (300_821_000 as Weight) + // Standard Error: 137_000 + .saturating_add((70_923_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1873,9 +1865,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (166_233_000 as Weight) - // Standard Error: 30_000 - .saturating_add((245_555_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 99_000 + .saturating_add((251_170_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1885,9 +1877,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - (203_845_000 as Weight) - // Standard Error: 135_000 - .saturating_add((48_969_000 as Weight).saturating_mul(r as Weight)) + (300_542_000 as Weight) + // Standard Error: 109_000 + .saturating_add((48_624_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1897,9 +1889,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (215_970_000 as Weight) - // Standard Error: 16_000 - .saturating_add((95_172_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 80_000 + .saturating_add((100_848_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1909,9 +1901,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - (204_528_000 as Weight) - // Standard Error: 118_000 - .saturating_add((48_428_000 as Weight).saturating_mul(r as Weight)) + (302_858_000 as Weight) + // Standard Error: 110_000 + .saturating_add((48_145_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1921,9 +1913,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (209_566_000 as Weight) - // Standard Error: 14_000 - .saturating_add((95_159_000 as Weight).saturating_mul(n as Weight)) + (0 as Weight) + // Standard Error: 78_000 + .saturating_add((100_621_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1933,9 +1925,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - (330_839_000 as Weight) - // Standard Error: 1_035_000 - .saturating_add((3_067_131_000 as Weight).saturating_mul(r as Weight)) + (455_958_000 as Weight) + // Standard Error: 1_076_000 + .saturating_add((2_969_292_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1945,9 +1937,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - (225_702_000 as Weight) - // Standard Error: 704_000 - .saturating_add((2_078_648_000 as Weight).saturating_mul(r as Weight)) + (294_454_000 as Weight) + // Standard Error: 679_000 + .saturating_add((2_069_791_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1959,315 +1951,315 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_635_000 - .saturating_add((766_729_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_430_000 + .saturating_add((746_760_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((79 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes((79 as Weight).saturating_mul(r as Weight))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - (70_152_000 as Weight) - // Standard Error: 2_000 - .saturating_add((840_000 as Weight).saturating_mul(r as Weight)) + (118_803_000 as Weight) + // Standard Error: 4_000 + .saturating_add((842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - (70_291_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_748_000 as Weight).saturating_mul(r as Weight)) + (118_707_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_743_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - (70_135_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_262_000 as Weight).saturating_mul(r as Weight)) + (118_923_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_209_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - (70_170_000 as Weight) - // Standard Error: 4_000 - .saturating_add((2_313_000 as Weight).saturating_mul(r as Weight)) + (118_548_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_315_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - (69_722_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_474_000 as Weight).saturating_mul(r as Weight)) + (118_425_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_470_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - (69_677_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_283_000 as Weight).saturating_mul(r as Weight)) + (118_005_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - (68_725_000 as Weight) - // Standard Error: 7_000 - .saturating_add((1_890_000 as Weight).saturating_mul(r as Weight)) + (118_193_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_835_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - (68_643_000 as Weight) - // Standard Error: 6_000 - .saturating_add((2_143_000 as Weight).saturating_mul(r as Weight)) + (117_876_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_059_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - (72_940_000 as Weight) + (121_164_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((5_000 as Weight).saturating_mul(e as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - (69_716_000 as Weight) - // Standard Error: 20_000 - .saturating_add((6_730_000 as Weight).saturating_mul(r as Weight)) + (120_537_000 as Weight) + // Standard Error: 23_000 + .saturating_add((6_537_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - (83_046_000 as Weight) + (132_347_000 as Weight) // Standard Error: 15_000 - .saturating_add((8_399_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((8_433_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (92_238_000 as Weight) - // Standard Error: 1_000 - .saturating_add((590_000 as Weight).saturating_mul(p as Weight)) + (141_458_000 as Weight) + // Standard Error: 0 + .saturating_add((598_000 as Weight).saturating_mul(p as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - (70_349_000 as Weight) + (119_164_000 as Weight) // Standard Error: 2_000 .saturating_add((874_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - (70_418_000 as Weight) + (119_306_000 as Weight) // Standard Error: 2_000 - .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((900_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - (70_168_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_221_000 as Weight).saturating_mul(r as Weight)) + (119_191_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_214_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - (73_732_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_431_000 as Weight).saturating_mul(r as Weight)) + (121_556_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_465_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - (72_957_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_674_000 as Weight).saturating_mul(r as Weight)) + (121_143_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_687_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - (70_276_000 as Weight) - // Standard Error: 2_000 - .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) + (118_356_000 as Weight) + // Standard Error: 1_000 + .saturating_add((909_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - (69_357_000 as Weight) - // Standard Error: 152_000 - .saturating_add((180_374_000 as Weight).saturating_mul(r as Weight)) + (117_979_000 as Weight) + // Standard Error: 23_000 + .saturating_add((230_217_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - (69_957_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_307_000 as Weight).saturating_mul(r as Weight)) + (118_989_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - (70_187_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) + (119_829_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - (70_191_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_301_000 as Weight).saturating_mul(r as Weight)) + (118_380_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_327_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - (70_174_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_306_000 as Weight).saturating_mul(r as Weight)) + (119_016_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_308_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - (70_138_000 as Weight) + (118_877_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_278_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_276_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - (70_238_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_274_000 as Weight).saturating_mul(r as Weight)) + (118_482_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_288_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - (70_296_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_317_000 as Weight).saturating_mul(r as Weight)) + (118_198_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_348_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - (70_072_000 as Weight) + (118_613_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_824_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - (69_878_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_813_000 as Weight).saturating_mul(r as Weight)) + (118_479_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_819_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - (70_404_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_808_000 as Weight).saturating_mul(r as Weight)) + (118_302_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_835_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - (70_008_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) + (118_372_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_829_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - (69_966_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) + (118_615_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_829_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - (70_046_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) + (118_764_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - (69_704_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_820_000 as Weight).saturating_mul(r as Weight)) + (118_755_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_812_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - (69_861_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) + (118_479_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - (70_121_000 as Weight) - // Standard Error: 4_000 - .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) + (118_849_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_816_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - (69_972_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_815_000 as Weight).saturating_mul(r as Weight)) + (118_647_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_823_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - (70_190_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_810_000 as Weight).saturating_mul(r as Weight)) + (118_314_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - (69_921_000 as Weight) + (118_469_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - (70_077_000 as Weight) + (118_756_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_831_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_828_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - (69_714_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_468_000 as Weight).saturating_mul(r as Weight)) + (118_323_000 as Weight) + // Standard Error: 6_000 + .saturating_add((2_473_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - (69_579_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) + (118_409_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_437_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - (69_749_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_449_000 as Weight).saturating_mul(r as Weight)) + (118_195_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_457_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - (70_037_000 as Weight) - // Standard Error: 2_000 - .saturating_add((2_424_000 as Weight).saturating_mul(r as Weight)) + (118_558_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_431_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - (69_974_000 as Weight) + (118_396_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_832_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_844_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - (69_644_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) + (118_380_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_840_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - (69_969_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_836_000 as Weight).saturating_mul(r as Weight)) + (118_294_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_845_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - (69_845_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_839_000 as Weight).saturating_mul(r as Weight)) + (118_178_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_853_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - (69_770_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_842_000 as Weight).saturating_mul(r as Weight)) + (118_343_000 as Weight) + // Standard Error: 3_000 + .saturating_add((1_850_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - (70_089_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_833_000 as Weight).saturating_mul(r as Weight)) + (118_819_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_834_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - (69_923_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_843_000 as Weight).saturating_mul(r as Weight)) + (118_461_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_845_000 as Weight).saturating_mul(r as Weight)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - (69_687_000 as Weight) + (118_644_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_852_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_838_000 as Weight).saturating_mul(r as Weight)) } }