diff --git a/frame/contracts/src/benchmarking/code.rs b/frame/contracts/src/benchmarking/code.rs index 4d42349f82a1b..f9d71fde65885 100644 --- a/frame/contracts/src/benchmarking/code.rs +++ b/frame/contracts/src/benchmarking/code.rs @@ -566,6 +566,9 @@ fn inject_gas_metering(module: Module) -> Module { } fn inject_stack_metering(module: Module) -> Module { - let height = T::Schedule::get().limits.stack_height; - wasm_instrument::inject_stack_limiter(module, height).unwrap() + if let Some(height) = T::Schedule::get().limits.stack_height { + wasm_instrument::inject_stack_limiter(module, height).unwrap() + } else { + module + } } diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index 827c729e16150..f5200eef567b9 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -2250,7 +2250,7 @@ benchmarks! { // w_local_get = w_bench - 1 * w_param instr_local_get { let r in 0 .. INSTR_BENCHMARK_BATCHES; - let max_locals = T::Schedule::get().limits.stack_height; + let max_locals = T::Schedule::get().limits.stack_height.unwrap_or(512); let mut call_body = body::repeated_dyn(r * INSTR_BENCHMARK_BATCH_SIZE, vec![ RandomGetLocal(0, max_locals), Regular(Instruction::Drop), @@ -2267,7 +2267,7 @@ benchmarks! { // w_local_set = w_bench - 1 * w_param instr_local_set { let r in 0 .. INSTR_BENCHMARK_BATCHES; - let max_locals = T::Schedule::get().limits.stack_height; + let max_locals = T::Schedule::get().limits.stack_height.unwrap_or(512); let mut call_body = body::repeated_dyn(r * INSTR_BENCHMARK_BATCH_SIZE, vec![ RandomI64Repeated(1), RandomSetLocal(0, max_locals), @@ -2284,7 +2284,7 @@ benchmarks! { // w_local_tee = w_bench - 2 * w_param instr_local_tee { let r in 0 .. INSTR_BENCHMARK_BATCHES; - let max_locals = T::Schedule::get().limits.stack_height; + let max_locals = T::Schedule::get().limits.stack_height.unwrap_or(512); let mut call_body = body::repeated_dyn(r * INSTR_BENCHMARK_BATCH_SIZE, vec![ RandomI64Repeated(1), RandomTeeLocal(0, max_locals), diff --git a/frame/contracts/src/schedule.rs b/frame/contracts/src/schedule.rs index d6bdf85a4d68e..8535166a6ac5c 100644 --- a/frame/contracts/src/schedule.rs +++ b/frame/contracts/src/schedule.rs @@ -104,7 +104,13 @@ pub struct Limits { /// See to find out /// how the stack frame cost is calculated. Each element can be of one of the /// wasm value types. This means the maximum size per element is 64bit. - pub stack_height: u32, + /// + /// # Note + /// + /// It is safe to disable (pass `None`) the `stack_height` when the execution engine + /// is part of the runtime and hence there can be no indeterminism between different + /// client resident execution engines. + pub stack_height: Option, /// Maximum number of globals a module is allowed to declare. /// @@ -496,8 +502,8 @@ impl Default for Limits { fn default() -> Self { Self { event_topics: 4, - // 512 * sizeof(i64) will give us a 4k stack. - stack_height: 512, + // No stack limit required because we use a runtime resident execution engine. + stack_height: None, globals: 256, parameters: 128, memory_pages: 16, diff --git a/frame/contracts/src/tests.rs b/frame/contracts/src/tests.rs index 9ea23e974b21d..cdcf41704347e 100644 --- a/frame/contracts/src/tests.rs +++ b/frame/contracts/src/tests.rs @@ -239,7 +239,13 @@ parameter_types! { pub const MaxValueSize: u32 = 16_384; pub const DeletionWeightLimit: Weight = 500_000_000_000; pub const MaxCodeSize: u32 = 2 * 1024; - pub MySchedule: Schedule = >::default(); + pub MySchedule: Schedule = { + let mut schedule = >::default(); + // We want stack height to be always enabled for tests so that this + // instrumentation path is always tested implicitly. + schedule.limits.stack_height = Some(512); + schedule + }; pub const TransactionByteFee: u64 = 0; pub static DepositPerByte: BalanceOf = 1; pub const DepositPerItem: BalanceOf = 2; diff --git a/frame/contracts/src/wasm/prepare.rs b/frame/contracts/src/wasm/prepare.rs index 70c15cb8c4e6e..4571d752a80c6 100644 --- a/frame/contracts/src/wasm/prepare.rs +++ b/frame/contracts/src/wasm/prepare.rs @@ -191,10 +191,13 @@ impl<'a, T: Config> ContractModule<'a, T> { } fn inject_stack_height_metering(self) -> Result { - let contract_module = - wasm_instrument::inject_stack_limiter(self.module, self.schedule.limits.stack_height) + if let Some(limit) = self.schedule.limits.stack_height { + let contract_module = wasm_instrument::inject_stack_limiter(self.module, limit) .map_err(|_| "stack height instrumentation failed")?; - Ok(ContractModule { module: contract_module, schedule: self.schedule }) + Ok(ContractModule { module: contract_module, schedule: self.schedule }) + } else { + Ok(ContractModule { module: self.module, schedule: self.schedule }) + } } /// Check that the module has required exported functions. For now diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index fd32c247ba729..7d73a3a1cecc7 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-02-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-02-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -160,32 +160,32 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_initialize() -> Weight { - (1_588_000 as Weight) + (1_512_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (6_994_000 as Weight) + (8_089_000 as Weight) // Standard Error: 0 - .saturating_add((743_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((741_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) fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (2_831_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_232_000 as Weight).saturating_mul(q as Weight)) + (0 as Weight) + // Standard Error: 5_000 + .saturating_add((2_287_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) fn reinstrument(c: u32, ) -> Weight { - (17_839_000 as Weight) + (15_212_000 as Weight) // Standard Error: 0 - .saturating_add((64_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((51_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)) } @@ -194,9 +194,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call_with_code_per_byte(c: u32, ) -> Weight { - (222_400_000 as Weight) + (218_406_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((55_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)) } @@ -208,9 +208,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (283_144_000 as Weight) + (265_773_000 as Weight) // Standard Error: 0 - .saturating_add((140_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((127_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)) @@ -223,7 +223,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn instantiate(s: u32, ) -> Weight { - (171_794_000 as Weight) + (173_852_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)) @@ -234,7 +234,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (140_234_000 as Weight) + (140_088_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -242,9 +242,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) fn upload_code(c: u32, ) -> Weight { - (49_467_000 as Weight) + (44_290_000 as Weight) // Standard Error: 0 - .saturating_add((66_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((51_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)) } @@ -252,7 +252,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (24_915_000 as Weight) + (24_364_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -261,9 +261,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_caller(r: u32, ) -> Weight { - (218_957_000 as Weight) - // Standard Error: 114_000 - .saturating_add((49_881_000 as Weight).saturating_mul(r as Weight)) + (219_617_000 as Weight) + // Standard Error: 119_000 + .saturating_add((50_409_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)) } @@ -272,9 +272,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_is_contract(r: u32, ) -> Weight { - (76_490_000 as Weight) - // Standard Error: 856_000 - .saturating_add((375_305_000 as Weight).saturating_mul(r as Weight)) + (102_073_000 as Weight) + // Standard Error: 843_000 + .saturating_add((369_025_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -284,9 +284,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_caller_is_origin(r: u32, ) -> Weight { - (213_485_000 as Weight) - // Standard Error: 76_000 - .saturating_add((22_020_000 as Weight).saturating_mul(r as Weight)) + (213_550_000 as Weight) + // Standard Error: 63_000 + .saturating_add((21_519_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: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_address(r: u32, ) -> Weight { - (218_468_000 as Weight) - // Standard Error: 108_000 - .saturating_add((49_457_000 as Weight).saturating_mul(r as Weight)) + (220_649_000 as Weight) + // Standard Error: 95_000 + .saturating_add((50_197_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)) } @@ -306,9 +306,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_gas_left(r: u32, ) -> Weight { - (218_950_000 as Weight) + (218_190_000 as Weight) // Standard Error: 99_000 - .saturating_add((48_859_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((49_817_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)) } @@ -317,9 +317,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_balance(r: u32, ) -> Weight { - (226_714_000 as Weight) - // Standard Error: 111_000 - .saturating_add((141_924_000 as Weight).saturating_mul(r as Weight)) + (223_133_000 as Weight) + // Standard Error: 188_000 + .saturating_add((142_288_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)) } @@ -328,9 +328,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_value_transferred(r: u32, ) -> Weight { - (216_673_000 as Weight) - // Standard Error: 90_000 - .saturating_add((49_367_000 as Weight).saturating_mul(r as Weight)) + (216_612_000 as Weight) + // Standard Error: 103_000 + .saturating_add((49_956_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,9 +339,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_minimum_balance(r: u32, ) -> Weight { - (215_859_000 as Weight) - // Standard Error: 104_000 - .saturating_add((49_334_000 as Weight).saturating_mul(r as Weight)) + (218_349_000 as Weight) + // Standard Error: 93_000 + .saturating_add((49_656_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)) } @@ -350,9 +350,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_block_number(r: u32, ) -> Weight { - (216_419_000 as Weight) - // Standard Error: 109_000 - .saturating_add((49_417_000 as Weight).saturating_mul(r as Weight)) + (213_151_000 as Weight) + // Standard Error: 110_000 + .saturating_add((50_099_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)) } @@ -361,9 +361,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_now(r: u32, ) -> Weight { - (218_799_000 as Weight) - // Standard Error: 108_000 - .saturating_add((48_631_000 as Weight).saturating_mul(r as Weight)) + (216_816_000 as Weight) + // Standard Error: 95_000 + .saturating_add((49_724_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)) } @@ -373,9 +373,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) fn seal_weight_to_fee(r: u32, ) -> Weight { - (215_968_000 as Weight) - // Standard Error: 147_000 - .saturating_add((122_978_000 as Weight).saturating_mul(r as Weight)) + (223_053_000 as Weight) + // Standard Error: 148_000 + .saturating_add((124_240_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)) } @@ -384,9 +384,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_gas(r: u32, ) -> Weight { - (127_183_000 as Weight) - // Standard Error: 35_000 - .saturating_add((24_523_000 as Weight).saturating_mul(r as Weight)) + (127_253_000 as Weight) + // Standard Error: 27_000 + .saturating_add((25_608_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)) } @@ -395,9 +395,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_input(r: u32, ) -> Weight { - (217_535_000 as Weight) - // Standard Error: 91_000 - .saturating_add((48_400_000 as Weight).saturating_mul(r as Weight)) + (218_057_000 as Weight) + // Standard Error: 98_000 + .saturating_add((49_061_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)) } @@ -406,9 +406,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_input_per_kb(n: u32, ) -> Weight { - (297_539_000 as Weight) - // Standard Error: 5_000 - .saturating_add((11_870_000 as Weight).saturating_mul(n as Weight)) + (293_563_000 as Weight) + // Standard Error: 3_000 + .saturating_add((11_877_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)) } @@ -417,9 +417,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_return(r: u32, ) -> Weight { - (211_807_000 as Weight) - // Standard Error: 160_000 - .saturating_add((1_717_000 as Weight).saturating_mul(r as Weight)) + (211_511_000 as Weight) + // Standard Error: 70_000 + .saturating_add((2_085_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)) } @@ -428,9 +428,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_return_per_kb(n: u32, ) -> Weight { - (213_139_000 as Weight) + (213_876_000 as Weight) // Standard Error: 0 - .saturating_add((197_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((193_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)) } @@ -441,9 +441,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn seal_terminate(r: u32, ) -> Weight { - (215_292_000 as Weight) - // Standard Error: 390_000 - .saturating_add((52_831_000 as Weight).saturating_mul(r as Weight)) + (214_736_000 as Weight) + // Standard Error: 206_000 + .saturating_add((53_637_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)) @@ -455,9 +455,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) fn seal_random(r: u32, ) -> Weight { - (215_802_000 as Weight) - // Standard Error: 132_000 - .saturating_add((159_065_000 as Weight).saturating_mul(r as Weight)) + (222_037_000 as Weight) + // Standard Error: 191_000 + .saturating_add((160_114_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)) } @@ -466,9 +466,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_deposit_event(r: u32, ) -> Weight { - (225_069_000 as Weight) - // Standard Error: 201_000 - .saturating_add((292_145_000 as Weight).saturating_mul(r as Weight)) + (219_211_000 as Weight) + // Standard Error: 239_000 + .saturating_add((296_722_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)) } @@ -478,11 +478,11 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) // Storage: System EventTopics (r:100 w:100) fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (519_617_000 as Weight) - // Standard Error: 1_751_000 - .saturating_add((290_832_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 345_000 - .saturating_add((82_584_000 as Weight).saturating_mul(n as Weight)) + (519_643_000 as Weight) + // Standard Error: 1_842_000 + .saturating_add((300_853_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 363_000 + .saturating_add((82_577_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -493,17 +493,17 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_debug_message(r: u32, ) -> Weight { - (132_245_000 as Weight) - // Standard Error: 75_000 - .saturating_add((41_274_000 as Weight).saturating_mul(r as Weight)) + (132_710_000 as Weight) + // Standard Error: 77_000 + .saturating_add((41_623_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) fn seal_set_storage(r: u32, ) -> Weight { - (48_288_000 as Weight) - // Standard Error: 1_024_000 - .saturating_add((408_264_000 as Weight).saturating_mul(r as Weight)) + (40_644_000 as Weight) + // Standard Error: 1_072_000 + .saturating_add((412_308_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -511,25 +511,25 @@ impl WeightInfo for SubstrateWeight { } // Storage: Skipped Metadata (r:0 w:0) fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (607_246_000 as Weight) - // Standard Error: 252_000 - .saturating_add((28_722_000 as Weight).saturating_mul(n as Weight)) + (609_052_000 as Weight) + // Standard Error: 258_000 + .saturating_add((28_633_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(105 as Weight)) .saturating_add(T::DbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (623_983_000 as Weight) - // Standard Error: 305_000 - .saturating_add((11_374_000 as Weight).saturating_mul(n as Weight)) + (629_665_000 as Weight) + // Standard Error: 300_000 + .saturating_add((10_947_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(105 as Weight)) .saturating_add(T::DbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_clear_storage(r: u32, ) -> Weight { - (91_727_000 as Weight) - // Standard Error: 837_000 - .saturating_add((383_577_000 as Weight).saturating_mul(r as Weight)) + (91_519_000 as Weight) + // Standard Error: 889_000 + .saturating_add((386_498_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -537,51 +537,51 @@ impl WeightInfo for SubstrateWeight { } // Storage: Skipped Metadata (r:0 w:0) fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (604_749_000 as Weight) - // Standard Error: 251_000 - .saturating_add((11_086_000 as Weight).saturating_mul(n as Weight)) + (612_224_000 as Weight) + // Standard Error: 269_000 + .saturating_add((10_709_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(105 as Weight)) .saturating_add(T::DbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_get_storage(r: u32, ) -> Weight { - (107_805_000 as Weight) - // Standard Error: 722_000 - .saturating_add((326_494_000 as Weight).saturating_mul(r as Weight)) + (112_236_000 as Weight) + // Standard Error: 624_000 + .saturating_add((327_655_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (564_604_000 as Weight) - // Standard Error: 360_000 - .saturating_add((65_184_000 as Weight).saturating_mul(n as Weight)) + (567_711_000 as Weight) + // Standard Error: 387_000 + .saturating_add((63_984_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(104 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_contains_storage(r: u32, ) -> Weight { - (122_105_000 as Weight) - // Standard Error: 560_000 - .saturating_add((291_458_000 as Weight).saturating_mul(r as Weight)) + (109_996_000 as Weight) + // Standard Error: 681_000 + .saturating_add((298_317_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (512_580_000 as Weight) - // Standard Error: 245_000 - .saturating_add((10_171_000 as Weight).saturating_mul(n as Weight)) + (518_342_000 as Weight) + // Standard Error: 251_000 + .saturating_add((9_666_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(104 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_take_storage(r: u32, ) -> Weight { - (81_220_000 as Weight) - // Standard Error: 933_000 - .saturating_add((418_532_000 as Weight).saturating_mul(r as Weight)) + (75_974_000 as Weight) + // Standard Error: 1_000_000 + .saturating_add((417_954_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -589,9 +589,9 @@ impl WeightInfo for SubstrateWeight { } // Storage: Skipped Metadata (r:0 w:0) fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (652_330_000 as Weight) - // Standard Error: 357_000 - .saturating_add((65_711_000 as Weight).saturating_mul(n as Weight)) + (653_188_000 as Weight) + // Standard Error: 333_000 + .saturating_add((64_810_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(105 as Weight)) .saturating_add(T::DbWeight::get().writes(103 as Weight)) } @@ -600,9 +600,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_transfer(r: u32, ) -> Weight { - (126_544_000 as Weight) - // Standard Error: 1_198_000 - .saturating_add((1_796_593_000 as Weight).saturating_mul(r as Weight)) + (127_056_000 as Weight) + // Standard Error: 1_106_000 + .saturating_add((1_784_183_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -614,8 +614,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) fn seal_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_033_000 - .saturating_add((19_788_005_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_621_000 + .saturating_add((19_757_765_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -627,8 +627,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:0) fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_663_000 - .saturating_add((19_835_985_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 6_286_000 + .saturating_add((19_798_229_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((99 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -637,11 +637,11 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (10_957_494_000 as Weight) - // Standard Error: 13_908_000 - .saturating_add((1_622_630_000 as Weight).saturating_mul(t as Weight)) + (10_922_130_000 as Weight) + // Standard Error: 15_556_000 + .saturating_add((1_672_276_000 as Weight).saturating_mul(t as Weight)) // Standard Error: 6_000 - .saturating_add((11_960_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((11_984_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(105 as Weight)) .saturating_add(T::DbWeight::get().reads((101 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(101 as Weight)) @@ -655,8 +655,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:100 w:100) fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 48_191_000 - .saturating_add((27_587_375_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 46_147_000 + .saturating_add((27_589_519_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().reads((400 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -669,11 +669,11 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts AccountCounter (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (14_504_226_000 as Weight) - // Standard Error: 66_350_000 - .saturating_add((912_874_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 31_000 - .saturating_add((157_415_000 as Weight).saturating_mul(s as Weight)) + (14_790_752_000 as Weight) + // Standard Error: 37_838_000 + .saturating_add((714_016_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 17_000 + .saturating_add((155_605_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(207 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(T::DbWeight::get().writes(205 as Weight)) @@ -684,9 +684,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_sha2_256(r: u32, ) -> Weight { - (216_771_000 as Weight) - // Standard Error: 127_000 - .saturating_add((79_994_000 as Weight).saturating_mul(r as Weight)) + (216_547_000 as Weight) + // Standard Error: 126_000 + .saturating_add((81_132_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)) } @@ -695,9 +695,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (376_960_000 as Weight) - // Standard Error: 24_000 - .saturating_add((465_507_000 as Weight).saturating_mul(n as Weight)) + (459_912_000 as Weight) + // Standard Error: 27_000 + .saturating_add((464_750_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)) } @@ -706,9 +706,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_keccak_256(r: u32, ) -> Weight { - (212_554_000 as Weight) - // Standard Error: 129_000 - .saturating_add((92_073_000 as Weight).saturating_mul(r as Weight)) + (212_653_000 as Weight) + // Standard Error: 147_000 + .saturating_add((93_380_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)) } @@ -717,9 +717,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (298_638_000 as Weight) - // Standard Error: 23_000 - .saturating_add((307_231_000 as Weight).saturating_mul(n as Weight)) + (324_536_000 as Weight) + // Standard Error: 20_000 + .saturating_add((306_160_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)) } @@ -728,9 +728,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_256(r: u32, ) -> Weight { - (216_274_000 as Weight) - // Standard Error: 100_000 - .saturating_add((64_205_000 as Weight).saturating_mul(r as Weight)) + (218_574_000 as Weight) + // Standard Error: 123_000 + .saturating_add((65_035_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)) } @@ -739,9 +739,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (294_478_000 as Weight) - // Standard Error: 18_000 - .saturating_add((120_405_000 as Weight).saturating_mul(n as Weight)) + (345_804_000 as Weight) + // Standard Error: 14_000 + .saturating_add((118_896_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)) } @@ -750,9 +750,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_128(r: u32, ) -> Weight { - (215_874_000 as Weight) - // Standard Error: 115_000 - .saturating_add((63_402_000 as Weight).saturating_mul(r as Weight)) + (215_898_000 as Weight) + // Standard Error: 108_000 + .saturating_add((64_332_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,9 +761,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (288_361_000 as Weight) - // Standard Error: 15_000 - .saturating_add((120_795_000 as Weight).saturating_mul(n as Weight)) + (351_569_000 as Weight) + // Standard Error: 18_000 + .saturating_add((118_896_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)) } @@ -772,9 +772,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_ecdsa_recover(r: u32, ) -> Weight { - (142_940_000 as Weight) - // Standard Error: 1_317_000 - .saturating_add((15_385_437_000 as Weight).saturating_mul(r as Weight)) + (272_893_000 as Weight) + // Standard Error: 1_438_000 + .saturating_add((15_412_877_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)) } @@ -785,265 +785,265 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:36 w:36) fn seal_set_code_hash(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_981_000 - .saturating_add((943_500_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_132_000 + .saturating_add((937_623_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads((99 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes((99 as Weight).saturating_mul(r as Weight))) } fn instr_i64const(r: u32, ) -> Weight { - (74_672_000 as Weight) + (74_268_000 as Weight) // Standard Error: 1_000 .saturating_add((595_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64load(r: u32, ) -> Weight { - (74_346_000 as Weight) + (74_515_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64store(r: u32, ) -> Weight { - (74_149_000 as Weight) + (74_217_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_438_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_411_000 as Weight).saturating_mul(r as Weight)) } fn instr_select(r: u32, ) -> Weight { - (74_186_000 as Weight) + (73_689_000 as Weight) // Standard Error: 4_000 - .saturating_add((1_789_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_792_000 as Weight).saturating_mul(r as Weight)) } fn instr_if(r: u32, ) -> Weight { - (74_040_000 as Weight) + (73_755_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_898_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_899_000 as Weight).saturating_mul(r as Weight)) } fn instr_br(r: u32, ) -> Weight { - (73_909_000 as Weight) - // Standard Error: 1_000 - .saturating_add((910_000 as Weight).saturating_mul(r as Weight)) + (73_735_000 as Weight) + // Standard Error: 0 + .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_if(r: u32, ) -> Weight { - (73_873_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_446_000 as Weight).saturating_mul(r as Weight)) + (73_595_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_448_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_table(r: u32, ) -> Weight { - (73_438_000 as Weight) + (73_524_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_582_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_572_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_table_per_entry(e: u32, ) -> Weight { - (75_993_000 as Weight) + (76_361_000 as Weight) // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) } fn instr_call(r: u32, ) -> Weight { - (73_218_000 as Weight) - // Standard Error: 17_000 - .saturating_add((17_167_000 as Weight).saturating_mul(r as Weight)) + (76_131_000 as Weight) + // Standard Error: 7_000 + .saturating_add((7_271_000 as Weight).saturating_mul(r as Weight)) } fn instr_call_indirect(r: u32, ) -> Weight { - (85_517_000 as Weight) - // Standard Error: 30_000 - .saturating_add((28_885_000 as Weight).saturating_mul(r as Weight)) + (87_948_000 as Weight) + // Standard Error: 14_000 + .saturating_add((9_429_000 as Weight).saturating_mul(r as Weight)) } fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (119_915_000 as Weight) - // Standard Error: 3_000 - .saturating_add((918_000 as Weight).saturating_mul(p as Weight)) + (98_091_000 as Weight) + // Standard Error: 1_000 + .saturating_add((481_000 as Weight).saturating_mul(p as Weight)) } fn instr_local_get(r: u32, ) -> Weight { - (74_718_000 as Weight) + (74_311_000 as Weight) // Standard Error: 1_000 - .saturating_add((618_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((627_000 as Weight).saturating_mul(r as Weight)) } fn instr_local_set(r: u32, ) -> Weight { - (74_800_000 as Weight) + (74_701_000 as Weight) // Standard Error: 1_000 - .saturating_add((684_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((677_000 as Weight).saturating_mul(r as Weight)) } fn instr_local_tee(r: u32, ) -> Weight { - (74_590_000 as Weight) - // Standard Error: 2_000 - .saturating_add((911_000 as Weight).saturating_mul(r as Weight)) + (74_645_000 as Weight) + // Standard Error: 1_000 + .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) } fn instr_global_get(r: u32, ) -> Weight { - (76_776_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_159_000 as Weight).saturating_mul(r as Weight)) + (77_130_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_156_000 as Weight).saturating_mul(r as Weight)) } fn instr_global_set(r: u32, ) -> Weight { - (77_283_000 as Weight) + (77_199_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_367_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) } fn instr_memory_current(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((655_000 as Weight).saturating_mul(r as Weight)) + (74_024_000 as Weight) + // Standard Error: 2_000 + .saturating_add((675_000 as Weight).saturating_mul(r as Weight)) } fn instr_memory_grow(r: u32, ) -> Weight { - (73_693_000 as Weight) - // Standard Error: 131_000 - .saturating_add((181_095_000 as Weight).saturating_mul(r as Weight)) + (75_226_000 as Weight) + // Standard Error: 170_000 + .saturating_add((186_225_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64clz(r: u32, ) -> Weight { - (74_457_000 as Weight) - // Standard Error: 1_000 - .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) + (74_307_000 as Weight) + // Standard Error: 2_000 + .saturating_add((896_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ctz(r: u32, ) -> Weight { - (74_287_000 as Weight) - // Standard Error: 1_000 - .saturating_add((907_000 as Weight).saturating_mul(r as Weight)) + (74_408_000 as Weight) + // Standard Error: 3_000 + .saturating_add((895_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64popcnt(r: u32, ) -> Weight { - (74_603_000 as Weight) - // Standard Error: 3_000 - .saturating_add((892_000 as Weight).saturating_mul(r as Weight)) + (74_418_000 as Weight) + // Standard Error: 1_000 + .saturating_add((885_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64eqz(r: u32, ) -> Weight { - (74_383_000 as Weight) - // Standard Error: 1_000 + (74_130_000 as Weight) + // Standard Error: 2_000 .saturating_add((920_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64extendsi32(r: u32, ) -> Weight { - (74_020_000 as Weight) + (74_318_000 as Weight) // Standard Error: 2_000 - .saturating_add((896_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((876_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64extendui32(r: u32, ) -> Weight { - (74_108_000 as Weight) - // Standard Error: 4_000 - .saturating_add((889_000 as Weight).saturating_mul(r as Weight)) + (74_496_000 as Weight) + // Standard Error: 1_000 + .saturating_add((871_000 as Weight).saturating_mul(r as Weight)) } fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_197_000 as Weight) - // Standard Error: 2_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + (73_938_000 as Weight) + // Standard Error: 0 + .saturating_add((897_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64eq(r: u32, ) -> Weight { - (73_941_000 as Weight) + (73_943_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_377_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_367_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ne(r: u32, ) -> Weight { - (73_891_000 as Weight) + (74_305_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_383_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64lts(r: u32, ) -> Weight { - (74_253_000 as Weight) + (73_948_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_369_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ltu(r: u32, ) -> Weight { - (74_125_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_371_000 as Weight).saturating_mul(r as Weight)) + (74_188_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_354_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64gts(r: u32, ) -> Weight { - (74_144_000 as Weight) + (74_156_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_369_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64gtu(r: u32, ) -> Weight { - (74_170_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_375_000 as Weight).saturating_mul(r as Weight)) + (73_972_000 as Weight) + // Standard Error: 0 + .saturating_add((1_365_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64les(r: u32, ) -> Weight { - (74_164_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_370_000 as Weight).saturating_mul(r as Weight)) + (74_082_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64leu(r: u32, ) -> Weight { - (74_166_000 as Weight) + (74_190_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_376_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ges(r: u32, ) -> Weight { - (73_920_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_381_000 as Weight).saturating_mul(r as Weight)) + (73_803_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_370_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64geu(r: u32, ) -> Weight { - (74_691_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_356_000 as Weight).saturating_mul(r as Weight)) + (74_063_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_357_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64add(r: u32, ) -> Weight { - (74_198_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + (73_750_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_345_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64sub(r: u32, ) -> Weight { - (74_064_000 as Weight) + (73_979_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_341_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64mul(r: u32, ) -> Weight { - (75_744_000 as Weight) - // Standard Error: 8_000 - .saturating_add((1_338_000 as Weight).saturating_mul(r as Weight)) + (74_197_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_332_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64divs(r: u32, ) -> Weight { - (74_300_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_003_000 as Weight).saturating_mul(r as Weight)) + (73_624_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_020_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64divu(r: u32, ) -> Weight { - (74_001_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_051_000 as Weight).saturating_mul(r as Weight)) + (74_074_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_050_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rems(r: u32, ) -> Weight { - (74_132_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_994_000 as Weight).saturating_mul(r as Weight)) + (73_766_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_016_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64remu(r: u32, ) -> Weight { - (74_241_000 as Weight) + (73_978_000 as Weight) // Standard Error: 3_000 - .saturating_add((2_070_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64and(r: u32, ) -> Weight { - (74_069_000 as Weight) + (73_996_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_336_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64or(r: u32, ) -> Weight { - (73_978_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + (74_058_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_335_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64xor(r: u32, ) -> Weight { - (74_053_000 as Weight) + (73_983_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_337_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shl(r: u32, ) -> Weight { - (73_891_000 as Weight) - // Standard Error: 0 - .saturating_add((1_371_000 as Weight).saturating_mul(r as Weight)) + (74_061_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shrs(r: u32, ) -> Weight { - (74_062_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) + (73_940_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shru(r: u32, ) -> Weight { - (74_347_000 as Weight) + (73_954_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rotl(r: u32, ) -> Weight { - (74_116_000 as Weight) + (74_026_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_354_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rotr(r: u32, ) -> Weight { - (73_837_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_377_000 as Weight).saturating_mul(r as Weight)) + (74_149_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_352_000 as Weight).saturating_mul(r as Weight)) } } @@ -1051,32 +1051,32 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_initialize() -> Weight { - (1_588_000 as Weight) + (1_512_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn on_initialize_per_trie_key(k: u32, ) -> Weight { - (6_994_000 as Weight) + (8_089_000 as Weight) // Standard Error: 0 - .saturating_add((743_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((741_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) fn on_initialize_per_queue_item(q: u32, ) -> Weight { - (2_831_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_232_000 as Weight).saturating_mul(q as Weight)) + (0 as Weight) + // Standard Error: 5_000 + .saturating_add((2_287_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) fn reinstrument(c: u32, ) -> Weight { - (17_839_000 as Weight) + (15_212_000 as Weight) // Standard Error: 0 - .saturating_add((64_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((51_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1085,9 +1085,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call_with_code_per_byte(c: u32, ) -> Weight { - (222_400_000 as Weight) + (218_406_000 as Weight) // Standard Error: 0 - .saturating_add((56_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((55_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1099,9 +1099,9 @@ impl WeightInfo for () { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - (283_144_000 as Weight) + (265_773_000 as Weight) // Standard Error: 0 - .saturating_add((140_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((127_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)) @@ -1114,7 +1114,7 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn instantiate(s: u32, ) -> Weight { - (171_794_000 as Weight) + (173_852_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)) @@ -1125,7 +1125,7 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System Account (r:1 w:1) fn call() -> Weight { - (140_234_000 as Weight) + (140_088_000 as Weight) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) } @@ -1133,9 +1133,9 @@ impl WeightInfo for () { // Storage: Contracts PristineCode (r:0 w:1) // Storage: Contracts OwnerInfoOf (r:0 w:1) fn upload_code(c: u32, ) -> Weight { - (49_467_000 as Weight) + (44_290_000 as Weight) // Standard Error: 0 - .saturating_add((66_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((51_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1143,7 +1143,7 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - (24_915_000 as Weight) + (24_364_000 as Weight) .saturating_add(RocksDbWeight::get().reads(1 as Weight)) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) } @@ -1152,9 +1152,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_caller(r: u32, ) -> Weight { - (218_957_000 as Weight) - // Standard Error: 114_000 - .saturating_add((49_881_000 as Weight).saturating_mul(r as Weight)) + (219_617_000 as Weight) + // Standard Error: 119_000 + .saturating_add((50_409_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1163,9 +1163,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_is_contract(r: u32, ) -> Weight { - (76_490_000 as Weight) - // Standard Error: 856_000 - .saturating_add((375_305_000 as Weight).saturating_mul(r as Weight)) + (102_073_000 as Weight) + // Standard Error: 843_000 + .saturating_add((369_025_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1175,9 +1175,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_caller_is_origin(r: u32, ) -> Weight { - (213_485_000 as Weight) - // Standard Error: 76_000 - .saturating_add((22_020_000 as Weight).saturating_mul(r as Weight)) + (213_550_000 as Weight) + // Standard Error: 63_000 + .saturating_add((21_519_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1186,9 +1186,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_address(r: u32, ) -> Weight { - (218_468_000 as Weight) - // Standard Error: 108_000 - .saturating_add((49_457_000 as Weight).saturating_mul(r as Weight)) + (220_649_000 as Weight) + // Standard Error: 95_000 + .saturating_add((50_197_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1197,9 +1197,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_gas_left(r: u32, ) -> Weight { - (218_950_000 as Weight) + (218_190_000 as Weight) // Standard Error: 99_000 - .saturating_add((48_859_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((49_817_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1208,9 +1208,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_balance(r: u32, ) -> Weight { - (226_714_000 as Weight) - // Standard Error: 111_000 - .saturating_add((141_924_000 as Weight).saturating_mul(r as Weight)) + (223_133_000 as Weight) + // Standard Error: 188_000 + .saturating_add((142_288_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1219,9 +1219,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_value_transferred(r: u32, ) -> Weight { - (216_673_000 as Weight) - // Standard Error: 90_000 - .saturating_add((49_367_000 as Weight).saturating_mul(r as Weight)) + (216_612_000 as Weight) + // Standard Error: 103_000 + .saturating_add((49_956_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1230,9 +1230,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_minimum_balance(r: u32, ) -> Weight { - (215_859_000 as Weight) - // Standard Error: 104_000 - .saturating_add((49_334_000 as Weight).saturating_mul(r as Weight)) + (218_349_000 as Weight) + // Standard Error: 93_000 + .saturating_add((49_656_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1241,9 +1241,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_block_number(r: u32, ) -> Weight { - (216_419_000 as Weight) - // Standard Error: 109_000 - .saturating_add((49_417_000 as Weight).saturating_mul(r as Weight)) + (213_151_000 as Weight) + // Standard Error: 110_000 + .saturating_add((50_099_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1252,9 +1252,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_now(r: u32, ) -> Weight { - (218_799_000 as Weight) - // Standard Error: 108_000 - .saturating_add((48_631_000 as Weight).saturating_mul(r as Weight)) + (216_816_000 as Weight) + // Standard Error: 95_000 + .saturating_add((49_724_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1264,9 +1264,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) fn seal_weight_to_fee(r: u32, ) -> Weight { - (215_968_000 as Weight) - // Standard Error: 147_000 - .saturating_add((122_978_000 as Weight).saturating_mul(r as Weight)) + (223_053_000 as Weight) + // Standard Error: 148_000 + .saturating_add((124_240_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1275,9 +1275,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_gas(r: u32, ) -> Weight { - (127_183_000 as Weight) - // Standard Error: 35_000 - .saturating_add((24_523_000 as Weight).saturating_mul(r as Weight)) + (127_253_000 as Weight) + // Standard Error: 27_000 + .saturating_add((25_608_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1286,9 +1286,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_input(r: u32, ) -> Weight { - (217_535_000 as Weight) - // Standard Error: 91_000 - .saturating_add((48_400_000 as Weight).saturating_mul(r as Weight)) + (218_057_000 as Weight) + // Standard Error: 98_000 + .saturating_add((49_061_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1297,9 +1297,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_input_per_kb(n: u32, ) -> Weight { - (297_539_000 as Weight) - // Standard Error: 5_000 - .saturating_add((11_870_000 as Weight).saturating_mul(n as Weight)) + (293_563_000 as Weight) + // Standard Error: 3_000 + .saturating_add((11_877_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1308,9 +1308,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_return(r: u32, ) -> Weight { - (211_807_000 as Weight) - // Standard Error: 160_000 - .saturating_add((1_717_000 as Weight).saturating_mul(r as Weight)) + (211_511_000 as Weight) + // Standard Error: 70_000 + .saturating_add((2_085_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1319,9 +1319,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_return_per_kb(n: u32, ) -> Weight { - (213_139_000 as Weight) + (213_876_000 as Weight) // Standard Error: 0 - .saturating_add((197_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((193_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1332,9 +1332,9 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn seal_terminate(r: u32, ) -> Weight { - (215_292_000 as Weight) - // Standard Error: 390_000 - .saturating_add((52_831_000 as Weight).saturating_mul(r as Weight)) + (214_736_000 as Weight) + // Standard Error: 206_000 + .saturating_add((53_637_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)) @@ -1346,9 +1346,9 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) fn seal_random(r: u32, ) -> Weight { - (215_802_000 as Weight) - // Standard Error: 132_000 - .saturating_add((159_065_000 as Weight).saturating_mul(r as Weight)) + (222_037_000 as Weight) + // Standard Error: 191_000 + .saturating_add((160_114_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1357,9 +1357,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_deposit_event(r: u32, ) -> Weight { - (225_069_000 as Weight) - // Standard Error: 201_000 - .saturating_add((292_145_000 as Weight).saturating_mul(r as Weight)) + (219_211_000 as Weight) + // Standard Error: 239_000 + .saturating_add((296_722_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1369,11 +1369,11 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) // Storage: System EventTopics (r:100 w:100) fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - (519_617_000 as Weight) - // Standard Error: 1_751_000 - .saturating_add((290_832_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 345_000 - .saturating_add((82_584_000 as Weight).saturating_mul(n as Weight)) + (519_643_000 as Weight) + // Standard Error: 1_842_000 + .saturating_add((300_853_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 363_000 + .saturating_add((82_577_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1384,17 +1384,17 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_debug_message(r: u32, ) -> Weight { - (132_245_000 as Weight) - // Standard Error: 75_000 - .saturating_add((41_274_000 as Weight).saturating_mul(r as Weight)) + (132_710_000 as Weight) + // Standard Error: 77_000 + .saturating_add((41_623_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) fn seal_set_storage(r: u32, ) -> Weight { - (48_288_000 as Weight) - // Standard Error: 1_024_000 - .saturating_add((408_264_000 as Weight).saturating_mul(r as Weight)) + (40_644_000 as Weight) + // Standard Error: 1_072_000 + .saturating_add((412_308_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1402,25 +1402,25 @@ impl WeightInfo for () { } // Storage: Skipped Metadata (r:0 w:0) fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - (607_246_000 as Weight) - // Standard Error: 252_000 - .saturating_add((28_722_000 as Weight).saturating_mul(n as Weight)) + (609_052_000 as Weight) + // Standard Error: 258_000 + .saturating_add((28_633_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(105 as Weight)) .saturating_add(RocksDbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - (623_983_000 as Weight) - // Standard Error: 305_000 - .saturating_add((11_374_000 as Weight).saturating_mul(n as Weight)) + (629_665_000 as Weight) + // Standard Error: 300_000 + .saturating_add((10_947_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(105 as Weight)) .saturating_add(RocksDbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_clear_storage(r: u32, ) -> Weight { - (91_727_000 as Weight) - // Standard Error: 837_000 - .saturating_add((383_577_000 as Weight).saturating_mul(r as Weight)) + (91_519_000 as Weight) + // Standard Error: 889_000 + .saturating_add((386_498_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1428,51 +1428,51 @@ impl WeightInfo for () { } // Storage: Skipped Metadata (r:0 w:0) fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - (604_749_000 as Weight) - // Standard Error: 251_000 - .saturating_add((11_086_000 as Weight).saturating_mul(n as Weight)) + (612_224_000 as Weight) + // Standard Error: 269_000 + .saturating_add((10_709_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(105 as Weight)) .saturating_add(RocksDbWeight::get().writes(103 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_get_storage(r: u32, ) -> Weight { - (107_805_000 as Weight) - // Standard Error: 722_000 - .saturating_add((326_494_000 as Weight).saturating_mul(r as Weight)) + (112_236_000 as Weight) + // Standard Error: 624_000 + .saturating_add((327_655_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_get_storage_per_kb(n: u32, ) -> Weight { - (564_604_000 as Weight) - // Standard Error: 360_000 - .saturating_add((65_184_000 as Weight).saturating_mul(n as Weight)) + (567_711_000 as Weight) + // Standard Error: 387_000 + .saturating_add((63_984_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(104 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_contains_storage(r: u32, ) -> Weight { - (122_105_000 as Weight) - // Standard Error: 560_000 - .saturating_add((291_458_000 as Weight).saturating_mul(r as Weight)) + (109_996_000 as Weight) + // Standard Error: 681_000 + .saturating_add((298_317_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - (512_580_000 as Weight) - // Standard Error: 245_000 - .saturating_add((10_171_000 as Weight).saturating_mul(n as Weight)) + (518_342_000 as Weight) + // Standard Error: 251_000 + .saturating_add((9_666_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(104 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) fn seal_take_storage(r: u32, ) -> Weight { - (81_220_000 as Weight) - // Standard Error: 933_000 - .saturating_add((418_532_000 as Weight).saturating_mul(r as Weight)) + (75_974_000 as Weight) + // Standard Error: 1_000_000 + .saturating_add((417_954_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1480,9 +1480,9 @@ impl WeightInfo for () { } // Storage: Skipped Metadata (r:0 w:0) fn seal_take_storage_per_kb(n: u32, ) -> Weight { - (652_330_000 as Weight) - // Standard Error: 357_000 - .saturating_add((65_711_000 as Weight).saturating_mul(n as Weight)) + (653_188_000 as Weight) + // Standard Error: 333_000 + .saturating_add((64_810_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(105 as Weight)) .saturating_add(RocksDbWeight::get().writes(103 as Weight)) } @@ -1491,9 +1491,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_transfer(r: u32, ) -> Weight { - (126_544_000 as Weight) - // Standard Error: 1_198_000 - .saturating_add((1_796_593_000 as Weight).saturating_mul(r as Weight)) + (127_056_000 as Weight) + // Standard Error: 1_106_000 + .saturating_add((1_784_183_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(2 as Weight)) @@ -1505,8 +1505,8 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) fn seal_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_033_000 - .saturating_add((19_788_005_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_621_000 + .saturating_add((19_757_765_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(5 as Weight)) .saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) @@ -1518,8 +1518,8 @@ impl WeightInfo for () { // Storage: Timestamp Now (r:1 w:0) fn seal_delegate_call(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_663_000 - .saturating_add((19_835_985_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 6_286_000 + .saturating_add((19_798_229_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((99 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1528,11 +1528,11 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:2 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - (10_957_494_000 as Weight) - // Standard Error: 13_908_000 - .saturating_add((1_622_630_000 as Weight).saturating_mul(t as Weight)) + (10_922_130_000 as Weight) + // Standard Error: 15_556_000 + .saturating_add((1_672_276_000 as Weight).saturating_mul(t as Weight)) // Standard Error: 6_000 - .saturating_add((11_960_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((11_984_000 as Weight).saturating_mul(c as Weight)) .saturating_add(RocksDbWeight::get().reads(105 as Weight)) .saturating_add(RocksDbWeight::get().reads((101 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(101 as Weight)) @@ -1546,8 +1546,8 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:100 w:100) fn seal_instantiate(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 48_191_000 - .saturating_add((27_587_375_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 46_147_000 + .saturating_add((27_589_519_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(6 as Weight)) .saturating_add(RocksDbWeight::get().reads((400 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes(3 as Weight)) @@ -1560,11 +1560,11 @@ impl WeightInfo for () { // Storage: Contracts AccountCounter (r:1 w:1) // Storage: Contracts OwnerInfoOf (r:1 w:1) fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - (14_504_226_000 as Weight) - // Standard Error: 66_350_000 - .saturating_add((912_874_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 31_000 - .saturating_add((157_415_000 as Weight).saturating_mul(s as Weight)) + (14_790_752_000 as Weight) + // Standard Error: 37_838_000 + .saturating_add((714_016_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 17_000 + .saturating_add((155_605_000 as Weight).saturating_mul(s as Weight)) .saturating_add(RocksDbWeight::get().reads(207 as Weight)) .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(t as Weight))) .saturating_add(RocksDbWeight::get().writes(205 as Weight)) @@ -1575,9 +1575,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_sha2_256(r: u32, ) -> Weight { - (216_771_000 as Weight) - // Standard Error: 127_000 - .saturating_add((79_994_000 as Weight).saturating_mul(r as Weight)) + (216_547_000 as Weight) + // Standard Error: 126_000 + .saturating_add((81_132_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1586,9 +1586,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { - (376_960_000 as Weight) - // Standard Error: 24_000 - .saturating_add((465_507_000 as Weight).saturating_mul(n as Weight)) + (459_912_000 as Weight) + // Standard Error: 27_000 + .saturating_add((464_750_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1597,9 +1597,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_keccak_256(r: u32, ) -> Weight { - (212_554_000 as Weight) - // Standard Error: 129_000 - .saturating_add((92_073_000 as Weight).saturating_mul(r as Weight)) + (212_653_000 as Weight) + // Standard Error: 147_000 + .saturating_add((93_380_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1608,9 +1608,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { - (298_638_000 as Weight) - // Standard Error: 23_000 - .saturating_add((307_231_000 as Weight).saturating_mul(n as Weight)) + (324_536_000 as Weight) + // Standard Error: 20_000 + .saturating_add((306_160_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1619,9 +1619,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_256(r: u32, ) -> Weight { - (216_274_000 as Weight) - // Standard Error: 100_000 - .saturating_add((64_205_000 as Weight).saturating_mul(r as Weight)) + (218_574_000 as Weight) + // Standard Error: 123_000 + .saturating_add((65_035_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1630,9 +1630,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { - (294_478_000 as Weight) - // Standard Error: 18_000 - .saturating_add((120_405_000 as Weight).saturating_mul(n as Weight)) + (345_804_000 as Weight) + // Standard Error: 14_000 + .saturating_add((118_896_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1641,9 +1641,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_128(r: u32, ) -> Weight { - (215_874_000 as Weight) - // Standard Error: 115_000 - .saturating_add((63_402_000 as Weight).saturating_mul(r as Weight)) + (215_898_000 as Weight) + // Standard Error: 108_000 + .saturating_add((64_332_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1652,9 +1652,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { - (288_361_000 as Weight) - // Standard Error: 15_000 - .saturating_add((120_795_000 as Weight).saturating_mul(n as Weight)) + (351_569_000 as Weight) + // Standard Error: 18_000 + .saturating_add((118_896_000 as Weight).saturating_mul(n as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1663,9 +1663,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:1 w:0) // Storage: Timestamp Now (r:1 w:0) fn seal_ecdsa_recover(r: u32, ) -> Weight { - (142_940_000 as Weight) - // Standard Error: 1_317_000 - .saturating_add((15_385_437_000 as Weight).saturating_mul(r as Weight)) + (272_893_000 as Weight) + // Standard Error: 1_438_000 + .saturating_add((15_412_877_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads(4 as Weight)) .saturating_add(RocksDbWeight::get().writes(1 as Weight)) } @@ -1676,264 +1676,264 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:36 w:36) fn seal_set_code_hash(r: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_981_000 - .saturating_add((943_500_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 2_132_000 + .saturating_add((937_623_000 as Weight).saturating_mul(r as Weight)) .saturating_add(RocksDbWeight::get().reads((99 as Weight).saturating_mul(r as Weight))) .saturating_add(RocksDbWeight::get().writes((99 as Weight).saturating_mul(r as Weight))) } fn instr_i64const(r: u32, ) -> Weight { - (74_672_000 as Weight) + (74_268_000 as Weight) // Standard Error: 1_000 .saturating_add((595_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64load(r: u32, ) -> Weight { - (74_346_000 as Weight) + (74_515_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_324_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_300_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64store(r: u32, ) -> Weight { - (74_149_000 as Weight) + (74_217_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_438_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_411_000 as Weight).saturating_mul(r as Weight)) } fn instr_select(r: u32, ) -> Weight { - (74_186_000 as Weight) + (73_689_000 as Weight) // Standard Error: 4_000 - .saturating_add((1_789_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_792_000 as Weight).saturating_mul(r as Weight)) } fn instr_if(r: u32, ) -> Weight { - (74_040_000 as Weight) + (73_755_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_898_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_899_000 as Weight).saturating_mul(r as Weight)) } fn instr_br(r: u32, ) -> Weight { - (73_909_000 as Weight) - // Standard Error: 1_000 - .saturating_add((910_000 as Weight).saturating_mul(r as Weight)) + (73_735_000 as Weight) + // Standard Error: 0 + .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_if(r: u32, ) -> Weight { - (73_873_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_446_000 as Weight).saturating_mul(r as Weight)) + (73_595_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_448_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_table(r: u32, ) -> Weight { - (73_438_000 as Weight) + (73_524_000 as Weight) // Standard Error: 3_000 - .saturating_add((1_582_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_572_000 as Weight).saturating_mul(r as Weight)) } fn instr_br_table_per_entry(e: u32, ) -> Weight { - (75_993_000 as Weight) + (76_361_000 as Weight) // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(e as Weight)) } fn instr_call(r: u32, ) -> Weight { - (73_218_000 as Weight) - // Standard Error: 17_000 - .saturating_add((17_167_000 as Weight).saturating_mul(r as Weight)) + (76_131_000 as Weight) + // Standard Error: 7_000 + .saturating_add((7_271_000 as Weight).saturating_mul(r as Weight)) } fn instr_call_indirect(r: u32, ) -> Weight { - (85_517_000 as Weight) - // Standard Error: 30_000 - .saturating_add((28_885_000 as Weight).saturating_mul(r as Weight)) + (87_948_000 as Weight) + // Standard Error: 14_000 + .saturating_add((9_429_000 as Weight).saturating_mul(r as Weight)) } fn instr_call_indirect_per_param(p: u32, ) -> Weight { - (119_915_000 as Weight) - // Standard Error: 3_000 - .saturating_add((918_000 as Weight).saturating_mul(p as Weight)) + (98_091_000 as Weight) + // Standard Error: 1_000 + .saturating_add((481_000 as Weight).saturating_mul(p as Weight)) } fn instr_local_get(r: u32, ) -> Weight { - (74_718_000 as Weight) + (74_311_000 as Weight) // Standard Error: 1_000 - .saturating_add((618_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((627_000 as Weight).saturating_mul(r as Weight)) } fn instr_local_set(r: u32, ) -> Weight { - (74_800_000 as Weight) + (74_701_000 as Weight) // Standard Error: 1_000 - .saturating_add((684_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((677_000 as Weight).saturating_mul(r as Weight)) } fn instr_local_tee(r: u32, ) -> Weight { - (74_590_000 as Weight) - // Standard Error: 2_000 - .saturating_add((911_000 as Weight).saturating_mul(r as Weight)) + (74_645_000 as Weight) + // Standard Error: 1_000 + .saturating_add((890_000 as Weight).saturating_mul(r as Weight)) } fn instr_global_get(r: u32, ) -> Weight { - (76_776_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_159_000 as Weight).saturating_mul(r as Weight)) + (77_130_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_156_000 as Weight).saturating_mul(r as Weight)) } fn instr_global_set(r: u32, ) -> Weight { - (77_283_000 as Weight) + (77_199_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_367_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) } fn instr_memory_current(r: u32, ) -> Weight { - (74_555_000 as Weight) - // Standard Error: 1_000 - .saturating_add((655_000 as Weight).saturating_mul(r as Weight)) + (74_024_000 as Weight) + // Standard Error: 2_000 + .saturating_add((675_000 as Weight).saturating_mul(r as Weight)) } fn instr_memory_grow(r: u32, ) -> Weight { - (73_693_000 as Weight) - // Standard Error: 131_000 - .saturating_add((181_095_000 as Weight).saturating_mul(r as Weight)) + (75_226_000 as Weight) + // Standard Error: 170_000 + .saturating_add((186_225_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64clz(r: u32, ) -> Weight { - (74_457_000 as Weight) - // Standard Error: 1_000 - .saturating_add((903_000 as Weight).saturating_mul(r as Weight)) + (74_307_000 as Weight) + // Standard Error: 2_000 + .saturating_add((896_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ctz(r: u32, ) -> Weight { - (74_287_000 as Weight) - // Standard Error: 1_000 - .saturating_add((907_000 as Weight).saturating_mul(r as Weight)) + (74_408_000 as Weight) + // Standard Error: 3_000 + .saturating_add((895_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64popcnt(r: u32, ) -> Weight { - (74_603_000 as Weight) - // Standard Error: 3_000 - .saturating_add((892_000 as Weight).saturating_mul(r as Weight)) + (74_418_000 as Weight) + // Standard Error: 1_000 + .saturating_add((885_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64eqz(r: u32, ) -> Weight { - (74_383_000 as Weight) - // Standard Error: 1_000 + (74_130_000 as Weight) + // Standard Error: 2_000 .saturating_add((920_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64extendsi32(r: u32, ) -> Weight { - (74_020_000 as Weight) + (74_318_000 as Weight) // Standard Error: 2_000 - .saturating_add((896_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((876_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64extendui32(r: u32, ) -> Weight { - (74_108_000 as Weight) - // Standard Error: 4_000 - .saturating_add((889_000 as Weight).saturating_mul(r as Weight)) + (74_496_000 as Weight) + // Standard Error: 1_000 + .saturating_add((871_000 as Weight).saturating_mul(r as Weight)) } fn instr_i32wrapi64(r: u32, ) -> Weight { - (74_197_000 as Weight) - // Standard Error: 2_000 - .saturating_add((901_000 as Weight).saturating_mul(r as Weight)) + (73_938_000 as Weight) + // Standard Error: 0 + .saturating_add((897_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64eq(r: u32, ) -> Weight { - (73_941_000 as Weight) + (73_943_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_377_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_367_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ne(r: u32, ) -> Weight { - (73_891_000 as Weight) + (74_305_000 as Weight) // Standard Error: 2_000 - .saturating_add((1_383_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64lts(r: u32, ) -> Weight { - (74_253_000 as Weight) + (73_948_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_369_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_361_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ltu(r: u32, ) -> Weight { - (74_125_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_371_000 as Weight).saturating_mul(r as Weight)) + (74_188_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_354_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64gts(r: u32, ) -> Weight { - (74_144_000 as Weight) + (74_156_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_369_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_353_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64gtu(r: u32, ) -> Weight { - (74_170_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_375_000 as Weight).saturating_mul(r as Weight)) + (73_972_000 as Weight) + // Standard Error: 0 + .saturating_add((1_365_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64les(r: u32, ) -> Weight { - (74_164_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_370_000 as Weight).saturating_mul(r as Weight)) + (74_082_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64leu(r: u32, ) -> Weight { - (74_166_000 as Weight) + (74_190_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_376_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64ges(r: u32, ) -> Weight { - (73_920_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_381_000 as Weight).saturating_mul(r as Weight)) + (73_803_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_370_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64geu(r: u32, ) -> Weight { - (74_691_000 as Weight) - // Standard Error: 2_000 - .saturating_add((1_356_000 as Weight).saturating_mul(r as Weight)) + (74_063_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_357_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64add(r: u32, ) -> Weight { - (74_198_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_347_000 as Weight).saturating_mul(r as Weight)) + (73_750_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_345_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64sub(r: u32, ) -> Weight { - (74_064_000 as Weight) + (73_979_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_358_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_341_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64mul(r: u32, ) -> Weight { - (75_744_000 as Weight) - // Standard Error: 8_000 - .saturating_add((1_338_000 as Weight).saturating_mul(r as Weight)) + (74_197_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_332_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64divs(r: u32, ) -> Weight { - (74_300_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_003_000 as Weight).saturating_mul(r as Weight)) + (73_624_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_020_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64divu(r: u32, ) -> Weight { - (74_001_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_051_000 as Weight).saturating_mul(r as Weight)) + (74_074_000 as Weight) + // Standard Error: 2_000 + .saturating_add((2_050_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rems(r: u32, ) -> Weight { - (74_132_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_994_000 as Weight).saturating_mul(r as Weight)) + (73_766_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_016_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64remu(r: u32, ) -> Weight { - (74_241_000 as Weight) + (73_978_000 as Weight) // Standard Error: 3_000 - .saturating_add((2_070_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((2_064_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64and(r: u32, ) -> Weight { - (74_069_000 as Weight) + (73_996_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_336_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64or(r: u32, ) -> Weight { - (73_978_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_355_000 as Weight).saturating_mul(r as Weight)) + (74_058_000 as Weight) + // Standard Error: 2_000 + .saturating_add((1_335_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64xor(r: u32, ) -> Weight { - (74_053_000 as Weight) + (73_983_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_337_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shl(r: u32, ) -> Weight { - (73_891_000 as Weight) - // Standard Error: 0 - .saturating_add((1_371_000 as Weight).saturating_mul(r as Weight)) + (74_061_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_351_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shrs(r: u32, ) -> Weight { - (74_062_000 as Weight) - // Standard Error: 1_000 - .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) + (73_940_000 as Weight) + // Standard Error: 5_000 + .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64shru(r: u32, ) -> Weight { - (74_347_000 as Weight) + (73_954_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_360_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_359_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rotl(r: u32, ) -> Weight { - (74_116_000 as Weight) + (74_026_000 as Weight) // Standard Error: 1_000 - .saturating_add((1_366_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((1_354_000 as Weight).saturating_mul(r as Weight)) } fn instr_i64rotr(r: u32, ) -> Weight { - (73_837_000 as Weight) - // Standard Error: 3_000 - .saturating_add((1_377_000 as Weight).saturating_mul(r as Weight)) + (74_149_000 as Weight) + // Standard Error: 1_000 + .saturating_add((1_352_000 as Weight).saturating_mul(r as Weight)) } }