From f102025871a45ab2387673d09d01b55e950a9894 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 13:08:59 +0100 Subject: [PATCH 01/10] fix up --- prdoc/pr_10366.prdoc | 7 + substrate/frame/revive/src/benchmarking.rs | 52 +- .../src/vm/evm/instructions/contract.rs | 7 +- .../revive/src/vm/evm/instructions/control.rs | 6 + .../revive/src/vm/evm/instructions/mod.rs | 13 +- substrate/frame/revive/src/vm/evm/stack.rs | 2 +- .../frame/revive/src/vm/runtime_costs.rs | 8 + substrate/frame/revive/src/weights.rs | 1441 +++++++++-------- 8 files changed, 829 insertions(+), 707 deletions(-) create mode 100644 prdoc/pr_10366.prdoc diff --git a/prdoc/pr_10366.prdoc b/prdoc/pr_10366.prdoc new file mode 100644 index 0000000000000..b54e47c6ca7f8 --- /dev/null +++ b/prdoc/pr_10366.prdoc @@ -0,0 +1,7 @@ +title: '[pallet-revive] update evm create benchmark' +doc: +- audience: Runtime Dev + description: Add a benchmark for evm CREATE instruction +crates: +- name: pallet-revive + bump: patch diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index 610805e745e99..0e33a61da2472 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -38,7 +38,7 @@ use crate::{ storage::WriteOutcome, vm::{ evm, - evm::{instructions::host, Interpreter}, + evm::{instructions, instructions::utility::IntoAddress, Interpreter}, pvm, }, Pallet as Contracts, *, @@ -2090,6 +2090,54 @@ mod benchmarks { Ok(()) } + // t: with or without some value to transfer + // d: with or without dust value to transfer + // i: size of the init code (max 49152 bytes per EIP-3860) + #[benchmark(pov_mode = Measured)] + fn evm_instantiate( + t: Linear<0, 1>, + d: Linear<0, 1>, + i: Linear<1024, { 10 * 1024 }>, + ) -> Result<(), BenchmarkError> { + use crate::vm::evm::instructions::BENCH_INIT_CODE; + let module = VmBinaryModule::dummy(); + let mut setup = CallSetup::::new(module); + + setup.set_origin(ExecOrigin::from_account_id(setup.contract().account_id.clone())); + setup.set_balance(caller_funding::()); + + let (mut ext, _) = setup.ext(); + let mut interpreter = Interpreter::new(Default::default(), Default::default(), &mut ext); + + let value = { + let value: BalanceOf = (1_000_000u32 * t).into(); + let dust = 100u32 * d; + Pallet::::convert_native_to_evm(BalanceWithDust::new_unchecked::(value, dust)) + }; + + let init_code = vec![BENCH_INIT_CODE; i as usize]; + let _ = interpreter.memory.resize(0, init_code.len()); + interpreter.memory.set_data(0, 0, init_code.len(), &init_code); + + // Setup stack for create instruction [value, offset, size] + let _ = interpreter.stack.push(U256::from(init_code.len())); + let _ = interpreter.stack.push(U256::from(0u32)); + let _ = interpreter.stack.push(value); + + let result; + #[block] + { + result = instructions::contract::create::(&mut interpreter); + } + + assert!(result.is_continue()); + let addr = interpreter.stack.top().unwrap().into_address(); + assert!(AccountInfo::::load_contract(&addr).is_some()); + assert_eq!(Pallet::::code(&addr).len(), revm::primitives::eip170::MAX_CODE_SIZE); + assert_eq!(Pallet::::evm_balance(&addr), value, "balance should hold {value:?}"); + Ok(()) + } + // `n`: Input to hash in bytes #[benchmark(pov_mode = Measured)] fn sha2_256(n: Linear<0, { limits::code::BLOB_BYTES }>) { @@ -2578,7 +2626,7 @@ mod benchmarks { let result; #[block] { - result = host::extcodecopy(&mut interpreter); + result = instructions::host::extcodecopy(&mut interpreter); } assert!(result.is_continue()); diff --git a/substrate/frame/revive/src/vm/evm/instructions/contract.rs b/substrate/frame/revive/src/vm/evm/instructions/contract.rs index 732094ce6b71a..7f04de865a7c4 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/contract.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/contract.rs @@ -46,11 +46,8 @@ pub fn create( let [value, code_offset, len] = interpreter.stack.popn()?; let len = as_usize_or_halt::(len)?; - // TODO: We do not charge for the new code in storage. When implementing the new gas: - // Introduce EthInstantiateWithCode, which shall charge gas based on the code length. - // See #9577 for more context. - interpreter.ext.charge_or_halt(RuntimeCosts::Instantiate { - input_data_len: len as u32, // We charge for initcode execution + interpreter.ext.charge_or_halt(RuntimeCosts::Create { + init_code_len: len as u32, balance_transfer: Pallet::::has_balance(value), dust_transfer: Pallet::::has_dust(value), })?; diff --git a/substrate/frame/revive/src/vm/evm/instructions/control.rs b/substrate/frame/revive/src/vm/evm/instructions/control.rs index 3dab142b57ffa..9d31cf7cc5372 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/control.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/control.rs @@ -130,3 +130,9 @@ pub fn invalid(interpreter: &mut Interpreter) -> ControlFlow { interpreter.ext.gas_meter_mut().consume_all(); ControlFlow::Break(Error::::InvalidInstruction.into()) } + +#[cfg(feature = "runtime-benchmarks")] +pub fn bench_init_code() -> ControlFlow { + let runtime_code = vec![revm::bytecode::opcode::STOP; revm::primitives::eip170::MAX_CODE_SIZE]; + ControlFlow::Break(Halt::Return(runtime_code)) +} diff --git a/substrate/frame/revive/src/vm/evm/instructions/mod.rs b/substrate/frame/revive/src/vm/evm/instructions/mod.rs index 531cb051d1a91..423aea073a0a3 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/mod.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/mod.rs @@ -27,14 +27,11 @@ mod bitwise; /// Block information instructions (COINBASE, TIMESTAMP, etc.). mod block_info; /// Contract operations (CALL, CREATE, DELEGATECALL, etc.). -mod contract; +pub mod contract; /// Control flow instructions (JUMP, JUMPI, REVERT, etc.). mod control; /// Host environment interactions (SLOAD, SSTORE, LOG, etc.). -#[cfg(feature = "runtime-benchmarks")] pub mod host; -#[cfg(not(feature = "runtime-benchmarks"))] -mod host; /// Memory operations (MLOAD, MSTORE, MSIZE, etc.). mod memory; /// Stack operations (PUSH, POP, DUP, SWAP, etc.). @@ -44,7 +41,10 @@ mod system; /// Transaction information instructions (ORIGIN, GASPRICE, etc.). mod tx_info; /// Utility functions and helpers for instruction implementation. -mod utility; +pub mod utility; + +#[cfg(feature = "runtime-benchmarks")] +pub const BENCH_INIT_CODE: u8 = 0xfe; // Arbitrary unused opcode for benchmarking pub fn exec_instruction( interpreter: &mut Interpreter, @@ -212,6 +212,9 @@ pub fn exec_instruction( REVERT => control::revert(interpreter), SELFDESTRUCT => host::selfdestruct(interpreter), + #[cfg(feature = "runtime-benchmarks")] + BENCH_INIT_CODE => control::bench_init_code(), + _ => control::invalid(interpreter), } } diff --git a/substrate/frame/revive/src/vm/evm/stack.rs b/substrate/frame/revive/src/vm/evm/stack.rs index ff75c63c84ee4..7219ac81ccf15 100644 --- a/substrate/frame/revive/src/vm/evm/stack.rs +++ b/substrate/frame/revive/src/vm/evm/stack.rs @@ -70,7 +70,7 @@ impl Stack { } /// Get a reference to the top stack item without removing it - #[cfg(test)] + #[cfg(any(test, feature = "runtime-benchmarks"))] pub fn top(&self) -> Option<&U256> { self.stack.last() } diff --git a/substrate/frame/revive/src/vm/runtime_costs.rs b/substrate/frame/revive/src/vm/runtime_costs.rs index 522d17a660d1b..938e2a288a711 100644 --- a/substrate/frame/revive/src/vm/runtime_costs.rs +++ b/substrate/frame/revive/src/vm/runtime_costs.rs @@ -138,6 +138,8 @@ pub enum RuntimeCosts { CallInputCloned(u32), /// Weight of calling `seal_instantiate`. Instantiate { input_data_len: u32, balance_transfer: bool, dust_transfer: bool }, + /// Weight of calling `Create` opcode. + Create { init_code_len: u32, balance_transfer: bool, dust_transfer: bool }, /// Weight of calling `Ripemd160` precompile for the given input size. Ripemd160(u32), /// Weight of calling `Sha256` precompile for the given input size. @@ -312,6 +314,12 @@ impl Token for RuntimeCosts { balance_transfer.into(), dust_transfer.into(), ), + Create { init_code_len, balance_transfer, dust_transfer } => + T::WeightInfo::evm_instantiate( + init_code_len, + balance_transfer.into(), + dust_transfer.into(), + ), HashSha256(len) => T::WeightInfo::sha2_256(len), Ripemd160(len) => T::WeightInfo::ripemd_160(len), HashKeccak256(len) => T::WeightInfo::seal_hash_keccak_256(len), diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index 33b297a933141..e2930b8233d00 100644 --- a/substrate/frame/revive/src/weights.rs +++ b/substrate/frame/revive/src/weights.rs @@ -35,9 +35,9 @@ //! Autogenerated weights for `pallet_revive` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-11-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-11-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `60f507e1c0ec`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `44915ba9d147`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -146,6 +146,7 @@ pub trait WeightInfo { fn seal_call_precompile(d: u32, i: u32, ) -> Weight; fn seal_delegate_call() -> Weight; fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight; + fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight; fn sha2_256(n: u32, ) -> Weight; fn identity(n: u32, ) -> Weight; fn ripemd_160(n: u32, ) -> Weight; @@ -182,8 +183,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_329_000 picoseconds. - Weight::from_parts(3_530_000, 1698) + // Minimum execution time: 3_385_000 picoseconds. + Weight::from_parts(3_568_000, 1698) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -193,10 +194,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_625_000 picoseconds. - Weight::from_parts(14_974_000, 481) - // Standard Error: 854 - .saturating_add(Weight::from_parts(1_192_634, 0).saturating_mul(k.into())) + // Minimum execution time: 14_795_000 picoseconds. + Weight::from_parts(15_696_000, 481) + // Standard Error: 1_015 + .saturating_add(Weight::from_parts(1_190_962, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -220,10 +221,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 97_433_000 picoseconds. - Weight::from_parts(141_235_567, 7200) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_331, 0).saturating_mul(c.into())) + // Minimum execution time: 96_097_000 picoseconds. + Weight::from_parts(140_874_377, 7200) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_546, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -245,10 +246,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 90_707_000 picoseconds. - Weight::from_parts(94_762_747, 7144) - // Standard Error: 17 - .saturating_add(Weight::from_parts(93, 0).saturating_mul(c.into())) + // Minimum execution time: 89_498_000 picoseconds. + Weight::from_parts(94_448_257, 7144) + // Standard Error: 26 + .saturating_add(Weight::from_parts(11, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -265,14 +266,12 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(b: u32, ) -> Weight { + fn basic_block_compilation(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 142_424_000 picoseconds. - Weight::from_parts(148_072_518, 10549) - // Standard Error: 623_539 - .saturating_add(Weight::from_parts(828_981, 0).saturating_mul(b.into())) + // Minimum execution time: 140_558_000 picoseconds. + Weight::from_parts(146_644_730, 10549) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -294,14 +293,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 131072]`. fn instantiate_with_code(c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1024` - // Estimated: `6954` - // Minimum execution time: 766_264_000 picoseconds. - Weight::from_parts(71_405_876, 6954) - // Standard Error: 37 - .saturating_add(Weight::from_parts(19_823, 0).saturating_mul(c.into())) - // Standard Error: 29 - .saturating_add(Weight::from_parts(4_972, 0).saturating_mul(i.into())) + // Measured: `994` + // Estimated: `6924` + // Minimum execution time: 776_739_000 picoseconds. + Weight::from_parts(75_085_614, 6924) + // Standard Error: 39 + .saturating_add(Weight::from_parts(20_620, 0).saturating_mul(c.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(5_069, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -328,16 +327,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 1]`. fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1024` - // Estimated: `6964` - // Minimum execution time: 364_846_000 picoseconds. - Weight::from_parts(255_704_594, 6964) - // Standard Error: 43 - .saturating_add(Weight::from_parts(15_378, 0).saturating_mul(c.into())) - // Standard Error: 34 - .saturating_add(Weight::from_parts(605, 0).saturating_mul(i.into())) - // Standard Error: 2_848_200 - .saturating_add(Weight::from_parts(8_619_704, 0).saturating_mul(d.into())) + // Measured: `994` + // Estimated: `6934` + // Minimum execution time: 373_087_000 picoseconds. + Weight::from_parts(254_968_766, 6934) + // Standard Error: 49 + .saturating_add(Weight::from_parts(16_282, 0).saturating_mul(c.into())) + // Standard Error: 38 + .saturating_add(Weight::from_parts(655, 0).saturating_mul(i.into())) + // Standard Error: 3_249_500 + .saturating_add(Weight::from_parts(9_697_598, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -345,8 +344,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_104_000 picoseconds. - Weight::from_parts(3_322_000, 0) + // Minimum execution time: 3_340_000 picoseconds. + Weight::from_parts(3_486_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -365,12 +364,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 131072]`. fn instantiate(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1765` - // Estimated: `7705` - // Minimum execution time: 189_625_000 picoseconds. - Weight::from_parts(192_039_798, 7705) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_132, 0).saturating_mul(i.into())) + // Measured: `1735` + // Estimated: `7659` + // Minimum execution time: 183_189_000 picoseconds. + Weight::from_parts(192_052_984, 7659) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_246, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -388,10 +387,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `1981` - // Estimated: `7921` - // Minimum execution time: 101_040_000 picoseconds. - Weight::from_parts(103_643_000, 7921) + // Measured: `1958` + // Estimated: `7898` + // Minimum execution time: 97_346_000 picoseconds. + Weight::from_parts(100_810_000, 7898) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -414,12 +413,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 1]`. fn eth_call(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1981` - // Estimated: `7921` - // Minimum execution time: 162_616_000 picoseconds. - Weight::from_parts(170_049_814, 7921) - // Standard Error: 747_509 - .saturating_add(Weight::from_parts(2_207_885, 0).saturating_mul(d.into())) + // Measured: `1958` + // Estimated: `7898` + // Minimum execution time: 160_863_000 picoseconds. + Weight::from_parts(168_386_465, 7898) + // Standard Error: 750_726 + .saturating_add(Weight::from_parts(10_355_134, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -436,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 26_805_000 picoseconds. - Weight::from_parts(20_317_546, 3823) + // Minimum execution time: 29_783_000 picoseconds. + Weight::from_parts(24_862_803, 3823) // Standard Error: 12 - .saturating_add(Weight::from_parts(6_369, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(6_351, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -454,12 +453,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 102400]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `422` - // Estimated: `3887` - // Minimum execution time: 63_906_000 picoseconds. - Weight::from_parts(54_669_999, 3887) - // Standard Error: 17 - .saturating_add(Weight::from_parts(13_935, 0).saturating_mul(c.into())) + // Measured: `392` + // Estimated: `3857` + // Minimum execution time: 60_416_000 picoseconds. + Weight::from_parts(51_004_852, 3857) + // Standard Error: 18 + .saturating_add(Weight::from_parts(14_578, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -473,8 +472,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 54_111_000 picoseconds. - Weight::from_parts(55_435_000, 3989) + // Minimum execution time: 52_960_000 picoseconds. + Weight::from_parts(54_452_000, 3989) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -492,8 +491,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 68_725_000 picoseconds. - Weight::from_parts(71_023_000, 6807) + // Minimum execution time: 67_952_000 picoseconds. + Weight::from_parts(69_484_000, 6807) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -505,10 +504,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) fn map_account() -> Weight { // Proof Size summary in bytes: - // Measured: `653` - // Estimated: `4118` - // Minimum execution time: 62_667_000 picoseconds. - Weight::from_parts(64_662_000, 4118) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 60_786_000 picoseconds. + Weight::from_parts(61_858_000, 4088) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -520,8 +519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_774_000 picoseconds. - Weight::from_parts(41_446_000, 3558) + // Minimum execution time: 40_343_000 picoseconds. + Weight::from_parts(40_959_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -533,10 +532,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`) fn dispatch_as_fallback_account() -> Weight { // Proof Size summary in bytes: - // Measured: `411` - // Estimated: `3876` - // Minimum execution time: 19_462_000 picoseconds. - Weight::from_parts(19_909_000, 3876) + // Measured: `381` + // Estimated: `3846` + // Minimum execution time: 19_031_000 picoseconds. + Weight::from_parts(19_515_000, 3846) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -544,24 +543,24 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_660_000 picoseconds. - Weight::from_parts(8_240_505, 0) - // Standard Error: 201 - .saturating_add(Weight::from_parts(174_056, 0).saturating_mul(r.into())) + // Minimum execution time: 7_482_000 picoseconds. + Weight::from_parts(9_624_813, 0) + // Standard Error: 258 + .saturating_add(Weight::from_parts(169_779, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 360_000 picoseconds. + Weight::from_parts(378_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 313_000 picoseconds. - Weight::from_parts(355_000, 0) + // Minimum execution time: 330_000 picoseconds. + Weight::from_parts(360_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -569,8 +568,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_410_000 picoseconds. - Weight::from_parts(12_106_000, 4088) + // Minimum execution time: 11_459_000 picoseconds. + Weight::from_parts(11_965_000, 4088) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -579,16 +578,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 9_988_000 picoseconds. - Weight::from_parts(10_660_000, 3938) + // Minimum execution time: 10_116_000 picoseconds. + Weight::from_parts(10_342_000, 3938) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_227_000, 0) + // Minimum execution time: 9_753_000 picoseconds. + Weight::from_parts(10_386_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -598,51 +597,51 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_845_000 picoseconds. - Weight::from_parts(14_349_000, 4010) + // Minimum execution time: 13_312_000 picoseconds. + Weight::from_parts(13_970_000, 4010) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_280_000 picoseconds. - Weight::from_parts(1_351_000, 0) + // Minimum execution time: 1_089_000 picoseconds. + Weight::from_parts(1_165_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_206_000 picoseconds. - Weight::from_parts(1_348_000, 0) + // Minimum execution time: 1_060_000 picoseconds. + Weight::from_parts(1_170_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(388_000, 0) + // Minimum execution time: 364_000 picoseconds. + Weight::from_parts(406_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_162_000 picoseconds. - Weight::from_parts(1_309_000, 0) + // Minimum execution time: 1_060_000 picoseconds. + Weight::from_parts(1_225_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 5_939_000 picoseconds. - Weight::from_parts(6_260_000, 0) + // Minimum execution time: 6_011_000 picoseconds. + Weight::from_parts(6_480_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_772_000 picoseconds. - Weight::from_parts(13_537_000, 0) + // Minimum execution time: 12_844_000 picoseconds. + Weight::from_parts(13_294_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -654,8 +653,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_580_000 picoseconds. - Weight::from_parts(21_203_000, 4349) + // Minimum execution time: 20_594_000 picoseconds. + Weight::from_parts(21_375_000, 4349) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -665,10 +664,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 5_946_000 picoseconds. - Weight::from_parts(8_569_284, 3769) + // Minimum execution time: 6_175_000 picoseconds. + Weight::from_parts(8_613_332, 3769) // Standard Error: 12 - .saturating_add(Weight::from_parts(527, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(591, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -679,67 +678,67 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_009_000 picoseconds. - Weight::from_parts(2_345_809, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) + // Minimum execution time: 2_035_000 picoseconds. + Weight::from_parts(2_316_637, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(548, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 353_000 picoseconds. - Weight::from_parts(384_000, 0) + // Minimum execution time: 290_000 picoseconds. + Weight::from_parts(341_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_423_000 picoseconds. - Weight::from_parts(1_562_000, 0) + // Minimum execution time: 1_253_000 picoseconds. + Weight::from_parts(1_426_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 284_000 picoseconds. - Weight::from_parts(318_000, 0) + // Minimum execution time: 252_000 picoseconds. + Weight::from_parts(286_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 298_000 picoseconds. - Weight::from_parts(331_000, 0) + // Minimum execution time: 262_000 picoseconds. + Weight::from_parts(319_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_804_000 picoseconds. - Weight::from_parts(1_933_000, 0) + // Minimum execution time: 1_860_000 picoseconds. + Weight::from_parts(2_057_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_077_000 picoseconds. - Weight::from_parts(1_207_000, 0) + // Minimum execution time: 1_041_000 picoseconds. + Weight::from_parts(1_107_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_169_000 picoseconds. - Weight::from_parts(1_300_000, 0) + // Minimum execution time: 1_178_000 picoseconds. + Weight::from_parts(1_234_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(369_000, 0) + // Minimum execution time: 283_000 picoseconds. + Weight::from_parts(316_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -747,71 +746,71 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(22_049_000, 1626) + // Minimum execution time: 22_465_000 picoseconds. + Weight::from_parts(23_273_000, 1626) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `348` - // Estimated: `3813` - // Minimum execution time: 8_248_000 picoseconds. - Weight::from_parts(8_508_000, 3813) + // Measured: `318` + // Estimated: `3783` + // Minimum execution time: 7_772_000 picoseconds. + Weight::from_parts(8_339_000, 3783) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 313_000 picoseconds. - Weight::from_parts(358_000, 0) + // Minimum execution time: 278_000 picoseconds. + Weight::from_parts(326_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 444_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 437_000 picoseconds. + Weight::from_parts(464_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 292_000 picoseconds. - Weight::from_parts(315_000, 0) + // Minimum execution time: 247_000 picoseconds. + Weight::from_parts(316_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 305_000 picoseconds. - Weight::from_parts(321_000, 0) + // Minimum execution time: 227_000 picoseconds. + Weight::from_parts(266_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(114, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 357_000 picoseconds. - Weight::from_parts(570_612, 0) + // Minimum execution time: 306_000 picoseconds. + Weight::from_parts(393_393, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. fn seal_terminate(_r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 848_000 picoseconds. - Weight::from_parts(1_001_377, 0) + // Minimum execution time: 813_000 picoseconds. + Weight::from_parts(942_636, 0) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -831,8 +830,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 117_191_000 picoseconds. - Weight::from_parts(120_163_000, 6918) + // Minimum execution time: 117_544_000 picoseconds. + Weight::from_parts(119_529_000, 6918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -842,10 +841,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_304_000 picoseconds. - Weight::from_parts(5_444_000, 0) + // Minimum execution time: 5_163_000 picoseconds. + Weight::from_parts(5_325_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -853,8 +852,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_850_000 picoseconds. - Weight::from_parts(9_454_000, 648) + // Minimum execution time: 9_211_000 picoseconds. + Weight::from_parts(9_718_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -863,8 +862,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_344_000 picoseconds. - Weight::from_parts(42_115_000, 10658) + // Minimum execution time: 41_439_000 picoseconds. + Weight::from_parts(42_227_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -873,8 +872,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_171_000 picoseconds. - Weight::from_parts(10_684_000, 648) + // Minimum execution time: 10_556_000 picoseconds. + Weight::from_parts(11_014_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -884,8 +883,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_431_000 picoseconds. - Weight::from_parts(44_092_000, 10658) + // Minimum execution time: 42_416_000 picoseconds. + Weight::from_parts(44_450_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -897,12 +896,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_191_000 picoseconds. - Weight::from_parts(10_884_095, 247) - // Standard Error: 118 - .saturating_add(Weight::from_parts(1_079, 0).saturating_mul(n.into())) - // Standard Error: 118 - .saturating_add(Weight::from_parts(2_303, 0).saturating_mul(o.into())) + // Minimum execution time: 9_326_000 picoseconds. + Weight::from_parts(11_138_232, 247) + // Standard Error: 137 + .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(n.into())) + // Standard Error: 137 + .saturating_add(Weight::from_parts(2_322, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -914,8 +913,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_764_000 picoseconds. - Weight::from_parts(13_706_131, 376) + // Minimum execution time: 12_804_000 picoseconds. + Weight::from_parts(13_953_545, 376) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -926,22 +925,24 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_494_000 picoseconds. - Weight::from_parts(10_675_932, 247) - // Standard Error: 218 - .saturating_add(Weight::from_parts(3_114, 0).saturating_mul(n.into())) + // Minimum execution time: 8_346_000 picoseconds. + Weight::from_parts(11_113_564, 247) + // Standard Error: 217 + .saturating_add(Weight::from_parts(3_491, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn contains_storage(_n: u32, ) -> Weight { + fn contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_229_000 picoseconds. - Weight::from_parts(3_541_852, 0) + // Minimum execution time: 3_161_000 picoseconds. + Weight::from_parts(3_486_962, 0) + // Standard Error: 35 + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -950,10 +951,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_447_000 picoseconds. - Weight::from_parts(14_324_419, 376) - // Standard Error: 105 - .saturating_add(Weight::from_parts(794, 0).saturating_mul(n.into())) + // Minimum execution time: 13_215_000 picoseconds. + Weight::from_parts(14_513_922, 376) + // Standard Error: 107 + .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -961,36 +962,36 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_634_000 picoseconds. - Weight::from_parts(1_765_000, 0) + // Minimum execution time: 1_657_000 picoseconds. + Weight::from_parts(1_758_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_095_000 picoseconds. - Weight::from_parts(2_202_000, 0) + // Minimum execution time: 2_057_000 picoseconds. + Weight::from_parts(2_164_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_607_000 picoseconds. - Weight::from_parts(1_718_000, 0) + // Minimum execution time: 1_639_000 picoseconds. + Weight::from_parts(1_736_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_786_000 picoseconds. - Weight::from_parts(1_919_000, 0) + // Minimum execution time: 1_788_000 picoseconds. + Weight::from_parts(1_903_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_311_000 picoseconds. - Weight::from_parts(1_400_000, 0) + // Minimum execution time: 1_199_000 picoseconds. + Weight::from_parts(1_308_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -998,48 +999,48 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_448_000 picoseconds. - Weight::from_parts(2_743_291, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(295, 0).saturating_mul(n.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(341, 0).saturating_mul(o.into())) + // Minimum execution time: 2_502_000 picoseconds. + Weight::from_parts(2_857_688, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(145, 0).saturating_mul(n.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(290, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_819_000 picoseconds. - Weight::from_parts(4_252_390, 0) + // Minimum execution time: 3_772_000 picoseconds. + Weight::from_parts(4_189_679, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_135_000 picoseconds. - Weight::from_parts(2_353_566, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(287, 0).saturating_mul(n.into())) + // Minimum execution time: 2_176_000 picoseconds. + Weight::from_parts(2_362_133, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(256, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_333_000 picoseconds. - Weight::from_parts(3_722_452, 0) + // Minimum execution time: 3_370_000 picoseconds. + Weight::from_parts(3_695_266, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_206_000 picoseconds. - Weight::from_parts(4_541_168, 0) - // Standard Error: 32 - .saturating_add(Weight::from_parts(126, 0).saturating_mul(n.into())) + // Minimum execution time: 4_125_000 picoseconds. + Weight::from_parts(4_463_040, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(164, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1056,14 +1057,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2023` - // Estimated: `5488` - // Minimum execution time: 96_156_000 picoseconds. - Weight::from_parts(76_988_425, 5488) - // Standard Error: 164_041 - .saturating_add(Weight::from_parts(18_937_821, 0).saturating_mul(t.into())) - // Standard Error: 164_041 - .saturating_add(Weight::from_parts(24_428_725, 0).saturating_mul(d.into())) + // Measured: `1969` + // Estimated: `5434` + // Minimum execution time: 92_923_000 picoseconds. + Weight::from_parts(75_660_714, 5434) + // Standard Error: 142_393 + .saturating_add(Weight::from_parts(17_865_313, 0).saturating_mul(t.into())) + // Standard Error: 142_393 + .saturating_add(Weight::from_parts(23_732_215, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) @@ -1078,17 +1079,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 130972]`. fn seal_call_precompile(d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `436 + d * (211 ±0)` - // Estimated: `2056 + d * (2056 ±0)` - // Minimum execution time: 25_627_000 picoseconds. - Weight::from_parts(15_420_634, 2056) - // Standard Error: 42_586 - .saturating_add(Weight::from_parts(11_516_026, 0).saturating_mul(d.into())) + // Measured: `436 + d * (250 ±0)` + // Estimated: `2075 + d * (2076 ±0)` + // Minimum execution time: 27_007_000 picoseconds. + Weight::from_parts(14_780_791, 2075) + // Standard Error: 60_759 + .saturating_add(Weight::from_parts(13_247_966, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(321, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(402, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1100,8 +1101,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 33_228_000 picoseconds. - Weight::from_parts(34_742_000, 4899) + // Minimum execution time: 33_933_000 picoseconds. + Weight::from_parts(34_991_000, 4899) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1117,143 +1118,171 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 131072]`. fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1484` - // Estimated: `4968` - // Minimum execution time: 159_318_000 picoseconds. - Weight::from_parts(122_750_100, 4968) - // Standard Error: 509_914 - .saturating_add(Weight::from_parts(18_068_040, 0).saturating_mul(t.into())) - // Standard Error: 509_914 - .saturating_add(Weight::from_parts(24_579_982, 0).saturating_mul(d.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(3_916, 0).saturating_mul(i.into())) + // Measured: `1464` + // Estimated: `4937` + // Minimum execution time: 153_323_000 picoseconds. + Weight::from_parts(107_891_310, 4937) + // Standard Error: 546_769 + .saturating_add(Weight::from_parts(22_884_047, 0).saturating_mul(t.into())) + // Standard Error: 546_769 + .saturating_add(Weight::from_parts(31_008_834, 0).saturating_mul(d.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_028, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } + /// Storage: `Revive::AccountInfoOf` (r:1 w:1) + /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Revive::CodeInfoOf` (r:1 w:1) + /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) + /// Storage: `Revive::PristineCode` (r:0 w:1) + /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `t` is `[0, 1]`. + /// The range of component `d` is `[0, 1]`. + /// The range of component `i` is `[1024, 10240]`. + fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `870` + // Estimated: `6810` + // Minimum execution time: 197_320_000 picoseconds. + Weight::from_parts(158_194_430, 6810) + // Standard Error: 276_863 + .saturating_add(Weight::from_parts(14_009_530, 0).saturating_mul(t.into())) + // Standard Error: 276_863 + .saturating_add(Weight::from_parts(22_814_269, 0).saturating_mul(d.into())) + // Standard Error: 46 + .saturating_add(Weight::from_parts(9_111, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } /// The range of component `n` is `[0, 1048576]`. fn sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_391_000 picoseconds. - Weight::from_parts(10_576_261, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_229, 0).saturating_mul(n.into())) + // Minimum execution time: 1_384_000 picoseconds. + Weight::from_parts(13_104_584, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_270, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 889_000 picoseconds. - Weight::from_parts(795_872, 0) + // Minimum execution time: 850_000 picoseconds. + Weight::from_parts(873_363, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_346_000 picoseconds. - Weight::from_parts(3_961_196, 0) + // Minimum execution time: 1_359_000 picoseconds. + Weight::from_parts(4_551_717, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_733, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_775, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_118_000 picoseconds. - Weight::from_parts(12_329_033, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_535, 0).saturating_mul(n.into())) + // Minimum execution time: 1_146_000 picoseconds. + Weight::from_parts(12_921_080, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_581, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_889_000 picoseconds. - Weight::from_parts(9_714_356, 0) + // Minimum execution time: 1_646_000 picoseconds. + Weight::from_parts(12_398_211, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_874_000 picoseconds. - Weight::from_parts(11_602_470, 0) + // Minimum execution time: 1_815_000 picoseconds. + Weight::from_parts(13_382_040, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_406, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 41_897_000 picoseconds. - Weight::from_parts(90_757_881, 0) + // Minimum execution time: 42_776_000 picoseconds. + Weight::from_parts(77_621_004, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(5_065, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_879, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_388_000 picoseconds. - Weight::from_parts(47_440_000, 0) + // Minimum execution time: 46_739_000 picoseconds. + Weight::from_parts(47_642_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_784_643_000 picoseconds. - Weight::from_parts(1_792_504_000, 0) + // Minimum execution time: 1_795_552_000 picoseconds. + Weight::from_parts(1_805_053_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_732_000 picoseconds. - Weight::from_parts(15_556_000, 0) + // Minimum execution time: 15_373_000 picoseconds. + Weight::from_parts(16_583_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 973_392_000 picoseconds. - Weight::from_parts(980_656_000, 0) + // Minimum execution time: 991_453_000 picoseconds. + Weight::from_parts(999_199_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 943_000 picoseconds. - Weight::from_parts(4_933_674_913, 0) - // Standard Error: 10_529_019 - .saturating_add(Weight::from_parts(5_933_952_652, 0).saturating_mul(n.into())) + // Minimum execution time: 914_000 picoseconds. + Weight::from_parts(4_982_056_071, 0) + // Standard Error: 10_684_341 + .saturating_add(Weight::from_parts(6_031_654_119, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_102_000 picoseconds. - Weight::from_parts(1_381_854, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(28_872, 0).saturating_mul(n.into())) + // Minimum execution time: 1_027_000 picoseconds. + Weight::from_parts(1_240_474, 0) + // Standard Error: 59 + .saturating_add(Weight::from_parts(29_181, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_062_000 picoseconds. - Weight::from_parts(13_184_000, 0) + // Minimum execution time: 13_580_000 picoseconds. + Weight::from_parts(13_753_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -1268,10 +1297,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 14_817_000 picoseconds. - Weight::from_parts(15_903_579, 6364) - // Standard Error: 61_973 - .saturating_add(Weight::from_parts(48_106_620, 0).saturating_mul(r.into())) + // Minimum execution time: 15_150_000 picoseconds. + Weight::from_parts(16_128_448, 6364) + // Standard Error: 50_840 + .saturating_add(Weight::from_parts(46_924_351, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1283,30 +1312,30 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 624_000 picoseconds. - Weight::from_parts(670_000, 0) - // Standard Error: 36 - .saturating_add(Weight::from_parts(14_628, 0).saturating_mul(r.into())) + // Minimum execution time: 643_000 picoseconds. + Weight::from_parts(1_208_591, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(14_899, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_870_000 picoseconds. - Weight::from_parts(52_109_267, 0) - // Standard Error: 514 - .saturating_add(Weight::from_parts(114_449, 0).saturating_mul(r.into())) + // Minimum execution time: 12_955_000 picoseconds. + Weight::from_parts(61_894_569, 0) + // Standard Error: 356 + .saturating_add(Weight::from_parts(127_580, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_262_000 picoseconds. - Weight::from_parts(3_430_678, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(73_709, 0).saturating_mul(r.into())) + // Minimum execution time: 3_132_000 picoseconds. + Weight::from_parts(3_328_813, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(74_014, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1315,10 +1344,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_577_000 picoseconds. - Weight::from_parts(14_506_716, 3992) - // Standard Error: 4 - .saturating_add(Weight::from_parts(725, 0).saturating_mul(n.into())) + // Minimum execution time: 14_918_000 picoseconds. + Weight::from_parts(14_869_097, 3992) + // Standard Error: 6 + .saturating_add(Weight::from_parts(834, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1330,8 +1359,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_188_000 picoseconds. - Weight::from_parts(12_632_000, 6322) + // Minimum execution time: 12_652_000 picoseconds. + Weight::from_parts(13_182_000, 6322) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1345,17 +1374,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 63_945_000 picoseconds. - Weight::from_parts(65_464_000, 6866) + // Minimum execution time: 65_939_000 picoseconds. + Weight::from_parts(66_437_000, 6866) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -1365,22 +1394,22 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 200]`. fn on_finalize_per_transaction(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2978 + n * (97 ±0)` - // Estimated: `6274 + n * (104 ±0)` - // Minimum execution time: 28_848_000 picoseconds. - Weight::from_parts(58_193_911, 6274) - // Standard Error: 4_590 - .saturating_add(Weight::from_parts(536_893, 0).saturating_mul(n.into())) + // Measured: `3012 + n * (97 ±0)` + // Estimated: `6303 + n * (104 ±0)` + // Minimum execution time: 28_483_000 picoseconds. + Weight::from_parts(57_121_139, 6303) + // Standard Error: 4_776 + .saturating_add(Weight::from_parts(524_501, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) } - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -1390,24 +1419,24 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 1000]`. fn on_finalize_per_transaction_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3543 + d * (3 ±0)` - // Estimated: `7002 + d * (3 ±0)` - // Minimum execution time: 62_637_000 picoseconds. - Weight::from_parts(64_882_975, 7002) - // Standard Error: 169 - .saturating_add(Weight::from_parts(12_338, 0).saturating_mul(d.into())) + // Measured: `3577 + d * (3 ±0)` + // Estimated: `7036 + d * (3 ±0)` + // Minimum execution time: 59_423_000 picoseconds. + Weight::from_parts(62_184_363, 7036) + // Standard Error: 232 + .saturating_add(Weight::from_parts(12_931, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -1417,21 +1446,21 @@ impl WeightInfo for SubstrateWeight { /// The range of component `e` is `[0, 100]`. fn on_finalize_per_event(_e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_094_000 picoseconds. - Weight::from_parts(49_885_140, 4978) + // Measured: `1546` + // Estimated: `5011` + // Minimum execution time: 44_960_000 picoseconds. + Weight::from_parts(47_063_657, 5011) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -1439,14 +1468,12 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(d: u32, ) -> Weight { + fn on_finalize_per_event_data(_d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_730_000 picoseconds. - Weight::from_parts(49_216_577, 4978) - // Standard Error: 4 - .saturating_add(Weight::from_parts(32, 0).saturating_mul(d.into())) + // Measured: `1546` + // Estimated: `5011` + // Minimum execution time: 44_817_000 picoseconds. + Weight::from_parts(47_273_059, 5011) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -1460,8 +1487,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_329_000 picoseconds. - Weight::from_parts(3_530_000, 1698) + // Minimum execution time: 3_385_000 picoseconds. + Weight::from_parts(3_568_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1471,10 +1498,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_625_000 picoseconds. - Weight::from_parts(14_974_000, 481) - // Standard Error: 854 - .saturating_add(Weight::from_parts(1_192_634, 0).saturating_mul(k.into())) + // Minimum execution time: 14_795_000 picoseconds. + Weight::from_parts(15_696_000, 481) + // Standard Error: 1_015 + .saturating_add(Weight::from_parts(1_190_962, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1498,10 +1525,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 97_433_000 picoseconds. - Weight::from_parts(141_235_567, 7200) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_331, 0).saturating_mul(c.into())) + // Minimum execution time: 96_097_000 picoseconds. + Weight::from_parts(140_874_377, 7200) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_546, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1523,10 +1550,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 90_707_000 picoseconds. - Weight::from_parts(94_762_747, 7144) - // Standard Error: 17 - .saturating_add(Weight::from_parts(93, 0).saturating_mul(c.into())) + // Minimum execution time: 89_498_000 picoseconds. + Weight::from_parts(94_448_257, 7144) + // Standard Error: 26 + .saturating_add(Weight::from_parts(11, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1543,14 +1570,12 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(b: u32, ) -> Weight { + fn basic_block_compilation(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 142_424_000 picoseconds. - Weight::from_parts(148_072_518, 10549) - // Standard Error: 623_539 - .saturating_add(Weight::from_parts(828_981, 0).saturating_mul(b.into())) + // Minimum execution time: 140_558_000 picoseconds. + Weight::from_parts(146_644_730, 10549) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1572,14 +1597,14 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 131072]`. fn instantiate_with_code(c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1024` - // Estimated: `6954` - // Minimum execution time: 766_264_000 picoseconds. - Weight::from_parts(71_405_876, 6954) - // Standard Error: 37 - .saturating_add(Weight::from_parts(19_823, 0).saturating_mul(c.into())) - // Standard Error: 29 - .saturating_add(Weight::from_parts(4_972, 0).saturating_mul(i.into())) + // Measured: `994` + // Estimated: `6924` + // Minimum execution time: 776_739_000 picoseconds. + Weight::from_parts(75_085_614, 6924) + // Standard Error: 39 + .saturating_add(Weight::from_parts(20_620, 0).saturating_mul(c.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(5_069, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1606,16 +1631,16 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 1]`. fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1024` - // Estimated: `6964` - // Minimum execution time: 364_846_000 picoseconds. - Weight::from_parts(255_704_594, 6964) - // Standard Error: 43 - .saturating_add(Weight::from_parts(15_378, 0).saturating_mul(c.into())) - // Standard Error: 34 - .saturating_add(Weight::from_parts(605, 0).saturating_mul(i.into())) - // Standard Error: 2_848_200 - .saturating_add(Weight::from_parts(8_619_704, 0).saturating_mul(d.into())) + // Measured: `994` + // Estimated: `6934` + // Minimum execution time: 373_087_000 picoseconds. + Weight::from_parts(254_968_766, 6934) + // Standard Error: 49 + .saturating_add(Weight::from_parts(16_282, 0).saturating_mul(c.into())) + // Standard Error: 38 + .saturating_add(Weight::from_parts(655, 0).saturating_mul(i.into())) + // Standard Error: 3_249_500 + .saturating_add(Weight::from_parts(9_697_598, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1623,8 +1648,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_104_000 picoseconds. - Weight::from_parts(3_322_000, 0) + // Minimum execution time: 3_340_000 picoseconds. + Weight::from_parts(3_486_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1643,12 +1668,12 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 131072]`. fn instantiate(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1765` - // Estimated: `7705` - // Minimum execution time: 189_625_000 picoseconds. - Weight::from_parts(192_039_798, 7705) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_132, 0).saturating_mul(i.into())) + // Measured: `1735` + // Estimated: `7659` + // Minimum execution time: 183_189_000 picoseconds. + Weight::from_parts(192_052_984, 7659) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_246, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1666,10 +1691,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `1981` - // Estimated: `7921` - // Minimum execution time: 101_040_000 picoseconds. - Weight::from_parts(103_643_000, 7921) + // Measured: `1958` + // Estimated: `7898` + // Minimum execution time: 97_346_000 picoseconds. + Weight::from_parts(100_810_000, 7898) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1692,12 +1717,12 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 1]`. fn eth_call(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1981` - // Estimated: `7921` - // Minimum execution time: 162_616_000 picoseconds. - Weight::from_parts(170_049_814, 7921) - // Standard Error: 747_509 - .saturating_add(Weight::from_parts(2_207_885, 0).saturating_mul(d.into())) + // Measured: `1958` + // Estimated: `7898` + // Minimum execution time: 160_863_000 picoseconds. + Weight::from_parts(168_386_465, 7898) + // Standard Error: 750_726 + .saturating_add(Weight::from_parts(10_355_134, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1714,10 +1739,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 26_805_000 picoseconds. - Weight::from_parts(20_317_546, 3823) + // Minimum execution time: 29_783_000 picoseconds. + Weight::from_parts(24_862_803, 3823) // Standard Error: 12 - .saturating_add(Weight::from_parts(6_369, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(6_351, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1732,12 +1757,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 102400]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `422` - // Estimated: `3887` - // Minimum execution time: 63_906_000 picoseconds. - Weight::from_parts(54_669_999, 3887) - // Standard Error: 17 - .saturating_add(Weight::from_parts(13_935, 0).saturating_mul(c.into())) + // Measured: `392` + // Estimated: `3857` + // Minimum execution time: 60_416_000 picoseconds. + Weight::from_parts(51_004_852, 3857) + // Standard Error: 18 + .saturating_add(Weight::from_parts(14_578, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1751,8 +1776,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 54_111_000 picoseconds. - Weight::from_parts(55_435_000, 3989) + // Minimum execution time: 52_960_000 picoseconds. + Weight::from_parts(54_452_000, 3989) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1770,8 +1795,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 68_725_000 picoseconds. - Weight::from_parts(71_023_000, 6807) + // Minimum execution time: 67_952_000 picoseconds. + Weight::from_parts(69_484_000, 6807) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1783,10 +1808,10 @@ impl WeightInfo for () { /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) fn map_account() -> Weight { // Proof Size summary in bytes: - // Measured: `653` - // Estimated: `4118` - // Minimum execution time: 62_667_000 picoseconds. - Weight::from_parts(64_662_000, 4118) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 60_786_000 picoseconds. + Weight::from_parts(61_858_000, 4088) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1798,8 +1823,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_774_000 picoseconds. - Weight::from_parts(41_446_000, 3558) + // Minimum execution time: 40_343_000 picoseconds. + Weight::from_parts(40_959_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1811,10 +1836,10 @@ impl WeightInfo for () { /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `Measured`) fn dispatch_as_fallback_account() -> Weight { // Proof Size summary in bytes: - // Measured: `411` - // Estimated: `3876` - // Minimum execution time: 19_462_000 picoseconds. - Weight::from_parts(19_909_000, 3876) + // Measured: `381` + // Estimated: `3846` + // Minimum execution time: 19_031_000 picoseconds. + Weight::from_parts(19_515_000, 3846) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1822,24 +1847,24 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_660_000 picoseconds. - Weight::from_parts(8_240_505, 0) - // Standard Error: 201 - .saturating_add(Weight::from_parts(174_056, 0).saturating_mul(r.into())) + // Minimum execution time: 7_482_000 picoseconds. + Weight::from_parts(9_624_813, 0) + // Standard Error: 258 + .saturating_add(Weight::from_parts(169_779, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 360_000 picoseconds. + Weight::from_parts(378_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 313_000 picoseconds. - Weight::from_parts(355_000, 0) + // Minimum execution time: 330_000 picoseconds. + Weight::from_parts(360_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1847,8 +1872,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_410_000 picoseconds. - Weight::from_parts(12_106_000, 4088) + // Minimum execution time: 11_459_000 picoseconds. + Weight::from_parts(11_965_000, 4088) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -1857,16 +1882,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 9_988_000 picoseconds. - Weight::from_parts(10_660_000, 3938) + // Minimum execution time: 10_116_000 picoseconds. + Weight::from_parts(10_342_000, 3938) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_227_000, 0) + // Minimum execution time: 9_753_000 picoseconds. + Weight::from_parts(10_386_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1876,51 +1901,51 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_845_000 picoseconds. - Weight::from_parts(14_349_000, 4010) + // Minimum execution time: 13_312_000 picoseconds. + Weight::from_parts(13_970_000, 4010) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_280_000 picoseconds. - Weight::from_parts(1_351_000, 0) + // Minimum execution time: 1_089_000 picoseconds. + Weight::from_parts(1_165_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_206_000 picoseconds. - Weight::from_parts(1_348_000, 0) + // Minimum execution time: 1_060_000 picoseconds. + Weight::from_parts(1_170_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(388_000, 0) + // Minimum execution time: 364_000 picoseconds. + Weight::from_parts(406_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_162_000 picoseconds. - Weight::from_parts(1_309_000, 0) + // Minimum execution time: 1_060_000 picoseconds. + Weight::from_parts(1_225_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 5_939_000 picoseconds. - Weight::from_parts(6_260_000, 0) + // Minimum execution time: 6_011_000 picoseconds. + Weight::from_parts(6_480_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_772_000 picoseconds. - Weight::from_parts(13_537_000, 0) + // Minimum execution time: 12_844_000 picoseconds. + Weight::from_parts(13_294_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1932,8 +1957,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_580_000 picoseconds. - Weight::from_parts(21_203_000, 4349) + // Minimum execution time: 20_594_000 picoseconds. + Weight::from_parts(21_375_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1943,10 +1968,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 5_946_000 picoseconds. - Weight::from_parts(8_569_284, 3769) + // Minimum execution time: 6_175_000 picoseconds. + Weight::from_parts(8_613_332, 3769) // Standard Error: 12 - .saturating_add(Weight::from_parts(527, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(591, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1957,67 +1982,67 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_009_000 picoseconds. - Weight::from_parts(2_345_809, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) + // Minimum execution time: 2_035_000 picoseconds. + Weight::from_parts(2_316_637, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(548, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 353_000 picoseconds. - Weight::from_parts(384_000, 0) + // Minimum execution time: 290_000 picoseconds. + Weight::from_parts(341_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_423_000 picoseconds. - Weight::from_parts(1_562_000, 0) + // Minimum execution time: 1_253_000 picoseconds. + Weight::from_parts(1_426_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 284_000 picoseconds. - Weight::from_parts(318_000, 0) + // Minimum execution time: 252_000 picoseconds. + Weight::from_parts(286_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 298_000 picoseconds. - Weight::from_parts(331_000, 0) + // Minimum execution time: 262_000 picoseconds. + Weight::from_parts(319_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_804_000 picoseconds. - Weight::from_parts(1_933_000, 0) + // Minimum execution time: 1_860_000 picoseconds. + Weight::from_parts(2_057_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_077_000 picoseconds. - Weight::from_parts(1_207_000, 0) + // Minimum execution time: 1_041_000 picoseconds. + Weight::from_parts(1_107_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_169_000 picoseconds. - Weight::from_parts(1_300_000, 0) + // Minimum execution time: 1_178_000 picoseconds. + Weight::from_parts(1_234_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(369_000, 0) + // Minimum execution time: 283_000 picoseconds. + Weight::from_parts(316_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -2025,71 +2050,71 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_480_000 picoseconds. - Weight::from_parts(22_049_000, 1626) + // Minimum execution time: 22_465_000 picoseconds. + Weight::from_parts(23_273_000, 1626) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `348` - // Estimated: `3813` - // Minimum execution time: 8_248_000 picoseconds. - Weight::from_parts(8_508_000, 3813) + // Measured: `318` + // Estimated: `3783` + // Minimum execution time: 7_772_000 picoseconds. + Weight::from_parts(8_339_000, 3783) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 313_000 picoseconds. - Weight::from_parts(358_000, 0) + // Minimum execution time: 278_000 picoseconds. + Weight::from_parts(326_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 444_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 437_000 picoseconds. + Weight::from_parts(464_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 292_000 picoseconds. - Weight::from_parts(315_000, 0) + // Minimum execution time: 247_000 picoseconds. + Weight::from_parts(316_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 305_000 picoseconds. - Weight::from_parts(321_000, 0) + // Minimum execution time: 227_000 picoseconds. + Weight::from_parts(266_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(114, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 357_000 picoseconds. - Weight::from_parts(570_612, 0) + // Minimum execution time: 306_000 picoseconds. + Weight::from_parts(393_393, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. fn seal_terminate(_r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 848_000 picoseconds. - Weight::from_parts(1_001_377, 0) + // Minimum execution time: 813_000 picoseconds. + Weight::from_parts(942_636, 0) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2109,8 +2134,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 117_191_000 picoseconds. - Weight::from_parts(120_163_000, 6918) + // Minimum execution time: 117_544_000 picoseconds. + Weight::from_parts(119_529_000, 6918) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -2120,10 +2145,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_304_000 picoseconds. - Weight::from_parts(5_444_000, 0) + // Minimum execution time: 5_163_000 picoseconds. + Weight::from_parts(5_325_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2131,8 +2156,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_850_000 picoseconds. - Weight::from_parts(9_454_000, 648) + // Minimum execution time: 9_211_000 picoseconds. + Weight::from_parts(9_718_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2141,8 +2166,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_344_000 picoseconds. - Weight::from_parts(42_115_000, 10658) + // Minimum execution time: 41_439_000 picoseconds. + Weight::from_parts(42_227_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2151,8 +2176,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_171_000 picoseconds. - Weight::from_parts(10_684_000, 648) + // Minimum execution time: 10_556_000 picoseconds. + Weight::from_parts(11_014_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2162,8 +2187,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_431_000 picoseconds. - Weight::from_parts(44_092_000, 10658) + // Minimum execution time: 42_416_000 picoseconds. + Weight::from_parts(44_450_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2175,12 +2200,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_191_000 picoseconds. - Weight::from_parts(10_884_095, 247) - // Standard Error: 118 - .saturating_add(Weight::from_parts(1_079, 0).saturating_mul(n.into())) - // Standard Error: 118 - .saturating_add(Weight::from_parts(2_303, 0).saturating_mul(o.into())) + // Minimum execution time: 9_326_000 picoseconds. + Weight::from_parts(11_138_232, 247) + // Standard Error: 137 + .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(n.into())) + // Standard Error: 137 + .saturating_add(Weight::from_parts(2_322, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -2192,8 +2217,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_764_000 picoseconds. - Weight::from_parts(13_706_131, 376) + // Minimum execution time: 12_804_000 picoseconds. + Weight::from_parts(13_953_545, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2204,22 +2229,24 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_494_000 picoseconds. - Weight::from_parts(10_675_932, 247) - // Standard Error: 218 - .saturating_add(Weight::from_parts(3_114, 0).saturating_mul(n.into())) + // Minimum execution time: 8_346_000 picoseconds. + Weight::from_parts(11_113_564, 247) + // Standard Error: 217 + .saturating_add(Weight::from_parts(3_491, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn contains_storage(_n: u32, ) -> Weight { + fn contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_229_000 picoseconds. - Weight::from_parts(3_541_852, 0) + // Minimum execution time: 3_161_000 picoseconds. + Weight::from_parts(3_486_962, 0) + // Standard Error: 35 + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2228,10 +2255,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_447_000 picoseconds. - Weight::from_parts(14_324_419, 376) - // Standard Error: 105 - .saturating_add(Weight::from_parts(794, 0).saturating_mul(n.into())) + // Minimum execution time: 13_215_000 picoseconds. + Weight::from_parts(14_513_922, 376) + // Standard Error: 107 + .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2239,36 +2266,36 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_634_000 picoseconds. - Weight::from_parts(1_765_000, 0) + // Minimum execution time: 1_657_000 picoseconds. + Weight::from_parts(1_758_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_095_000 picoseconds. - Weight::from_parts(2_202_000, 0) + // Minimum execution time: 2_057_000 picoseconds. + Weight::from_parts(2_164_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_607_000 picoseconds. - Weight::from_parts(1_718_000, 0) + // Minimum execution time: 1_639_000 picoseconds. + Weight::from_parts(1_736_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_786_000 picoseconds. - Weight::from_parts(1_919_000, 0) + // Minimum execution time: 1_788_000 picoseconds. + Weight::from_parts(1_903_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_311_000 picoseconds. - Weight::from_parts(1_400_000, 0) + // Minimum execution time: 1_199_000 picoseconds. + Weight::from_parts(1_308_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -2276,48 +2303,48 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_448_000 picoseconds. - Weight::from_parts(2_743_291, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(295, 0).saturating_mul(n.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(341, 0).saturating_mul(o.into())) + // Minimum execution time: 2_502_000 picoseconds. + Weight::from_parts(2_857_688, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(145, 0).saturating_mul(n.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(290, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_819_000 picoseconds. - Weight::from_parts(4_252_390, 0) + // Minimum execution time: 3_772_000 picoseconds. + Weight::from_parts(4_189_679, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_135_000 picoseconds. - Weight::from_parts(2_353_566, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(287, 0).saturating_mul(n.into())) + // Minimum execution time: 2_176_000 picoseconds. + Weight::from_parts(2_362_133, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(256, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_333_000 picoseconds. - Weight::from_parts(3_722_452, 0) + // Minimum execution time: 3_370_000 picoseconds. + Weight::from_parts(3_695_266, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_206_000 picoseconds. - Weight::from_parts(4_541_168, 0) - // Standard Error: 32 - .saturating_add(Weight::from_parts(126, 0).saturating_mul(n.into())) + // Minimum execution time: 4_125_000 picoseconds. + Weight::from_parts(4_463_040, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(164, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -2334,14 +2361,14 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2023` - // Estimated: `5488` - // Minimum execution time: 96_156_000 picoseconds. - Weight::from_parts(76_988_425, 5488) - // Standard Error: 164_041 - .saturating_add(Weight::from_parts(18_937_821, 0).saturating_mul(t.into())) - // Standard Error: 164_041 - .saturating_add(Weight::from_parts(24_428_725, 0).saturating_mul(d.into())) + // Measured: `1969` + // Estimated: `5434` + // Minimum execution time: 92_923_000 picoseconds. + Weight::from_parts(75_660_714, 5434) + // Standard Error: 142_393 + .saturating_add(Weight::from_parts(17_865_313, 0).saturating_mul(t.into())) + // Standard Error: 142_393 + .saturating_add(Weight::from_parts(23_732_215, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) @@ -2356,17 +2383,17 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 130972]`. fn seal_call_precompile(d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `436 + d * (211 ±0)` - // Estimated: `2056 + d * (2056 ±0)` - // Minimum execution time: 25_627_000 picoseconds. - Weight::from_parts(15_420_634, 2056) - // Standard Error: 42_586 - .saturating_add(Weight::from_parts(11_516_026, 0).saturating_mul(d.into())) + // Measured: `436 + d * (250 ±0)` + // Estimated: `2075 + d * (2076 ±0)` + // Minimum execution time: 27_007_000 picoseconds. + Weight::from_parts(14_780_791, 2075) + // Standard Error: 60_759 + .saturating_add(Weight::from_parts(13_247_966, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(321, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(402, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -2378,8 +2405,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 33_228_000 picoseconds. - Weight::from_parts(34_742_000, 4899) + // Minimum execution time: 33_933_000 picoseconds. + Weight::from_parts(34_991_000, 4899) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -2395,143 +2422,171 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 131072]`. fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1484` - // Estimated: `4968` - // Minimum execution time: 159_318_000 picoseconds. - Weight::from_parts(122_750_100, 4968) - // Standard Error: 509_914 - .saturating_add(Weight::from_parts(18_068_040, 0).saturating_mul(t.into())) - // Standard Error: 509_914 - .saturating_add(Weight::from_parts(24_579_982, 0).saturating_mul(d.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(3_916, 0).saturating_mul(i.into())) + // Measured: `1464` + // Estimated: `4937` + // Minimum execution time: 153_323_000 picoseconds. + Weight::from_parts(107_891_310, 4937) + // Standard Error: 546_769 + .saturating_add(Weight::from_parts(22_884_047, 0).saturating_mul(t.into())) + // Standard Error: 546_769 + .saturating_add(Weight::from_parts(31_008_834, 0).saturating_mul(d.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_028, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } + /// Storage: `Revive::AccountInfoOf` (r:1 w:1) + /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Revive::CodeInfoOf` (r:1 w:1) + /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) + /// Storage: `Revive::PristineCode` (r:0 w:1) + /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `t` is `[0, 1]`. + /// The range of component `d` is `[0, 1]`. + /// The range of component `i` is `[1024, 10240]`. + fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `870` + // Estimated: `6810` + // Minimum execution time: 197_320_000 picoseconds. + Weight::from_parts(158_194_430, 6810) + // Standard Error: 276_863 + .saturating_add(Weight::from_parts(14_009_530, 0).saturating_mul(t.into())) + // Standard Error: 276_863 + .saturating_add(Weight::from_parts(22_814_269, 0).saturating_mul(d.into())) + // Standard Error: 46 + .saturating_add(Weight::from_parts(9_111, 0).saturating_mul(i.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) + } /// The range of component `n` is `[0, 1048576]`. fn sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_391_000 picoseconds. - Weight::from_parts(10_576_261, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_229, 0).saturating_mul(n.into())) + // Minimum execution time: 1_384_000 picoseconds. + Weight::from_parts(13_104_584, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_270, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 889_000 picoseconds. - Weight::from_parts(795_872, 0) + // Minimum execution time: 850_000 picoseconds. + Weight::from_parts(873_363, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_346_000 picoseconds. - Weight::from_parts(3_961_196, 0) + // Minimum execution time: 1_359_000 picoseconds. + Weight::from_parts(4_551_717, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_733, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_775, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_118_000 picoseconds. - Weight::from_parts(12_329_033, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_535, 0).saturating_mul(n.into())) + // Minimum execution time: 1_146_000 picoseconds. + Weight::from_parts(12_921_080, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_581, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_889_000 picoseconds. - Weight::from_parts(9_714_356, 0) + // Minimum execution time: 1_646_000 picoseconds. + Weight::from_parts(12_398_211, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_874_000 picoseconds. - Weight::from_parts(11_602_470, 0) + // Minimum execution time: 1_815_000 picoseconds. + Weight::from_parts(13_382_040, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_406, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 41_897_000 picoseconds. - Weight::from_parts(90_757_881, 0) + // Minimum execution time: 42_776_000 picoseconds. + Weight::from_parts(77_621_004, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(5_065, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_879, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_388_000 picoseconds. - Weight::from_parts(47_440_000, 0) + // Minimum execution time: 46_739_000 picoseconds. + Weight::from_parts(47_642_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_784_643_000 picoseconds. - Weight::from_parts(1_792_504_000, 0) + // Minimum execution time: 1_795_552_000 picoseconds. + Weight::from_parts(1_805_053_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_732_000 picoseconds. - Weight::from_parts(15_556_000, 0) + // Minimum execution time: 15_373_000 picoseconds. + Weight::from_parts(16_583_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 973_392_000 picoseconds. - Weight::from_parts(980_656_000, 0) + // Minimum execution time: 991_453_000 picoseconds. + Weight::from_parts(999_199_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 943_000 picoseconds. - Weight::from_parts(4_933_674_913, 0) - // Standard Error: 10_529_019 - .saturating_add(Weight::from_parts(5_933_952_652, 0).saturating_mul(n.into())) + // Minimum execution time: 914_000 picoseconds. + Weight::from_parts(4_982_056_071, 0) + // Standard Error: 10_684_341 + .saturating_add(Weight::from_parts(6_031_654_119, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_102_000 picoseconds. - Weight::from_parts(1_381_854, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(28_872, 0).saturating_mul(n.into())) + // Minimum execution time: 1_027_000 picoseconds. + Weight::from_parts(1_240_474, 0) + // Standard Error: 59 + .saturating_add(Weight::from_parts(29_181, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_062_000 picoseconds. - Weight::from_parts(13_184_000, 0) + // Minimum execution time: 13_580_000 picoseconds. + Weight::from_parts(13_753_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -2546,10 +2601,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 14_817_000 picoseconds. - Weight::from_parts(15_903_579, 6364) - // Standard Error: 61_973 - .saturating_add(Weight::from_parts(48_106_620, 0).saturating_mul(r.into())) + // Minimum execution time: 15_150_000 picoseconds. + Weight::from_parts(16_128_448, 6364) + // Standard Error: 50_840 + .saturating_add(Weight::from_parts(46_924_351, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2561,30 +2616,30 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 624_000 picoseconds. - Weight::from_parts(670_000, 0) - // Standard Error: 36 - .saturating_add(Weight::from_parts(14_628, 0).saturating_mul(r.into())) + // Minimum execution time: 643_000 picoseconds. + Weight::from_parts(1_208_591, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(14_899, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_870_000 picoseconds. - Weight::from_parts(52_109_267, 0) - // Standard Error: 514 - .saturating_add(Weight::from_parts(114_449, 0).saturating_mul(r.into())) + // Minimum execution time: 12_955_000 picoseconds. + Weight::from_parts(61_894_569, 0) + // Standard Error: 356 + .saturating_add(Weight::from_parts(127_580, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_262_000 picoseconds. - Weight::from_parts(3_430_678, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(73_709, 0).saturating_mul(r.into())) + // Minimum execution time: 3_132_000 picoseconds. + Weight::from_parts(3_328_813, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(74_014, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2593,10 +2648,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_577_000 picoseconds. - Weight::from_parts(14_506_716, 3992) - // Standard Error: 4 - .saturating_add(Weight::from_parts(725, 0).saturating_mul(n.into())) + // Minimum execution time: 14_918_000 picoseconds. + Weight::from_parts(14_869_097, 3992) + // Standard Error: 6 + .saturating_add(Weight::from_parts(834, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2608,8 +2663,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_188_000 picoseconds. - Weight::from_parts(12_632_000, 6322) + // Minimum execution time: 12_652_000 picoseconds. + Weight::from_parts(13_182_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2623,17 +2678,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 63_945_000 picoseconds. - Weight::from_parts(65_464_000, 6866) + // Minimum execution time: 65_939_000 picoseconds. + Weight::from_parts(66_437_000, 6866) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -2643,22 +2698,22 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 200]`. fn on_finalize_per_transaction(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2978 + n * (97 ±0)` - // Estimated: `6274 + n * (104 ±0)` - // Minimum execution time: 28_848_000 picoseconds. - Weight::from_parts(58_193_911, 6274) - // Standard Error: 4_590 - .saturating_add(Weight::from_parts(536_893, 0).saturating_mul(n.into())) + // Measured: `3012 + n * (97 ±0)` + // Estimated: `6303 + n * (104 ±0)` + // Minimum execution time: 28_483_000 picoseconds. + Weight::from_parts(57_121_139, 6303) + // Standard Error: 4_776 + .saturating_add(Weight::from_parts(524_501, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) } - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -2668,24 +2723,24 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 1000]`. fn on_finalize_per_transaction_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3543 + d * (3 ±0)` - // Estimated: `7002 + d * (3 ±0)` - // Minimum execution time: 62_637_000 picoseconds. - Weight::from_parts(64_882_975, 7002) - // Standard Error: 169 - .saturating_add(Weight::from_parts(12_338, 0).saturating_mul(d.into())) + // Measured: `3577 + d * (3 ±0)` + // Estimated: `7036 + d * (3 ±0)` + // Minimum execution time: 59_423_000 picoseconds. + Weight::from_parts(62_184_363, 7036) + // Standard Error: 232 + .saturating_add(Weight::from_parts(12_931, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -2695,21 +2750,21 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 100]`. fn on_finalize_per_event(_e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_094_000 picoseconds. - Weight::from_parts(49_885_140, 4978) + // Measured: `1546` + // Estimated: `5011` + // Minimum execution time: 44_960_000 picoseconds. + Weight::from_parts(47_063_657, 5011) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Revive::BlockHash` (r:1 w:1) - /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:1) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) @@ -2717,14 +2772,12 @@ impl WeightInfo for () { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(d: u32, ) -> Weight { + fn on_finalize_per_event_data(_d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_730_000 picoseconds. - Weight::from_parts(49_216_577, 4978) - // Standard Error: 4 - .saturating_add(Weight::from_parts(32, 0).saturating_mul(d.into())) + // Measured: `1546` + // Estimated: `5011` + // Minimum execution time: 44_817_000 picoseconds. + Weight::from_parts(47_273_059, 5011) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } From a7414b0e4dd8b7a91f741a6014b6e3c4343157b1 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 13:12:21 +0100 Subject: [PATCH 02/10] Add comment --- substrate/frame/revive/src/vm/evm/instructions/control.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/substrate/frame/revive/src/vm/evm/instructions/control.rs b/substrate/frame/revive/src/vm/evm/instructions/control.rs index 9d31cf7cc5372..218f80ff86873 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/control.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/control.rs @@ -131,6 +131,10 @@ pub fn invalid(interpreter: &mut Interpreter) -> ControlFlow { ControlFlow::Break(Error::::InvalidInstruction.into()) } +/// bench_init opcode. Return with a runtime code that fills the maximum allowed code size. +/// +/// This is used to benchmark the CREATE opcode. We create a runtime code, that returns a runtime +/// code of the maximum allowed size. #[cfg(feature = "runtime-benchmarks")] pub fn bench_init_code() -> ControlFlow { let runtime_code = vec![revm::bytecode::opcode::STOP; revm::primitives::eip170::MAX_CODE_SIZE]; From 2ee22fcd37ee898322da2916fc4861e167394892 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 13:29:30 +0100 Subject: [PATCH 03/10] simplify --- substrate/frame/revive/src/vm/evm/instructions/control.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/substrate/frame/revive/src/vm/evm/instructions/control.rs b/substrate/frame/revive/src/vm/evm/instructions/control.rs index 218f80ff86873..be9adc4529887 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/control.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/control.rs @@ -131,10 +131,8 @@ pub fn invalid(interpreter: &mut Interpreter) -> ControlFlow { ControlFlow::Break(Error::::InvalidInstruction.into()) } -/// bench_init opcode. Return with a runtime code that fills the maximum allowed code size. -/// -/// This is used to benchmark the CREATE opcode. We create a runtime code, that returns a runtime -/// code of the maximum allowed size. +/// bench_init opcode. +/// Returns a runtime code that fills the maximum allowed code size. #[cfg(feature = "runtime-benchmarks")] pub fn bench_init_code() -> ControlFlow { let runtime_code = vec![revm::bytecode::opcode::STOP; revm::primitives::eip170::MAX_CODE_SIZE]; From 8c6cfa1de99d49cc1df4ca6cf41efc7b5181eab7 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 13:31:37 +0100 Subject: [PATCH 04/10] fix --- substrate/frame/revive/src/benchmarking.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index 0e33a61da2472..3847eb4125156 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -2100,9 +2100,7 @@ mod benchmarks { i: Linear<1024, { 10 * 1024 }>, ) -> Result<(), BenchmarkError> { use crate::vm::evm::instructions::BENCH_INIT_CODE; - let module = VmBinaryModule::dummy(); - let mut setup = CallSetup::::new(module); - + let mut setup = CallSetup::::new(VmBinaryModule::dummy()); setup.set_origin(ExecOrigin::from_account_id(setup.contract().account_id.clone())); setup.set_balance(caller_funding::()); @@ -2121,7 +2119,7 @@ mod benchmarks { // Setup stack for create instruction [value, offset, size] let _ = interpreter.stack.push(U256::from(init_code.len())); - let _ = interpreter.stack.push(U256::from(0u32)); + let _ = interpreter.stack.push(U256::zero()); let _ = interpreter.stack.push(value); let result; From 2aceb4c6860c6190c65cd7c247decdfd8cc091b2 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 13:34:24 +0100 Subject: [PATCH 05/10] update PR doc --- prdoc/pr_10366.prdoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/prdoc/pr_10366.prdoc b/prdoc/pr_10366.prdoc index b54e47c6ca7f8..37390fb129008 100644 --- a/prdoc/pr_10366.prdoc +++ b/prdoc/pr_10366.prdoc @@ -1,7 +1,15 @@ title: '[pallet-revive] update evm create benchmark' doc: - audience: Runtime Dev - description: Add a benchmark for evm CREATE instruction + description: | + Add a benchmark for the EVM CREATE instruction. + + We are currently reusing the `seal_instantiate` benchmark from PVM instantiation, which is incorrect because instantiating an EVM contract takes different arguments and follows a different code path than creating a PVM contract. + + This benchmark performs the following steps: + + - Generates init bytecode of size i, optionally including a balance with dust. + - Executes the init code that triggers a single benchmark opcode returning a runtime code of the maximum allowed size (qrevm::primitives::eip170::MAX_CODE_SIZE`). crates: - name: pallet-revive bump: patch From 8412f5a6a7fdd4b0b875a5ba5f63e2282101983c Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 14:08:00 +0100 Subject: [PATCH 06/10] fix benchmark build --- substrate/frame/revive/src/vm/evm/instructions/control.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate/frame/revive/src/vm/evm/instructions/control.rs b/substrate/frame/revive/src/vm/evm/instructions/control.rs index be9adc4529887..3e1fb1ee20c88 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/control.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/control.rs @@ -135,6 +135,7 @@ pub fn invalid(interpreter: &mut Interpreter) -> ControlFlow { /// Returns a runtime code that fills the maximum allowed code size. #[cfg(feature = "runtime-benchmarks")] pub fn bench_init_code() -> ControlFlow { - let runtime_code = vec![revm::bytecode::opcode::STOP; revm::primitives::eip170::MAX_CODE_SIZE]; + let runtime_code = + alloc::vec![revm::bytecode::opcode::STOP; revm::primitives::eip170::MAX_CODE_SIZE]; ControlFlow::Break(Halt::Return(runtime_code)) } From 687d93e221af4cc422b6452d286da768d2a9786c Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 14:15:34 +0000 Subject: [PATCH 07/10] Update from github-actions[bot] running command 'bench --runtime dev --pallet pallet_revive' --- substrate/frame/revive/src/weights.rs | 1230 +++++++++++++------------ 1 file changed, 621 insertions(+), 609 deletions(-) diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index e2930b8233d00..a6926a437be11 100644 --- a/substrate/frame/revive/src/weights.rs +++ b/substrate/frame/revive/src/weights.rs @@ -37,7 +37,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-11-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `44915ba9d147`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `ef7b9c6c4577`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -183,8 +183,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_385_000 picoseconds. - Weight::from_parts(3_568_000, 1698) + // Minimum execution time: 3_323_000 picoseconds. + Weight::from_parts(3_487_000, 1698) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -194,10 +194,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_795_000 picoseconds. - Weight::from_parts(15_696_000, 481) - // Standard Error: 1_015 - .saturating_add(Weight::from_parts(1_190_962, 0).saturating_mul(k.into())) + // Minimum execution time: 14_222_000 picoseconds. + Weight::from_parts(14_900_000, 481) + // Standard Error: 1_019 + .saturating_add(Weight::from_parts(1_191_828, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -221,10 +221,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 96_097_000 picoseconds. - Weight::from_parts(140_874_377, 7200) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_546, 0).saturating_mul(c.into())) + // Minimum execution time: 96_789_000 picoseconds. + Weight::from_parts(136_407_227, 7200) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_578, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -246,10 +246,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 89_498_000 picoseconds. - Weight::from_parts(94_448_257, 7144) - // Standard Error: 26 - .saturating_add(Weight::from_parts(11, 0).saturating_mul(c.into())) + // Minimum execution time: 90_994_000 picoseconds. + Weight::from_parts(95_773_344, 7144) + // Standard Error: 21 + .saturating_add(Weight::from_parts(42, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -266,12 +266,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(_b: u32, ) -> Weight { + fn basic_block_compilation(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 140_558_000 picoseconds. - Weight::from_parts(146_644_730, 10549) + // Minimum execution time: 141_869_000 picoseconds. + Weight::from_parts(147_013_442, 10549) + // Standard Error: 514_177 + .saturating_add(Weight::from_parts(266_257, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,12 +297,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6924` - // Minimum execution time: 776_739_000 picoseconds. - Weight::from_parts(75_085_614, 6924) - // Standard Error: 39 - .saturating_add(Weight::from_parts(20_620, 0).saturating_mul(c.into())) - // Standard Error: 30 - .saturating_add(Weight::from_parts(5_069, 0).saturating_mul(i.into())) + // Minimum execution time: 778_332_000 picoseconds. + Weight::from_parts(25_744_343, 6924) + // Standard Error: 44 + .saturating_add(Weight::from_parts(20_758, 0).saturating_mul(c.into())) + // Standard Error: 34 + .saturating_add(Weight::from_parts(5_553, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -325,18 +327,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 102400]`. /// The range of component `i` is `[0, 131072]`. /// The range of component `d` is `[0, 1]`. - fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { + fn eth_instantiate_with_code(c: u32, i: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6934` - // Minimum execution time: 373_087_000 picoseconds. - Weight::from_parts(254_968_766, 6934) - // Standard Error: 49 - .saturating_add(Weight::from_parts(16_282, 0).saturating_mul(c.into())) - // Standard Error: 38 - .saturating_add(Weight::from_parts(655, 0).saturating_mul(i.into())) - // Standard Error: 3_249_500 - .saturating_add(Weight::from_parts(9_697_598, 0).saturating_mul(d.into())) + // Minimum execution time: 386_918_000 picoseconds. + Weight::from_parts(288_214_129, 6934) + // Standard Error: 41 + .saturating_add(Weight::from_parts(16_686, 0).saturating_mul(c.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(555, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -344,8 +344,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_340_000 picoseconds. - Weight::from_parts(3_486_000, 0) + // Minimum execution time: 3_024_000 picoseconds. + Weight::from_parts(3_249_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -366,10 +366,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `7659` - // Minimum execution time: 183_189_000 picoseconds. - Weight::from_parts(192_052_984, 7659) - // Standard Error: 12 - .saturating_add(Weight::from_parts(4_246, 0).saturating_mul(i.into())) + // Minimum execution time: 188_311_000 picoseconds. + Weight::from_parts(194_864_763, 7659) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4_253, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -389,8 +389,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 97_346_000 picoseconds. - Weight::from_parts(100_810_000, 7898) + // Minimum execution time: 100_069_000 picoseconds. + Weight::from_parts(103_936_000, 7898) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -415,10 +415,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 160_863_000 picoseconds. - Weight::from_parts(168_386_465, 7898) - // Standard Error: 750_726 - .saturating_add(Weight::from_parts(10_355_134, 0).saturating_mul(d.into())) + // Minimum execution time: 162_497_000 picoseconds. + Weight::from_parts(172_451_110, 7898) + // Standard Error: 823_367 + .saturating_add(Weight::from_parts(5_080_089, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -435,10 +435,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 29_783_000 picoseconds. - Weight::from_parts(24_862_803, 3823) + // Minimum execution time: 30_601_000 picoseconds. + Weight::from_parts(25_908_669, 3823) // Standard Error: 12 - .saturating_add(Weight::from_parts(6_351, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(6_347, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -455,10 +455,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `392` // Estimated: `3857` - // Minimum execution time: 60_416_000 picoseconds. - Weight::from_parts(51_004_852, 3857) - // Standard Error: 18 - .saturating_add(Weight::from_parts(14_578, 0).saturating_mul(c.into())) + // Minimum execution time: 62_390_000 picoseconds. + Weight::from_parts(61_082_662, 3857) + // Standard Error: 24 + .saturating_add(Weight::from_parts(14_684, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -472,8 +472,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 52_960_000 picoseconds. - Weight::from_parts(54_452_000, 3989) + // Minimum execution time: 53_666_000 picoseconds. + Weight::from_parts(55_661_000, 3989) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -491,8 +491,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 67_952_000 picoseconds. - Weight::from_parts(69_484_000, 6807) + // Minimum execution time: 68_183_000 picoseconds. + Weight::from_parts(71_818_000, 6807) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -506,8 +506,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 60_786_000 picoseconds. - Weight::from_parts(61_858_000, 4088) + // Minimum execution time: 61_873_000 picoseconds. + Weight::from_parts(63_586_000, 4088) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -519,8 +519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_343_000 picoseconds. - Weight::from_parts(40_959_000, 3558) + // Minimum execution time: 40_879_000 picoseconds. + Weight::from_parts(42_146_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -534,8 +534,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3846` - // Minimum execution time: 19_031_000 picoseconds. - Weight::from_parts(19_515_000, 3846) + // Minimum execution time: 19_231_000 picoseconds. + Weight::from_parts(19_598_000, 3846) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -543,24 +543,24 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_482_000 picoseconds. - Weight::from_parts(9_624_813, 0) - // Standard Error: 258 - .saturating_add(Weight::from_parts(169_779, 0).saturating_mul(r.into())) + // Minimum execution time: 8_267_000 picoseconds. + Weight::from_parts(9_050_262, 0) + // Standard Error: 201 + .saturating_add(Weight::from_parts(174_940, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 360_000 picoseconds. - Weight::from_parts(378_000, 0) + // Minimum execution time: 344_000 picoseconds. + Weight::from_parts(395_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(360_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(363_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -568,8 +568,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_459_000 picoseconds. - Weight::from_parts(11_965_000, 4088) + // Minimum execution time: 11_333_000 picoseconds. + Weight::from_parts(11_892_000, 4088) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -578,16 +578,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 10_116_000 picoseconds. - Weight::from_parts(10_342_000, 3938) + // Minimum execution time: 9_769_000 picoseconds. + Weight::from_parts(10_340_000, 3938) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_753_000 picoseconds. - Weight::from_parts(10_386_000, 0) + // Minimum execution time: 9_724_000 picoseconds. + Weight::from_parts(10_070_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -597,51 +597,51 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_312_000 picoseconds. - Weight::from_parts(13_970_000, 4010) + // Minimum execution time: 13_450_000 picoseconds. + Weight::from_parts(14_051_000, 4010) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_089_000 picoseconds. - Weight::from_parts(1_165_000, 0) + // Minimum execution time: 1_115_000 picoseconds. + Weight::from_parts(1_244_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_060_000 picoseconds. - Weight::from_parts(1_170_000, 0) + // Minimum execution time: 1_125_000 picoseconds. + Weight::from_parts(1_217_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 364_000 picoseconds. - Weight::from_parts(406_000, 0) + // Minimum execution time: 328_000 picoseconds. + Weight::from_parts(355_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_060_000 picoseconds. - Weight::from_parts(1_225_000, 0) + // Minimum execution time: 1_061_000 picoseconds. + Weight::from_parts(1_139_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 6_011_000 picoseconds. - Weight::from_parts(6_480_000, 0) + // Minimum execution time: 5_775_000 picoseconds. + Weight::from_parts(6_056_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_844_000 picoseconds. - Weight::from_parts(13_294_000, 0) + // Minimum execution time: 12_739_000 picoseconds. + Weight::from_parts(13_403_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -653,8 +653,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_594_000 picoseconds. - Weight::from_parts(21_375_000, 4349) + // Minimum execution time: 20_631_000 picoseconds. + Weight::from_parts(21_344_000, 4349) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -664,10 +664,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 6_175_000 picoseconds. - Weight::from_parts(8_613_332, 3769) - // Standard Error: 12 - .saturating_add(Weight::from_parts(591, 0).saturating_mul(n.into())) + // Minimum execution time: 5_977_000 picoseconds. + Weight::from_parts(8_574_689, 3769) + // Standard Error: 13 + .saturating_add(Weight::from_parts(599, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -678,67 +678,67 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_035_000 picoseconds. - Weight::from_parts(2_316_637, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(548, 0).saturating_mul(n.into())) + // Minimum execution time: 2_032_000 picoseconds. + Weight::from_parts(2_312_755, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(537, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 290_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 266_000 picoseconds. + Weight::from_parts(303_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_253_000 picoseconds. - Weight::from_parts(1_426_000, 0) + // Minimum execution time: 1_258_000 picoseconds. + Weight::from_parts(1_388_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 252_000 picoseconds. - Weight::from_parts(286_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(298_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(319_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(312_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_860_000 picoseconds. - Weight::from_parts(2_057_000, 0) + // Minimum execution time: 1_793_000 picoseconds. + Weight::from_parts(1_916_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_041_000 picoseconds. - Weight::from_parts(1_107_000, 0) + // Minimum execution time: 1_027_000 picoseconds. + Weight::from_parts(1_081_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_178_000 picoseconds. - Weight::from_parts(1_234_000, 0) + // Minimum execution time: 1_031_000 picoseconds. + Weight::from_parts(1_167_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 283_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(304_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -746,8 +746,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 22_465_000 picoseconds. - Weight::from_parts(23_273_000, 1626) + // Minimum execution time: 21_535_000 picoseconds. + Weight::from_parts(22_017_000, 1626) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) @@ -756,8 +756,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `318` // Estimated: `3783` - // Minimum execution time: 7_772_000 picoseconds. - Weight::from_parts(8_339_000, 3783) + // Minimum execution time: 7_658_000 picoseconds. + Weight::from_parts(8_149_000, 3783) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { @@ -765,52 +765,54 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 278_000 picoseconds. - Weight::from_parts(326_000, 0) + Weight::from_parts(314_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 437_000 picoseconds. - Weight::from_parts(464_000, 0) + // Minimum execution time: 426_000 picoseconds. + Weight::from_parts(316_321, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 247_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 265_000 picoseconds. + Weight::from_parts(308_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 227_000 picoseconds. - Weight::from_parts(266_000, 0) + // Minimum execution time: 276_000 picoseconds. + Weight::from_parts(310_752, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(393_393, 0) + // Minimum execution time: 262_000 picoseconds. + Weight::from_parts(433_363, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. - fn seal_terminate(_r: u32, ) -> Weight { + fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 813_000 picoseconds. - Weight::from_parts(942_636, 0) + // Minimum execution time: 851_000 picoseconds. + Weight::from_parts(997_989, 0) + // Standard Error: 7_159 + .saturating_add(Weight::from_parts(4_310, 0).saturating_mul(r.into())) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -830,8 +832,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 117_544_000 picoseconds. - Weight::from_parts(119_529_000, 6918) + // Minimum execution time: 118_810_000 picoseconds. + Weight::from_parts(121_464_000, 6918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -841,10 +843,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_163_000 picoseconds. - Weight::from_parts(5_325_000, 0) + // Minimum execution time: 5_026_000 picoseconds. + Weight::from_parts(5_250_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -852,8 +854,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(9_718_000, 648) + // Minimum execution time: 9_250_000 picoseconds. + Weight::from_parts(9_742_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -862,8 +864,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_439_000 picoseconds. - Weight::from_parts(42_227_000, 10658) + // Minimum execution time: 41_262_000 picoseconds. + Weight::from_parts(42_073_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -872,7 +874,7 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_556_000 picoseconds. + // Minimum execution time: 10_517_000 picoseconds. Weight::from_parts(11_014_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -883,8 +885,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_416_000 picoseconds. - Weight::from_parts(44_450_000, 10658) + // Minimum execution time: 42_927_000 picoseconds. + Weight::from_parts(44_176_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -896,12 +898,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_326_000 picoseconds. - Weight::from_parts(11_138_232, 247) - // Standard Error: 137 - .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(n.into())) - // Standard Error: 137 - .saturating_add(Weight::from_parts(2_322, 0).saturating_mul(o.into())) + // Minimum execution time: 9_223_000 picoseconds. + Weight::from_parts(11_118_308, 247) + // Standard Error: 121 + .saturating_add(Weight::from_parts(933, 0).saturating_mul(n.into())) + // Standard Error: 121 + .saturating_add(Weight::from_parts(2_200, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -913,8 +915,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_804_000 picoseconds. - Weight::from_parts(13_953_545, 376) + // Minimum execution time: 12_506_000 picoseconds. + Weight::from_parts(13_595_978, 376) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -925,10 +927,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_346_000 picoseconds. - Weight::from_parts(11_113_564, 247) - // Standard Error: 217 - .saturating_add(Weight::from_parts(3_491, 0).saturating_mul(n.into())) + // Minimum execution time: 8_560_000 picoseconds. + Weight::from_parts(10_948_007, 247) + // Standard Error: 226 + .saturating_add(Weight::from_parts(3_260, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -939,22 +941,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_161_000 picoseconds. - Weight::from_parts(3_486_962, 0) - // Standard Error: 35 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + // Minimum execution time: 3_005_000 picoseconds. + Weight::from_parts(3_355_030, 0) + // Standard Error: 26 + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn take_storage(n: u32, ) -> Weight { + fn take_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_215_000 picoseconds. - Weight::from_parts(14_513_922, 376) - // Standard Error: 107 - .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) + // Minimum execution time: 13_453_000 picoseconds. + Weight::from_parts(14_569_728, 376) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -962,36 +962,36 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_657_000 picoseconds. - Weight::from_parts(1_758_000, 0) + // Minimum execution time: 1_553_000 picoseconds. + Weight::from_parts(1_743_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_057_000 picoseconds. - Weight::from_parts(2_164_000, 0) + // Minimum execution time: 1_952_000 picoseconds. + Weight::from_parts(2_075_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_639_000 picoseconds. - Weight::from_parts(1_736_000, 0) + // Minimum execution time: 1_566_000 picoseconds. + Weight::from_parts(1_655_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_788_000 picoseconds. - Weight::from_parts(1_903_000, 0) + // Minimum execution time: 1_737_000 picoseconds. + Weight::from_parts(1_869_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_199_000 picoseconds. - Weight::from_parts(1_308_000, 0) + // Minimum execution time: 1_218_000 picoseconds. + Weight::from_parts(1_318_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -999,48 +999,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_502_000 picoseconds. - Weight::from_parts(2_857_688, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(145, 0).saturating_mul(n.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(290, 0).saturating_mul(o.into())) + // Minimum execution time: 2_468_000 picoseconds. + Weight::from_parts(2_705_538, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(324, 0).saturating_mul(n.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(413, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(_n: u32, ) -> Weight { + fn seal_clear_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_772_000 picoseconds. - Weight::from_parts(4_189_679, 0) + // Minimum execution time: 3_673_000 picoseconds. + Weight::from_parts(4_035_337, 0) + // Standard Error: 48 + .saturating_add(Weight::from_parts(232, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_176_000 picoseconds. - Weight::from_parts(2_362_133, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(256, 0).saturating_mul(n.into())) + // Minimum execution time: 2_054_000 picoseconds. + Weight::from_parts(2_288_280, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(338, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_370_000 picoseconds. - Weight::from_parts(3_695_266, 0) + // Minimum execution time: 3_185_000 picoseconds. + Weight::from_parts(3_495_223, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_125_000 picoseconds. - Weight::from_parts(4_463_040, 0) - // Standard Error: 41 - .saturating_add(Weight::from_parts(164, 0).saturating_mul(n.into())) + // Minimum execution time: 4_086_000 picoseconds. + Weight::from_parts(4_431_899, 0) + // Standard Error: 28 + .saturating_add(Weight::from_parts(100, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1059,12 +1061,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1969` // Estimated: `5434` - // Minimum execution time: 92_923_000 picoseconds. - Weight::from_parts(75_660_714, 5434) - // Standard Error: 142_393 - .saturating_add(Weight::from_parts(17_865_313, 0).saturating_mul(t.into())) - // Standard Error: 142_393 - .saturating_add(Weight::from_parts(23_732_215, 0).saturating_mul(d.into())) + // Minimum execution time: 94_930_000 picoseconds. + Weight::from_parts(76_369_382, 5434) + // Standard Error: 149_249 + .saturating_add(Weight::from_parts(19_158_516, 0).saturating_mul(t.into())) + // Standard Error: 149_249 + .saturating_add(Weight::from_parts(24_375_444, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) @@ -1081,12 +1083,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `436 + d * (250 ±0)` // Estimated: `2075 + d * (2076 ±0)` - // Minimum execution time: 27_007_000 picoseconds. - Weight::from_parts(14_780_791, 2075) - // Standard Error: 60_759 - .saturating_add(Weight::from_parts(13_247_966, 0).saturating_mul(d.into())) + // Minimum execution time: 26_656_000 picoseconds. + Weight::from_parts(15_643_986, 2075) + // Standard Error: 60_531 + .saturating_add(Weight::from_parts(12_677_389, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(402, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(393, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) @@ -1101,8 +1103,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 33_933_000 picoseconds. - Weight::from_parts(34_991_000, 4899) + // Minimum execution time: 32_716_000 picoseconds. + Weight::from_parts(34_542_000, 4899) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1120,14 +1122,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1464` // Estimated: `4937` - // Minimum execution time: 153_323_000 picoseconds. - Weight::from_parts(107_891_310, 4937) - // Standard Error: 546_769 - .saturating_add(Weight::from_parts(22_884_047, 0).saturating_mul(t.into())) - // Standard Error: 546_769 - .saturating_add(Weight::from_parts(31_008_834, 0).saturating_mul(d.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(4_028, 0).saturating_mul(i.into())) + // Minimum execution time: 156_816_000 picoseconds. + Weight::from_parts(116_661_857, 4937) + // Standard Error: 490_797 + .saturating_add(Weight::from_parts(20_119_916, 0).saturating_mul(t.into())) + // Standard Error: 490_797 + .saturating_add(Weight::from_parts(29_511_167, 0).saturating_mul(d.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_005, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1148,14 +1150,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `870` // Estimated: `6810` - // Minimum execution time: 197_320_000 picoseconds. - Weight::from_parts(158_194_430, 6810) - // Standard Error: 276_863 - .saturating_add(Weight::from_parts(14_009_530, 0).saturating_mul(t.into())) - // Standard Error: 276_863 - .saturating_add(Weight::from_parts(22_814_269, 0).saturating_mul(d.into())) - // Standard Error: 46 - .saturating_add(Weight::from_parts(9_111, 0).saturating_mul(i.into())) + // Minimum execution time: 308_223_000 picoseconds. + Weight::from_parts(288_251_072, 6810) + // Standard Error: 243_247 + .saturating_add(Weight::from_parts(15_141_166, 0).saturating_mul(t.into())) + // Standard Error: 243_247 + .saturating_add(Weight::from_parts(23_993_762, 0).saturating_mul(d.into())) + // Standard Error: 40 + .saturating_add(Weight::from_parts(3_726, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1164,125 +1166,125 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_384_000 picoseconds. - Weight::from_parts(13_104_584, 0) + // Minimum execution time: 1_304_000 picoseconds. + Weight::from_parts(7_979_056, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_270, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(873_363, 0) + // Minimum execution time: 750_000 picoseconds. + Weight::from_parts(423_334, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_359_000 picoseconds. - Weight::from_parts(4_551_717, 0) + // Minimum execution time: 1_224_000 picoseconds. + Weight::from_parts(3_000_994, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_775, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_791, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_146_000 picoseconds. - Weight::from_parts(12_921_080, 0) + // Minimum execution time: 1_128_000 picoseconds. + Weight::from_parts(1_165_000, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_581, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_629, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_646_000 picoseconds. - Weight::from_parts(12_398_211, 0) + // Minimum execution time: 1_825_000 picoseconds. + Weight::from_parts(2_272_019, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_815_000 picoseconds. - Weight::from_parts(13_382_040, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) + // Minimum execution time: 1_805_000 picoseconds. + Weight::from_parts(3_630_472, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_776_000 picoseconds. - Weight::from_parts(77_621_004, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(4_879, 0).saturating_mul(n.into())) + // Minimum execution time: 46_956_000 picoseconds. + Weight::from_parts(104_477_814, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_857, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_739_000 picoseconds. - Weight::from_parts(47_642_000, 0) + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(47_277_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_795_552_000 picoseconds. - Weight::from_parts(1_805_053_000, 0) + // Minimum execution time: 1_782_472_000 picoseconds. + Weight::from_parts(1_795_526_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_373_000 picoseconds. - Weight::from_parts(16_583_000, 0) + // Minimum execution time: 15_478_000 picoseconds. + Weight::from_parts(16_630_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 991_453_000 picoseconds. - Weight::from_parts(999_199_000, 0) + // Minimum execution time: 1_079_022_000 picoseconds. + Weight::from_parts(1_086_120_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 914_000 picoseconds. - Weight::from_parts(4_982_056_071, 0) - // Standard Error: 10_684_341 - .saturating_add(Weight::from_parts(6_031_654_119, 0).saturating_mul(n.into())) + // Minimum execution time: 822_000 picoseconds. + Weight::from_parts(4_948_300_000, 0) + // Standard Error: 10_709_854 + .saturating_add(Weight::from_parts(5_969_620_429, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_027_000 picoseconds. - Weight::from_parts(1_240_474, 0) - // Standard Error: 59 - .saturating_add(Weight::from_parts(29_181, 0).saturating_mul(n.into())) + // Minimum execution time: 943_000 picoseconds. + Weight::from_parts(1_083_152, 0) + // Standard Error: 103 + .saturating_add(Weight::from_parts(29_477, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_580_000 picoseconds. - Weight::from_parts(13_753_000, 0) + // Minimum execution time: 13_002_000 picoseconds. + Weight::from_parts(13_136_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -1297,10 +1299,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 15_150_000 picoseconds. - Weight::from_parts(16_128_448, 6364) - // Standard Error: 50_840 - .saturating_add(Weight::from_parts(46_924_351, 0).saturating_mul(r.into())) + // Minimum execution time: 14_800_000 picoseconds. + Weight::from_parts(15_748_891, 6364) + // Standard Error: 52_223 + .saturating_add(Weight::from_parts(48_195_308, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1312,30 +1314,30 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 643_000 picoseconds. - Weight::from_parts(1_208_591, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(14_899, 0).saturating_mul(r.into())) + // Minimum execution time: 607_000 picoseconds. + Weight::from_parts(1_408_742, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(15_344, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_955_000 picoseconds. - Weight::from_parts(61_894_569, 0) - // Standard Error: 356 - .saturating_add(Weight::from_parts(127_580, 0).saturating_mul(r.into())) + // Minimum execution time: 13_439_000 picoseconds. + Weight::from_parts(63_692_932, 0) + // Standard Error: 897 + .saturating_add(Weight::from_parts(140_010, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_132_000 picoseconds. - Weight::from_parts(3_328_813, 0) - // Standard Error: 41 - .saturating_add(Weight::from_parts(74_014, 0).saturating_mul(r.into())) + // Minimum execution time: 3_169_000 picoseconds. + Weight::from_parts(3_361_125, 0) + // Standard Error: 34 + .saturating_add(Weight::from_parts(74_455, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1344,10 +1346,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_918_000 picoseconds. - Weight::from_parts(14_869_097, 3992) - // Standard Error: 6 - .saturating_add(Weight::from_parts(834, 0).saturating_mul(n.into())) + // Minimum execution time: 14_557_000 picoseconds. + Weight::from_parts(14_642_907, 3992) + // Standard Error: 5 + .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1359,8 +1361,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_652_000 picoseconds. - Weight::from_parts(13_182_000, 6322) + // Minimum execution time: 12_619_000 picoseconds. + Weight::from_parts(12_933_000, 6322) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1374,8 +1376,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 65_939_000 picoseconds. - Weight::from_parts(66_437_000, 6866) + // Minimum execution time: 65_027_000 picoseconds. + Weight::from_parts(66_671_000, 6866) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -1396,10 +1398,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3012 + n * (97 ±0)` // Estimated: `6303 + n * (104 ±0)` - // Minimum execution time: 28_483_000 picoseconds. - Weight::from_parts(57_121_139, 6303) - // Standard Error: 4_776 - .saturating_add(Weight::from_parts(524_501, 0).saturating_mul(n.into())) + // Minimum execution time: 27_984_000 picoseconds. + Weight::from_parts(57_446_817, 6303) + // Standard Error: 4_855 + .saturating_add(Weight::from_parts(534_754, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) @@ -1421,10 +1423,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3577 + d * (3 ±0)` // Estimated: `7036 + d * (3 ±0)` - // Minimum execution time: 59_423_000 picoseconds. - Weight::from_parts(62_184_363, 7036) - // Standard Error: 232 - .saturating_add(Weight::from_parts(12_931, 0).saturating_mul(d.into())) + // Minimum execution time: 60_259_000 picoseconds. + Weight::from_parts(62_620_510, 7036) + // Standard Error: 151 + .saturating_add(Weight::from_parts(12_329, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) @@ -1444,12 +1446,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `e` is `[0, 100]`. - fn on_finalize_per_event(_e: u32, ) -> Weight { + fn on_finalize_per_event(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_960_000 picoseconds. - Weight::from_parts(47_063_657, 5011) + // Minimum execution time: 44_875_000 picoseconds. + Weight::from_parts(46_760_819, 5011) + // Standard Error: 831 + .saturating_add(Weight::from_parts(4_925, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -1468,12 +1472,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(_d: u32, ) -> Weight { + fn on_finalize_per_event_data(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_817_000 picoseconds. - Weight::from_parts(47_273_059, 5011) + // Minimum execution time: 45_159_000 picoseconds. + Weight::from_parts(46_878_528, 5011) + // Standard Error: 7 + .saturating_add(Weight::from_parts(61, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -1487,8 +1493,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_385_000 picoseconds. - Weight::from_parts(3_568_000, 1698) + // Minimum execution time: 3_323_000 picoseconds. + Weight::from_parts(3_487_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1498,10 +1504,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_795_000 picoseconds. - Weight::from_parts(15_696_000, 481) - // Standard Error: 1_015 - .saturating_add(Weight::from_parts(1_190_962, 0).saturating_mul(k.into())) + // Minimum execution time: 14_222_000 picoseconds. + Weight::from_parts(14_900_000, 481) + // Standard Error: 1_019 + .saturating_add(Weight::from_parts(1_191_828, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1525,10 +1531,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 96_097_000 picoseconds. - Weight::from_parts(140_874_377, 7200) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_546, 0).saturating_mul(c.into())) + // Minimum execution time: 96_789_000 picoseconds. + Weight::from_parts(136_407_227, 7200) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_578, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1550,10 +1556,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 89_498_000 picoseconds. - Weight::from_parts(94_448_257, 7144) - // Standard Error: 26 - .saturating_add(Weight::from_parts(11, 0).saturating_mul(c.into())) + // Minimum execution time: 90_994_000 picoseconds. + Weight::from_parts(95_773_344, 7144) + // Standard Error: 21 + .saturating_add(Weight::from_parts(42, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1570,12 +1576,14 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(_b: u32, ) -> Weight { + fn basic_block_compilation(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 140_558_000 picoseconds. - Weight::from_parts(146_644_730, 10549) + // Minimum execution time: 141_869_000 picoseconds. + Weight::from_parts(147_013_442, 10549) + // Standard Error: 514_177 + .saturating_add(Weight::from_parts(266_257, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1599,12 +1607,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6924` - // Minimum execution time: 776_739_000 picoseconds. - Weight::from_parts(75_085_614, 6924) - // Standard Error: 39 - .saturating_add(Weight::from_parts(20_620, 0).saturating_mul(c.into())) - // Standard Error: 30 - .saturating_add(Weight::from_parts(5_069, 0).saturating_mul(i.into())) + // Minimum execution time: 778_332_000 picoseconds. + Weight::from_parts(25_744_343, 6924) + // Standard Error: 44 + .saturating_add(Weight::from_parts(20_758, 0).saturating_mul(c.into())) + // Standard Error: 34 + .saturating_add(Weight::from_parts(5_553, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1629,18 +1637,16 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 102400]`. /// The range of component `i` is `[0, 131072]`. /// The range of component `d` is `[0, 1]`. - fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { + fn eth_instantiate_with_code(c: u32, i: u32, _d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6934` - // Minimum execution time: 373_087_000 picoseconds. - Weight::from_parts(254_968_766, 6934) - // Standard Error: 49 - .saturating_add(Weight::from_parts(16_282, 0).saturating_mul(c.into())) - // Standard Error: 38 - .saturating_add(Weight::from_parts(655, 0).saturating_mul(i.into())) - // Standard Error: 3_249_500 - .saturating_add(Weight::from_parts(9_697_598, 0).saturating_mul(d.into())) + // Minimum execution time: 386_918_000 picoseconds. + Weight::from_parts(288_214_129, 6934) + // Standard Error: 41 + .saturating_add(Weight::from_parts(16_686, 0).saturating_mul(c.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(555, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1648,8 +1654,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_340_000 picoseconds. - Weight::from_parts(3_486_000, 0) + // Minimum execution time: 3_024_000 picoseconds. + Weight::from_parts(3_249_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1670,10 +1676,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `7659` - // Minimum execution time: 183_189_000 picoseconds. - Weight::from_parts(192_052_984, 7659) - // Standard Error: 12 - .saturating_add(Weight::from_parts(4_246, 0).saturating_mul(i.into())) + // Minimum execution time: 188_311_000 picoseconds. + Weight::from_parts(194_864_763, 7659) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4_253, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1693,8 +1699,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 97_346_000 picoseconds. - Weight::from_parts(100_810_000, 7898) + // Minimum execution time: 100_069_000 picoseconds. + Weight::from_parts(103_936_000, 7898) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1719,10 +1725,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 160_863_000 picoseconds. - Weight::from_parts(168_386_465, 7898) - // Standard Error: 750_726 - .saturating_add(Weight::from_parts(10_355_134, 0).saturating_mul(d.into())) + // Minimum execution time: 162_497_000 picoseconds. + Weight::from_parts(172_451_110, 7898) + // Standard Error: 823_367 + .saturating_add(Weight::from_parts(5_080_089, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1739,10 +1745,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 29_783_000 picoseconds. - Weight::from_parts(24_862_803, 3823) + // Minimum execution time: 30_601_000 picoseconds. + Weight::from_parts(25_908_669, 3823) // Standard Error: 12 - .saturating_add(Weight::from_parts(6_351, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(6_347, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1759,10 +1765,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `392` // Estimated: `3857` - // Minimum execution time: 60_416_000 picoseconds. - Weight::from_parts(51_004_852, 3857) - // Standard Error: 18 - .saturating_add(Weight::from_parts(14_578, 0).saturating_mul(c.into())) + // Minimum execution time: 62_390_000 picoseconds. + Weight::from_parts(61_082_662, 3857) + // Standard Error: 24 + .saturating_add(Weight::from_parts(14_684, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1776,8 +1782,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 52_960_000 picoseconds. - Weight::from_parts(54_452_000, 3989) + // Minimum execution time: 53_666_000 picoseconds. + Weight::from_parts(55_661_000, 3989) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1795,8 +1801,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 67_952_000 picoseconds. - Weight::from_parts(69_484_000, 6807) + // Minimum execution time: 68_183_000 picoseconds. + Weight::from_parts(71_818_000, 6807) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1810,8 +1816,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 60_786_000 picoseconds. - Weight::from_parts(61_858_000, 4088) + // Minimum execution time: 61_873_000 picoseconds. + Weight::from_parts(63_586_000, 4088) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1823,8 +1829,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_343_000 picoseconds. - Weight::from_parts(40_959_000, 3558) + // Minimum execution time: 40_879_000 picoseconds. + Weight::from_parts(42_146_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1838,8 +1844,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3846` - // Minimum execution time: 19_031_000 picoseconds. - Weight::from_parts(19_515_000, 3846) + // Minimum execution time: 19_231_000 picoseconds. + Weight::from_parts(19_598_000, 3846) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1847,24 +1853,24 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_482_000 picoseconds. - Weight::from_parts(9_624_813, 0) - // Standard Error: 258 - .saturating_add(Weight::from_parts(169_779, 0).saturating_mul(r.into())) + // Minimum execution time: 8_267_000 picoseconds. + Weight::from_parts(9_050_262, 0) + // Standard Error: 201 + .saturating_add(Weight::from_parts(174_940, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 360_000 picoseconds. - Weight::from_parts(378_000, 0) + // Minimum execution time: 344_000 picoseconds. + Weight::from_parts(395_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(360_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(363_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1872,8 +1878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_459_000 picoseconds. - Weight::from_parts(11_965_000, 4088) + // Minimum execution time: 11_333_000 picoseconds. + Weight::from_parts(11_892_000, 4088) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -1882,16 +1888,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 10_116_000 picoseconds. - Weight::from_parts(10_342_000, 3938) + // Minimum execution time: 9_769_000 picoseconds. + Weight::from_parts(10_340_000, 3938) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_753_000 picoseconds. - Weight::from_parts(10_386_000, 0) + // Minimum execution time: 9_724_000 picoseconds. + Weight::from_parts(10_070_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1901,51 +1907,51 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_312_000 picoseconds. - Weight::from_parts(13_970_000, 4010) + // Minimum execution time: 13_450_000 picoseconds. + Weight::from_parts(14_051_000, 4010) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_089_000 picoseconds. - Weight::from_parts(1_165_000, 0) + // Minimum execution time: 1_115_000 picoseconds. + Weight::from_parts(1_244_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_060_000 picoseconds. - Weight::from_parts(1_170_000, 0) + // Minimum execution time: 1_125_000 picoseconds. + Weight::from_parts(1_217_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 364_000 picoseconds. - Weight::from_parts(406_000, 0) + // Minimum execution time: 328_000 picoseconds. + Weight::from_parts(355_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_060_000 picoseconds. - Weight::from_parts(1_225_000, 0) + // Minimum execution time: 1_061_000 picoseconds. + Weight::from_parts(1_139_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 6_011_000 picoseconds. - Weight::from_parts(6_480_000, 0) + // Minimum execution time: 5_775_000 picoseconds. + Weight::from_parts(6_056_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_844_000 picoseconds. - Weight::from_parts(13_294_000, 0) + // Minimum execution time: 12_739_000 picoseconds. + Weight::from_parts(13_403_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1957,8 +1963,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_594_000 picoseconds. - Weight::from_parts(21_375_000, 4349) + // Minimum execution time: 20_631_000 picoseconds. + Weight::from_parts(21_344_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1968,10 +1974,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 6_175_000 picoseconds. - Weight::from_parts(8_613_332, 3769) - // Standard Error: 12 - .saturating_add(Weight::from_parts(591, 0).saturating_mul(n.into())) + // Minimum execution time: 5_977_000 picoseconds. + Weight::from_parts(8_574_689, 3769) + // Standard Error: 13 + .saturating_add(Weight::from_parts(599, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1982,67 +1988,67 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_035_000 picoseconds. - Weight::from_parts(2_316_637, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(548, 0).saturating_mul(n.into())) + // Minimum execution time: 2_032_000 picoseconds. + Weight::from_parts(2_312_755, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(537, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 290_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 266_000 picoseconds. + Weight::from_parts(303_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_253_000 picoseconds. - Weight::from_parts(1_426_000, 0) + // Minimum execution time: 1_258_000 picoseconds. + Weight::from_parts(1_388_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 252_000 picoseconds. - Weight::from_parts(286_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(298_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(319_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(312_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_860_000 picoseconds. - Weight::from_parts(2_057_000, 0) + // Minimum execution time: 1_793_000 picoseconds. + Weight::from_parts(1_916_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_041_000 picoseconds. - Weight::from_parts(1_107_000, 0) + // Minimum execution time: 1_027_000 picoseconds. + Weight::from_parts(1_081_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_178_000 picoseconds. - Weight::from_parts(1_234_000, 0) + // Minimum execution time: 1_031_000 picoseconds. + Weight::from_parts(1_167_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 283_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 270_000 picoseconds. + Weight::from_parts(304_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -2050,8 +2056,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 22_465_000 picoseconds. - Weight::from_parts(23_273_000, 1626) + // Minimum execution time: 21_535_000 picoseconds. + Weight::from_parts(22_017_000, 1626) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) @@ -2060,8 +2066,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `318` // Estimated: `3783` - // Minimum execution time: 7_772_000 picoseconds. - Weight::from_parts(8_339_000, 3783) + // Minimum execution time: 7_658_000 picoseconds. + Weight::from_parts(8_149_000, 3783) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { @@ -2069,52 +2075,54 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 278_000 picoseconds. - Weight::from_parts(326_000, 0) + Weight::from_parts(314_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 437_000 picoseconds. - Weight::from_parts(464_000, 0) + // Minimum execution time: 426_000 picoseconds. + Weight::from_parts(316_321, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 247_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 265_000 picoseconds. + Weight::from_parts(308_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 227_000 picoseconds. - Weight::from_parts(266_000, 0) + // Minimum execution time: 276_000 picoseconds. + Weight::from_parts(310_752, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(393_393, 0) + // Minimum execution time: 262_000 picoseconds. + Weight::from_parts(433_363, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. - fn seal_terminate(_r: u32, ) -> Weight { + fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 813_000 picoseconds. - Weight::from_parts(942_636, 0) + // Minimum execution time: 851_000 picoseconds. + Weight::from_parts(997_989, 0) + // Standard Error: 7_159 + .saturating_add(Weight::from_parts(4_310, 0).saturating_mul(r.into())) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2134,8 +2142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 117_544_000 picoseconds. - Weight::from_parts(119_529_000, 6918) + // Minimum execution time: 118_810_000 picoseconds. + Weight::from_parts(121_464_000, 6918) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -2145,10 +2153,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_163_000 picoseconds. - Weight::from_parts(5_325_000, 0) + // Minimum execution time: 5_026_000 picoseconds. + Weight::from_parts(5_250_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2156,8 +2164,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(9_718_000, 648) + // Minimum execution time: 9_250_000 picoseconds. + Weight::from_parts(9_742_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2166,8 +2174,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_439_000 picoseconds. - Weight::from_parts(42_227_000, 10658) + // Minimum execution time: 41_262_000 picoseconds. + Weight::from_parts(42_073_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2176,7 +2184,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_556_000 picoseconds. + // Minimum execution time: 10_517_000 picoseconds. Weight::from_parts(11_014_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2187,8 +2195,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_416_000 picoseconds. - Weight::from_parts(44_450_000, 10658) + // Minimum execution time: 42_927_000 picoseconds. + Weight::from_parts(44_176_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2200,12 +2208,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_326_000 picoseconds. - Weight::from_parts(11_138_232, 247) - // Standard Error: 137 - .saturating_add(Weight::from_parts(1_167, 0).saturating_mul(n.into())) - // Standard Error: 137 - .saturating_add(Weight::from_parts(2_322, 0).saturating_mul(o.into())) + // Minimum execution time: 9_223_000 picoseconds. + Weight::from_parts(11_118_308, 247) + // Standard Error: 121 + .saturating_add(Weight::from_parts(933, 0).saturating_mul(n.into())) + // Standard Error: 121 + .saturating_add(Weight::from_parts(2_200, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -2217,8 +2225,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_804_000 picoseconds. - Weight::from_parts(13_953_545, 376) + // Minimum execution time: 12_506_000 picoseconds. + Weight::from_parts(13_595_978, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2229,10 +2237,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_346_000 picoseconds. - Weight::from_parts(11_113_564, 247) - // Standard Error: 217 - .saturating_add(Weight::from_parts(3_491, 0).saturating_mul(n.into())) + // Minimum execution time: 8_560_000 picoseconds. + Weight::from_parts(10_948_007, 247) + // Standard Error: 226 + .saturating_add(Weight::from_parts(3_260, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2243,22 +2251,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_161_000 picoseconds. - Weight::from_parts(3_486_962, 0) - // Standard Error: 35 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + // Minimum execution time: 3_005_000 picoseconds. + Weight::from_parts(3_355_030, 0) + // Standard Error: 26 + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn take_storage(n: u32, ) -> Weight { + fn take_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_215_000 picoseconds. - Weight::from_parts(14_513_922, 376) - // Standard Error: 107 - .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) + // Minimum execution time: 13_453_000 picoseconds. + Weight::from_parts(14_569_728, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2266,36 +2272,36 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_657_000 picoseconds. - Weight::from_parts(1_758_000, 0) + // Minimum execution time: 1_553_000 picoseconds. + Weight::from_parts(1_743_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_057_000 picoseconds. - Weight::from_parts(2_164_000, 0) + // Minimum execution time: 1_952_000 picoseconds. + Weight::from_parts(2_075_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_639_000 picoseconds. - Weight::from_parts(1_736_000, 0) + // Minimum execution time: 1_566_000 picoseconds. + Weight::from_parts(1_655_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_788_000 picoseconds. - Weight::from_parts(1_903_000, 0) + // Minimum execution time: 1_737_000 picoseconds. + Weight::from_parts(1_869_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_199_000 picoseconds. - Weight::from_parts(1_308_000, 0) + // Minimum execution time: 1_218_000 picoseconds. + Weight::from_parts(1_318_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -2303,48 +2309,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_502_000 picoseconds. - Weight::from_parts(2_857_688, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(145, 0).saturating_mul(n.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(290, 0).saturating_mul(o.into())) + // Minimum execution time: 2_468_000 picoseconds. + Weight::from_parts(2_705_538, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(324, 0).saturating_mul(n.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(413, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(_n: u32, ) -> Weight { + fn seal_clear_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_772_000 picoseconds. - Weight::from_parts(4_189_679, 0) + // Minimum execution time: 3_673_000 picoseconds. + Weight::from_parts(4_035_337, 0) + // Standard Error: 48 + .saturating_add(Weight::from_parts(232, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_176_000 picoseconds. - Weight::from_parts(2_362_133, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(256, 0).saturating_mul(n.into())) + // Minimum execution time: 2_054_000 picoseconds. + Weight::from_parts(2_288_280, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(338, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_370_000 picoseconds. - Weight::from_parts(3_695_266, 0) + // Minimum execution time: 3_185_000 picoseconds. + Weight::from_parts(3_495_223, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_125_000 picoseconds. - Weight::from_parts(4_463_040, 0) - // Standard Error: 41 - .saturating_add(Weight::from_parts(164, 0).saturating_mul(n.into())) + // Minimum execution time: 4_086_000 picoseconds. + Weight::from_parts(4_431_899, 0) + // Standard Error: 28 + .saturating_add(Weight::from_parts(100, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -2363,12 +2371,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1969` // Estimated: `5434` - // Minimum execution time: 92_923_000 picoseconds. - Weight::from_parts(75_660_714, 5434) - // Standard Error: 142_393 - .saturating_add(Weight::from_parts(17_865_313, 0).saturating_mul(t.into())) - // Standard Error: 142_393 - .saturating_add(Weight::from_parts(23_732_215, 0).saturating_mul(d.into())) + // Minimum execution time: 94_930_000 picoseconds. + Weight::from_parts(76_369_382, 5434) + // Standard Error: 149_249 + .saturating_add(Weight::from_parts(19_158_516, 0).saturating_mul(t.into())) + // Standard Error: 149_249 + .saturating_add(Weight::from_parts(24_375_444, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) @@ -2385,12 +2393,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `436 + d * (250 ±0)` // Estimated: `2075 + d * (2076 ±0)` - // Minimum execution time: 27_007_000 picoseconds. - Weight::from_parts(14_780_791, 2075) - // Standard Error: 60_759 - .saturating_add(Weight::from_parts(13_247_966, 0).saturating_mul(d.into())) + // Minimum execution time: 26_656_000 picoseconds. + Weight::from_parts(15_643_986, 2075) + // Standard Error: 60_531 + .saturating_add(Weight::from_parts(12_677_389, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(402, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(393, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) @@ -2405,8 +2413,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 33_933_000 picoseconds. - Weight::from_parts(34_991_000, 4899) + // Minimum execution time: 32_716_000 picoseconds. + Weight::from_parts(34_542_000, 4899) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -2424,14 +2432,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1464` // Estimated: `4937` - // Minimum execution time: 153_323_000 picoseconds. - Weight::from_parts(107_891_310, 4937) - // Standard Error: 546_769 - .saturating_add(Weight::from_parts(22_884_047, 0).saturating_mul(t.into())) - // Standard Error: 546_769 - .saturating_add(Weight::from_parts(31_008_834, 0).saturating_mul(d.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(4_028, 0).saturating_mul(i.into())) + // Minimum execution time: 156_816_000 picoseconds. + Weight::from_parts(116_661_857, 4937) + // Standard Error: 490_797 + .saturating_add(Weight::from_parts(20_119_916, 0).saturating_mul(t.into())) + // Standard Error: 490_797 + .saturating_add(Weight::from_parts(29_511_167, 0).saturating_mul(d.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_005, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2452,14 +2460,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `870` // Estimated: `6810` - // Minimum execution time: 197_320_000 picoseconds. - Weight::from_parts(158_194_430, 6810) - // Standard Error: 276_863 - .saturating_add(Weight::from_parts(14_009_530, 0).saturating_mul(t.into())) - // Standard Error: 276_863 - .saturating_add(Weight::from_parts(22_814_269, 0).saturating_mul(d.into())) - // Standard Error: 46 - .saturating_add(Weight::from_parts(9_111, 0).saturating_mul(i.into())) + // Minimum execution time: 308_223_000 picoseconds. + Weight::from_parts(288_251_072, 6810) + // Standard Error: 243_247 + .saturating_add(Weight::from_parts(15_141_166, 0).saturating_mul(t.into())) + // Standard Error: 243_247 + .saturating_add(Weight::from_parts(23_993_762, 0).saturating_mul(d.into())) + // Standard Error: 40 + .saturating_add(Weight::from_parts(3_726, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2468,125 +2476,125 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_384_000 picoseconds. - Weight::from_parts(13_104_584, 0) + // Minimum execution time: 1_304_000 picoseconds. + Weight::from_parts(7_979_056, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_270, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(873_363, 0) + // Minimum execution time: 750_000 picoseconds. + Weight::from_parts(423_334, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_359_000 picoseconds. - Weight::from_parts(4_551_717, 0) + // Minimum execution time: 1_224_000 picoseconds. + Weight::from_parts(3_000_994, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_775, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_791, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_146_000 picoseconds. - Weight::from_parts(12_921_080, 0) + // Minimum execution time: 1_128_000 picoseconds. + Weight::from_parts(1_165_000, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_581, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_629, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_646_000 picoseconds. - Weight::from_parts(12_398_211, 0) + // Minimum execution time: 1_825_000 picoseconds. + Weight::from_parts(2_272_019, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_815_000 picoseconds. - Weight::from_parts(13_382_040, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) + // Minimum execution time: 1_805_000 picoseconds. + Weight::from_parts(3_630_472, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_776_000 picoseconds. - Weight::from_parts(77_621_004, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(4_879, 0).saturating_mul(n.into())) + // Minimum execution time: 46_956_000 picoseconds. + Weight::from_parts(104_477_814, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_857, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_739_000 picoseconds. - Weight::from_parts(47_642_000, 0) + // Minimum execution time: 46_197_000 picoseconds. + Weight::from_parts(47_277_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_795_552_000 picoseconds. - Weight::from_parts(1_805_053_000, 0) + // Minimum execution time: 1_782_472_000 picoseconds. + Weight::from_parts(1_795_526_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_373_000 picoseconds. - Weight::from_parts(16_583_000, 0) + // Minimum execution time: 15_478_000 picoseconds. + Weight::from_parts(16_630_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 991_453_000 picoseconds. - Weight::from_parts(999_199_000, 0) + // Minimum execution time: 1_079_022_000 picoseconds. + Weight::from_parts(1_086_120_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 914_000 picoseconds. - Weight::from_parts(4_982_056_071, 0) - // Standard Error: 10_684_341 - .saturating_add(Weight::from_parts(6_031_654_119, 0).saturating_mul(n.into())) + // Minimum execution time: 822_000 picoseconds. + Weight::from_parts(4_948_300_000, 0) + // Standard Error: 10_709_854 + .saturating_add(Weight::from_parts(5_969_620_429, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_027_000 picoseconds. - Weight::from_parts(1_240_474, 0) - // Standard Error: 59 - .saturating_add(Weight::from_parts(29_181, 0).saturating_mul(n.into())) + // Minimum execution time: 943_000 picoseconds. + Weight::from_parts(1_083_152, 0) + // Standard Error: 103 + .saturating_add(Weight::from_parts(29_477, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_580_000 picoseconds. - Weight::from_parts(13_753_000, 0) + // Minimum execution time: 13_002_000 picoseconds. + Weight::from_parts(13_136_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -2601,10 +2609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 15_150_000 picoseconds. - Weight::from_parts(16_128_448, 6364) - // Standard Error: 50_840 - .saturating_add(Weight::from_parts(46_924_351, 0).saturating_mul(r.into())) + // Minimum execution time: 14_800_000 picoseconds. + Weight::from_parts(15_748_891, 6364) + // Standard Error: 52_223 + .saturating_add(Weight::from_parts(48_195_308, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2616,30 +2624,30 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 643_000 picoseconds. - Weight::from_parts(1_208_591, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(14_899, 0).saturating_mul(r.into())) + // Minimum execution time: 607_000 picoseconds. + Weight::from_parts(1_408_742, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(15_344, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_955_000 picoseconds. - Weight::from_parts(61_894_569, 0) - // Standard Error: 356 - .saturating_add(Weight::from_parts(127_580, 0).saturating_mul(r.into())) + // Minimum execution time: 13_439_000 picoseconds. + Weight::from_parts(63_692_932, 0) + // Standard Error: 897 + .saturating_add(Weight::from_parts(140_010, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_132_000 picoseconds. - Weight::from_parts(3_328_813, 0) - // Standard Error: 41 - .saturating_add(Weight::from_parts(74_014, 0).saturating_mul(r.into())) + // Minimum execution time: 3_169_000 picoseconds. + Weight::from_parts(3_361_125, 0) + // Standard Error: 34 + .saturating_add(Weight::from_parts(74_455, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2648,10 +2656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_918_000 picoseconds. - Weight::from_parts(14_869_097, 3992) - // Standard Error: 6 - .saturating_add(Weight::from_parts(834, 0).saturating_mul(n.into())) + // Minimum execution time: 14_557_000 picoseconds. + Weight::from_parts(14_642_907, 3992) + // Standard Error: 5 + .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2663,8 +2671,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_652_000 picoseconds. - Weight::from_parts(13_182_000, 6322) + // Minimum execution time: 12_619_000 picoseconds. + Weight::from_parts(12_933_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2678,8 +2686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 65_939_000 picoseconds. - Weight::from_parts(66_437_000, 6866) + // Minimum execution time: 65_027_000 picoseconds. + Weight::from_parts(66_671_000, 6866) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2700,10 +2708,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3012 + n * (97 ±0)` // Estimated: `6303 + n * (104 ±0)` - // Minimum execution time: 28_483_000 picoseconds. - Weight::from_parts(57_121_139, 6303) - // Standard Error: 4_776 - .saturating_add(Weight::from_parts(524_501, 0).saturating_mul(n.into())) + // Minimum execution time: 27_984_000 picoseconds. + Weight::from_parts(57_446_817, 6303) + // Standard Error: 4_855 + .saturating_add(Weight::from_parts(534_754, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) @@ -2725,10 +2733,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3577 + d * (3 ±0)` // Estimated: `7036 + d * (3 ±0)` - // Minimum execution time: 59_423_000 picoseconds. - Weight::from_parts(62_184_363, 7036) - // Standard Error: 232 - .saturating_add(Weight::from_parts(12_931, 0).saturating_mul(d.into())) + // Minimum execution time: 60_259_000 picoseconds. + Weight::from_parts(62_620_510, 7036) + // Standard Error: 151 + .saturating_add(Weight::from_parts(12_329, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) @@ -2748,12 +2756,14 @@ impl WeightInfo for () { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `e` is `[0, 100]`. - fn on_finalize_per_event(_e: u32, ) -> Weight { + fn on_finalize_per_event(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_960_000 picoseconds. - Weight::from_parts(47_063_657, 5011) + // Minimum execution time: 44_875_000 picoseconds. + Weight::from_parts(46_760_819, 5011) + // Standard Error: 831 + .saturating_add(Weight::from_parts(4_925, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -2772,12 +2782,14 @@ impl WeightInfo for () { /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(_d: u32, ) -> Weight { + fn on_finalize_per_event_data(d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_817_000 picoseconds. - Weight::from_parts(47_273_059, 5011) + // Minimum execution time: 45_159_000 picoseconds. + Weight::from_parts(46_878_528, 5011) + // Standard Error: 7 + .saturating_add(Weight::from_parts(61, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } From a0878858ff53b9d4deb9ece9f561f00ce3a73fb5 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 15:54:52 +0100 Subject: [PATCH 08/10] test bench higher values --- substrate/frame/revive/src/benchmarking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index 3847eb4125156..86210d70154bc 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -2097,7 +2097,7 @@ mod benchmarks { fn evm_instantiate( t: Linear<0, 1>, d: Linear<0, 1>, - i: Linear<1024, { 10 * 1024 }>, + i: Linear<{ 10 * 1024 }, { 48 * 1024 }>, ) -> Result<(), BenchmarkError> { use crate::vm::evm::instructions::BENCH_INIT_CODE; let mut setup = CallSetup::::new(VmBinaryModule::dummy()); From e2ab1b36dd468a0b06643826daa309e0b6b4c1d0 Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:40:59 +0000 Subject: [PATCH 09/10] Update from github-actions[bot] running command 'bench --runtime dev --pallet pallet_revive' --- substrate/frame/revive/src/weights.rs | 1242 ++++++++++++------------- 1 file changed, 619 insertions(+), 623 deletions(-) diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index a6926a437be11..f1147bc84db63 100644 --- a/substrate/frame/revive/src/weights.rs +++ b/substrate/frame/revive/src/weights.rs @@ -37,7 +37,7 @@ //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-11-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ef7b9c6c4577`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `38296b9fed24`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -183,8 +183,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_323_000 picoseconds. - Weight::from_parts(3_487_000, 1698) + // Minimum execution time: 3_212_000 picoseconds. + Weight::from_parts(3_435_000, 1698) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -194,10 +194,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_222_000 picoseconds. - Weight::from_parts(14_900_000, 481) - // Standard Error: 1_019 - .saturating_add(Weight::from_parts(1_191_828, 0).saturating_mul(k.into())) + // Minimum execution time: 14_823_000 picoseconds. + Weight::from_parts(14_976_000, 481) + // Standard Error: 1_014 + .saturating_add(Weight::from_parts(1_198_198, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -221,10 +221,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 96_789_000 picoseconds. - Weight::from_parts(136_407_227, 7200) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_578, 0).saturating_mul(c.into())) + // Minimum execution time: 95_906_000 picoseconds. + Weight::from_parts(137_008_318, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_477, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -246,10 +246,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 90_994_000 picoseconds. - Weight::from_parts(95_773_344, 7144) - // Standard Error: 21 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(c.into())) + // Minimum execution time: 89_753_000 picoseconds. + Weight::from_parts(93_826_418, 7144) + // Standard Error: 17 + .saturating_add(Weight::from_parts(113, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -266,14 +266,12 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(b: u32, ) -> Weight { + fn basic_block_compilation(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 141_869_000 picoseconds. - Weight::from_parts(147_013_442, 10549) - // Standard Error: 514_177 - .saturating_add(Weight::from_parts(266_257, 0).saturating_mul(b.into())) + // Minimum execution time: 140_658_000 picoseconds. + Weight::from_parts(145_253_853, 10549) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -297,12 +295,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6924` - // Minimum execution time: 778_332_000 picoseconds. - Weight::from_parts(25_744_343, 6924) - // Standard Error: 44 - .saturating_add(Weight::from_parts(20_758, 0).saturating_mul(c.into())) - // Standard Error: 34 - .saturating_add(Weight::from_parts(5_553, 0).saturating_mul(i.into())) + // Minimum execution time: 761_511_000 picoseconds. + Weight::from_parts(84_218_529, 6924) + // Standard Error: 36 + .saturating_add(Weight::from_parts(20_410, 0).saturating_mul(c.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(4_874, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -327,16 +325,18 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 102400]`. /// The range of component `i` is `[0, 131072]`. /// The range of component `d` is `[0, 1]`. - fn eth_instantiate_with_code(c: u32, i: u32, _d: u32, ) -> Weight { + fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6934` - // Minimum execution time: 386_918_000 picoseconds. - Weight::from_parts(288_214_129, 6934) - // Standard Error: 41 - .saturating_add(Weight::from_parts(16_686, 0).saturating_mul(c.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(555, 0).saturating_mul(i.into())) + // Minimum execution time: 370_631_000 picoseconds. + Weight::from_parts(241_842_187, 6934) + // Standard Error: 56 + .saturating_add(Weight::from_parts(16_174, 0).saturating_mul(c.into())) + // Standard Error: 43 + .saturating_add(Weight::from_parts(679, 0).saturating_mul(i.into())) + // Standard Error: 3_661_614 + .saturating_add(Weight::from_parts(12_103_675, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -344,8 +344,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_024_000 picoseconds. - Weight::from_parts(3_249_000, 0) + // Minimum execution time: 3_071_000 picoseconds. + Weight::from_parts(3_232_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -366,10 +366,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `7659` - // Minimum execution time: 188_311_000 picoseconds. - Weight::from_parts(194_864_763, 7659) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_253, 0).saturating_mul(i.into())) + // Minimum execution time: 186_506_000 picoseconds. + Weight::from_parts(190_843_676, 7659) + // Standard Error: 11 + .saturating_add(Weight::from_parts(4_180, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -389,8 +389,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 100_069_000 picoseconds. - Weight::from_parts(103_936_000, 7898) + // Minimum execution time: 99_804_000 picoseconds. + Weight::from_parts(101_727_000, 7898) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -415,10 +415,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 162_497_000 picoseconds. - Weight::from_parts(172_451_110, 7898) - // Standard Error: 823_367 - .saturating_add(Weight::from_parts(5_080_089, 0).saturating_mul(d.into())) + // Minimum execution time: 162_250_000 picoseconds. + Weight::from_parts(168_112_555, 7898) + // Standard Error: 549_643 + .saturating_add(Weight::from_parts(4_435_744, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -435,10 +435,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 30_601_000 picoseconds. - Weight::from_parts(25_908_669, 3823) - // Standard Error: 12 - .saturating_add(Weight::from_parts(6_347, 0).saturating_mul(c.into())) + // Minimum execution time: 29_050_000 picoseconds. + Weight::from_parts(23_929_217, 3823) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_243, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -455,10 +455,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `392` // Estimated: `3857` - // Minimum execution time: 62_390_000 picoseconds. - Weight::from_parts(61_082_662, 3857) - // Standard Error: 24 - .saturating_add(Weight::from_parts(14_684, 0).saturating_mul(c.into())) + // Minimum execution time: 60_288_000 picoseconds. + Weight::from_parts(52_801_907, 3857) + // Standard Error: 19 + .saturating_add(Weight::from_parts(14_346, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -472,8 +472,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 53_666_000 picoseconds. - Weight::from_parts(55_661_000, 3989) + // Minimum execution time: 53_434_000 picoseconds. + Weight::from_parts(55_152_000, 3989) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -491,8 +491,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 68_183_000 picoseconds. - Weight::from_parts(71_818_000, 6807) + // Minimum execution time: 66_946_000 picoseconds. + Weight::from_parts(69_226_000, 6807) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -506,8 +506,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 61_873_000 picoseconds. - Weight::from_parts(63_586_000, 4088) + // Minimum execution time: 60_387_000 picoseconds. + Weight::from_parts(62_012_000, 4088) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -519,8 +519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_879_000 picoseconds. - Weight::from_parts(42_146_000, 3558) + // Minimum execution time: 40_203_000 picoseconds. + Weight::from_parts(40_786_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -534,8 +534,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3846` - // Minimum execution time: 19_231_000 picoseconds. - Weight::from_parts(19_598_000, 3846) + // Minimum execution time: 19_128_000 picoseconds. + Weight::from_parts(19_977_000, 3846) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -543,24 +543,24 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_267_000 picoseconds. - Weight::from_parts(9_050_262, 0) - // Standard Error: 201 - .saturating_add(Weight::from_parts(174_940, 0).saturating_mul(r.into())) + // Minimum execution time: 7_560_000 picoseconds. + Weight::from_parts(9_060_136, 0) + // Standard Error: 289 + .saturating_add(Weight::from_parts(177_740, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 344_000 picoseconds. - Weight::from_parts(395_000, 0) + // Minimum execution time: 335_000 picoseconds. + Weight::from_parts(382_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 310_000 picoseconds. + Weight::from_parts(343_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -568,8 +568,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_333_000 picoseconds. - Weight::from_parts(11_892_000, 4088) + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(12_236_000, 4088) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -578,16 +578,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 9_769_000 picoseconds. - Weight::from_parts(10_340_000, 3938) + // Minimum execution time: 9_959_000 picoseconds. + Weight::from_parts(10_217_000, 3938) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_724_000 picoseconds. - Weight::from_parts(10_070_000, 0) + // Minimum execution time: 9_727_000 picoseconds. + Weight::from_parts(10_186_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -597,51 +597,51 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_450_000 picoseconds. - Weight::from_parts(14_051_000, 4010) + // Minimum execution time: 13_769_000 picoseconds. + Weight::from_parts(14_300_000, 4010) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_115_000 picoseconds. - Weight::from_parts(1_244_000, 0) + // Minimum execution time: 1_199_000 picoseconds. + Weight::from_parts(1_310_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_125_000 picoseconds. - Weight::from_parts(1_217_000, 0) + // Minimum execution time: 1_110_000 picoseconds. + Weight::from_parts(1_253_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(355_000, 0) + // Minimum execution time: 301_000 picoseconds. + Weight::from_parts(345_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_061_000 picoseconds. - Weight::from_parts(1_139_000, 0) + // Minimum execution time: 1_115_000 picoseconds. + Weight::from_parts(1_232_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 5_775_000 picoseconds. - Weight::from_parts(6_056_000, 0) + // Minimum execution time: 5_868_000 picoseconds. + Weight::from_parts(6_235_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_739_000 picoseconds. - Weight::from_parts(13_403_000, 0) + // Minimum execution time: 12_767_000 picoseconds. + Weight::from_parts(13_413_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -653,8 +653,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_631_000 picoseconds. - Weight::from_parts(21_344_000, 4349) + // Minimum execution time: 20_635_000 picoseconds. + Weight::from_parts(21_382_000, 4349) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -664,10 +664,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 5_977_000 picoseconds. - Weight::from_parts(8_574_689, 3769) + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_663_240, 3769) // Standard Error: 13 - .saturating_add(Weight::from_parts(599, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(530, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -678,67 +678,67 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_032_000 picoseconds. - Weight::from_parts(2_312_755, 0) + // Minimum execution time: 1_996_000 picoseconds. + Weight::from_parts(2_269_324, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(537, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(488, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 266_000 picoseconds. - Weight::from_parts(303_000, 0) + // Minimum execution time: 281_000 picoseconds. + Weight::from_parts(326_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_258_000 picoseconds. - Weight::from_parts(1_388_000, 0) + // Minimum execution time: 1_294_000 picoseconds. + Weight::from_parts(1_440_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(298_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(329_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(312_000, 0) + // Minimum execution time: 287_000 picoseconds. + Weight::from_parts(314_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_793_000 picoseconds. - Weight::from_parts(1_916_000, 0) + // Minimum execution time: 1_754_000 picoseconds. + Weight::from_parts(1_890_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_027_000 picoseconds. - Weight::from_parts(1_081_000, 0) + // Minimum execution time: 956_000 picoseconds. + Weight::from_parts(1_071_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_031_000 picoseconds. - Weight::from_parts(1_167_000, 0) + // Minimum execution time: 1_110_000 picoseconds. + Weight::from_parts(1_235_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(304_000, 0) + // Minimum execution time: 286_000 picoseconds. + Weight::from_parts(335_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -746,8 +746,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_535_000 picoseconds. - Weight::from_parts(22_017_000, 1626) + // Minimum execution time: 22_075_000 picoseconds. + Weight::from_parts(22_522_000, 1626) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) @@ -756,63 +756,63 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `318` // Estimated: `3783` - // Minimum execution time: 7_658_000 picoseconds. - Weight::from_parts(8_149_000, 3783) + // Minimum execution time: 7_711_000 picoseconds. + Weight::from_parts(8_210_000, 3783) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 278_000 picoseconds. - Weight::from_parts(314_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(334_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 426_000 picoseconds. - Weight::from_parts(316_321, 0) + // Minimum execution time: 440_000 picoseconds. + Weight::from_parts(356_536, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(201, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 265_000 picoseconds. - Weight::from_parts(308_000, 0) + // Minimum execution time: 277_000 picoseconds. + Weight::from_parts(310_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 276_000 picoseconds. - Weight::from_parts(310_752, 0) + // Minimum execution time: 273_000 picoseconds. + Weight::from_parts(166_951, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(433_363, 0) + // Minimum execution time: 295_000 picoseconds. + Weight::from_parts(558_480, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(199, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(997_989, 0) - // Standard Error: 7_159 - .saturating_add(Weight::from_parts(4_310, 0).saturating_mul(r.into())) + // Minimum execution time: 831_000 picoseconds. + Weight::from_parts(976_751, 0) + // Standard Error: 8_914 + .saturating_add(Weight::from_parts(158_748, 0).saturating_mul(r.into())) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -832,8 +832,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 118_810_000 picoseconds. - Weight::from_parts(121_464_000, 6918) + // Minimum execution time: 116_713_000 picoseconds. + Weight::from_parts(119_806_000, 6918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -843,10 +843,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_026_000 picoseconds. - Weight::from_parts(5_250_000, 0) + // Minimum execution time: 4_940_000 picoseconds. + Weight::from_parts(5_263_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -854,8 +854,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 9_250_000 picoseconds. - Weight::from_parts(9_742_000, 648) + // Minimum execution time: 9_019_000 picoseconds. + Weight::from_parts(9_631_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -864,8 +864,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_262_000 picoseconds. - Weight::from_parts(42_073_000, 10658) + // Minimum execution time: 41_438_000 picoseconds. + Weight::from_parts(42_549_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -874,7 +874,7 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_517_000 picoseconds. + // Minimum execution time: 10_402_000 picoseconds. Weight::from_parts(11_014_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -885,8 +885,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_927_000 picoseconds. - Weight::from_parts(44_176_000, 10658) + // Minimum execution time: 43_813_000 picoseconds. + Weight::from_parts(45_432_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -898,12 +898,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_223_000 picoseconds. - Weight::from_parts(11_118_308, 247) - // Standard Error: 121 - .saturating_add(Weight::from_parts(933, 0).saturating_mul(n.into())) - // Standard Error: 121 - .saturating_add(Weight::from_parts(2_200, 0).saturating_mul(o.into())) + // Minimum execution time: 9_316_000 picoseconds. + Weight::from_parts(11_278_881, 247) + // Standard Error: 127 + .saturating_add(Weight::from_parts(721, 0).saturating_mul(n.into())) + // Standard Error: 127 + .saturating_add(Weight::from_parts(2_288, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -911,12 +911,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn clear_storage(_n: u32, ) -> Weight { + fn clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_506_000 picoseconds. - Weight::from_parts(13_595_978, 376) + // Minimum execution time: 13_112_000 picoseconds. + Weight::from_parts(14_049_292, 376) + // Standard Error: 80 + .saturating_add(Weight::from_parts(382, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -927,24 +929,22 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_560_000 picoseconds. - Weight::from_parts(10_948_007, 247) - // Standard Error: 226 - .saturating_add(Weight::from_parts(3_260, 0).saturating_mul(n.into())) + // Minimum execution time: 8_429_000 picoseconds. + Weight::from_parts(11_026_976, 247) + // Standard Error: 227 + .saturating_add(Weight::from_parts(3_390, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn contains_storage(n: u32, ) -> Weight { + fn contains_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_005_000 picoseconds. - Weight::from_parts(3_355_030, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + // Minimum execution time: 3_260_000 picoseconds. + Weight::from_parts(3_618_857, 0) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -953,8 +953,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_453_000 picoseconds. - Weight::from_parts(14_569_728, 376) + // Minimum execution time: 13_287_000 picoseconds. + Weight::from_parts(14_651_006, 376) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -962,36 +962,36 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_553_000 picoseconds. - Weight::from_parts(1_743_000, 0) + // Minimum execution time: 1_585_000 picoseconds. + Weight::from_parts(1_672_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_952_000 picoseconds. - Weight::from_parts(2_075_000, 0) + // Minimum execution time: 1_924_000 picoseconds. + Weight::from_parts(2_064_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_566_000 picoseconds. - Weight::from_parts(1_655_000, 0) + // Minimum execution time: 1_568_000 picoseconds. + Weight::from_parts(1_656_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_737_000 picoseconds. - Weight::from_parts(1_869_000, 0) + // Minimum execution time: 1_762_000 picoseconds. + Weight::from_parts(1_905_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_218_000 picoseconds. - Weight::from_parts(1_318_000, 0) + // Minimum execution time: 1_186_000 picoseconds. + Weight::from_parts(1_263_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -999,50 +999,48 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_468_000 picoseconds. - Weight::from_parts(2_705_538, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(324, 0).saturating_mul(n.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(413, 0).saturating_mul(o.into())) + // Minimum execution time: 2_295_000 picoseconds. + Weight::from_parts(2_718_034, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(51, 0).saturating_mul(n.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(220, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(n: u32, ) -> Weight { + fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_673_000 picoseconds. - Weight::from_parts(4_035_337, 0) - // Standard Error: 48 - .saturating_add(Weight::from_parts(232, 0).saturating_mul(n.into())) + // Minimum execution time: 3_895_000 picoseconds. + Weight::from_parts(4_302_579, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_054_000 picoseconds. - Weight::from_parts(2_288_280, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(338, 0).saturating_mul(n.into())) + // Minimum execution time: 1_994_000 picoseconds. + Weight::from_parts(2_298_129, 0) + // Standard Error: 36 + .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_185_000 picoseconds. - Weight::from_parts(3_495_223, 0) + // Minimum execution time: 3_251_000 picoseconds. + Weight::from_parts(3_627_761, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_086_000 picoseconds. - Weight::from_parts(4_431_899, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(100, 0).saturating_mul(n.into())) + // Minimum execution time: 4_042_000 picoseconds. + Weight::from_parts(4_418_798, 0) + // Standard Error: 29 + .saturating_add(Weight::from_parts(60, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1061,14 +1059,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1969` // Estimated: `5434` - // Minimum execution time: 94_930_000 picoseconds. - Weight::from_parts(76_369_382, 5434) - // Standard Error: 149_249 - .saturating_add(Weight::from_parts(19_158_516, 0).saturating_mul(t.into())) - // Standard Error: 149_249 - .saturating_add(Weight::from_parts(24_375_444, 0).saturating_mul(d.into())) + // Minimum execution time: 93_866_000 picoseconds. + Weight::from_parts(77_283_811, 5434) + // Standard Error: 171_206 + .saturating_add(Weight::from_parts(18_282_578, 0).saturating_mul(t.into())) + // Standard Error: 171_206 + .saturating_add(Weight::from_parts(23_290_286, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -1083,12 +1081,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `436 + d * (250 ±0)` // Estimated: `2075 + d * (2076 ±0)` - // Minimum execution time: 26_656_000 picoseconds. - Weight::from_parts(15_643_986, 2075) - // Standard Error: 60_531 - .saturating_add(Weight::from_parts(12_677_389, 0).saturating_mul(d.into())) + // Minimum execution time: 26_692_000 picoseconds. + Weight::from_parts(15_618_453, 2075) + // Standard Error: 37_997 + .saturating_add(Weight::from_parts(12_721_428, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(393, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(321, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) @@ -1103,8 +1101,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(34_542_000, 4899) + // Minimum execution time: 34_108_000 picoseconds. + Weight::from_parts(35_130_000, 4899) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1122,14 +1120,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1464` // Estimated: `4937` - // Minimum execution time: 156_816_000 picoseconds. - Weight::from_parts(116_661_857, 4937) - // Standard Error: 490_797 - .saturating_add(Weight::from_parts(20_119_916, 0).saturating_mul(t.into())) - // Standard Error: 490_797 - .saturating_add(Weight::from_parts(29_511_167, 0).saturating_mul(d.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(4_005, 0).saturating_mul(i.into())) + // Minimum execution time: 154_945_000 picoseconds. + Weight::from_parts(108_508_437, 4937) + // Standard Error: 551_551 + .saturating_add(Weight::from_parts(20_945_320, 0).saturating_mul(t.into())) + // Standard Error: 551_551 + .saturating_add(Weight::from_parts(30_650_720, 0).saturating_mul(d.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(3_953, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1145,19 +1143,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `d` is `[0, 1]`. - /// The range of component `i` is `[1024, 10240]`. + /// The range of component `i` is `[10240, 49152]`. fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `870` // Estimated: `6810` - // Minimum execution time: 308_223_000 picoseconds. - Weight::from_parts(288_251_072, 6810) - // Standard Error: 243_247 - .saturating_add(Weight::from_parts(15_141_166, 0).saturating_mul(t.into())) - // Standard Error: 243_247 - .saturating_add(Weight::from_parts(23_993_762, 0).saturating_mul(d.into())) - // Standard Error: 40 - .saturating_add(Weight::from_parts(3_726, 0).saturating_mul(i.into())) + // Minimum execution time: 347_011_000 picoseconds. + Weight::from_parts(270_222_660, 6810) + // Standard Error: 629_049 + .saturating_add(Weight::from_parts(17_216_349, 0).saturating_mul(t.into())) + // Standard Error: 629_049 + .saturating_add(Weight::from_parts(26_158_441, 0).saturating_mul(d.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(3_843, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1166,125 +1164,125 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_304_000 picoseconds. - Weight::from_parts(7_979_056, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(n.into())) + // Minimum execution time: 1_343_000 picoseconds. + Weight::from_parts(10_611_030, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 750_000 picoseconds. - Weight::from_parts(423_334, 0) + // Minimum execution time: 830_000 picoseconds. + Weight::from_parts(819_424, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_224_000 picoseconds. - Weight::from_parts(3_000_994, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_791, 0).saturating_mul(n.into())) + // Minimum execution time: 1_484_000 picoseconds. + Weight::from_parts(1_587_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(3_763, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_128_000 picoseconds. - Weight::from_parts(1_165_000, 0) + // Minimum execution time: 1_156_000 picoseconds. + Weight::from_parts(14_579_377, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_629, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_531, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_825_000 picoseconds. - Weight::from_parts(2_272_019, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(n.into())) + // Minimum execution time: 1_917_000 picoseconds. + Weight::from_parts(12_777_727, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_805_000 picoseconds. - Weight::from_parts(3_630_472, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(n.into())) + // Minimum execution time: 1_855_000 picoseconds. + Weight::from_parts(15_746_302, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_397, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_956_000 picoseconds. - Weight::from_parts(104_477_814, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(4_857, 0).saturating_mul(n.into())) + // Minimum execution time: 45_079_000 picoseconds. + Weight::from_parts(83_414_280, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(4_826, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_197_000 picoseconds. - Weight::from_parts(47_277_000, 0) + // Minimum execution time: 46_987_000 picoseconds. + Weight::from_parts(48_111_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_782_472_000 picoseconds. - Weight::from_parts(1_795_526_000, 0) + // Minimum execution time: 1_787_561_000 picoseconds. + Weight::from_parts(1_798_471_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_478_000 picoseconds. - Weight::from_parts(16_630_000, 0) + // Minimum execution time: 15_130_000 picoseconds. + Weight::from_parts(16_755_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_079_022_000 picoseconds. - Weight::from_parts(1_086_120_000, 0) + // Minimum execution time: 988_607_000 picoseconds. + Weight::from_parts(991_668_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 822_000 picoseconds. - Weight::from_parts(4_948_300_000, 0) - // Standard Error: 10_709_854 - .saturating_add(Weight::from_parts(5_969_620_429, 0).saturating_mul(n.into())) + // Minimum execution time: 915_000 picoseconds. + Weight::from_parts(4_888_094_516, 0) + // Standard Error: 10_384_426 + .saturating_add(Weight::from_parts(5_943_011_353, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 943_000 picoseconds. - Weight::from_parts(1_083_152, 0) - // Standard Error: 103 - .saturating_add(Weight::from_parts(29_477, 0).saturating_mul(n.into())) + // Minimum execution time: 1_043_000 picoseconds. + Weight::from_parts(1_345_971, 0) + // Standard Error: 33 + .saturating_add(Weight::from_parts(28_987, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 13_002_000 picoseconds. - Weight::from_parts(13_136_000, 0) + Weight::from_parts(13_201_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -1299,10 +1297,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 14_800_000 picoseconds. - Weight::from_parts(15_748_891, 6364) - // Standard Error: 52_223 - .saturating_add(Weight::from_parts(48_195_308, 0).saturating_mul(r.into())) + // Minimum execution time: 14_885_000 picoseconds. + Weight::from_parts(16_051_320, 6364) + // Standard Error: 57_553 + .saturating_add(Weight::from_parts(46_501_379, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1314,30 +1312,30 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 607_000 picoseconds. - Weight::from_parts(1_408_742, 0) - // Standard Error: 42 - .saturating_add(Weight::from_parts(15_344, 0).saturating_mul(r.into())) + // Minimum execution time: 558_000 picoseconds. + Weight::from_parts(624_652, 0) + // Standard Error: 66 + .saturating_add(Weight::from_parts(14_757, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_439_000 picoseconds. - Weight::from_parts(63_692_932, 0) - // Standard Error: 897 - .saturating_add(Weight::from_parts(140_010, 0).saturating_mul(r.into())) + // Minimum execution time: 13_194_000 picoseconds. + Weight::from_parts(53_119_928, 0) + // Standard Error: 232 + .saturating_add(Weight::from_parts(129_578, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_169_000 picoseconds. - Weight::from_parts(3_361_125, 0) - // Standard Error: 34 - .saturating_add(Weight::from_parts(74_455, 0).saturating_mul(r.into())) + // Minimum execution time: 3_177_000 picoseconds. + Weight::from_parts(1_872_649, 0) + // Standard Error: 57 + .saturating_add(Weight::from_parts(74_048, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1346,10 +1344,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_557_000 picoseconds. - Weight::from_parts(14_642_907, 3992) + // Minimum execution time: 14_619_000 picoseconds. + Weight::from_parts(14_803_675, 3992) // Standard Error: 5 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(747, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1361,8 +1359,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_619_000 picoseconds. - Weight::from_parts(12_933_000, 6322) + // Minimum execution time: 12_485_000 picoseconds. + Weight::from_parts(12_931_000, 6322) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1376,8 +1374,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 65_027_000 picoseconds. - Weight::from_parts(66_671_000, 6866) + // Minimum execution time: 64_237_000 picoseconds. + Weight::from_parts(66_071_000, 6866) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -1398,10 +1396,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3012 + n * (97 ±0)` // Estimated: `6303 + n * (104 ±0)` - // Minimum execution time: 27_984_000 picoseconds. - Weight::from_parts(57_446_817, 6303) - // Standard Error: 4_855 - .saturating_add(Weight::from_parts(534_754, 0).saturating_mul(n.into())) + // Minimum execution time: 28_116_000 picoseconds. + Weight::from_parts(55_446_109, 6303) + // Standard Error: 4_382 + .saturating_add(Weight::from_parts(514_927, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) @@ -1423,10 +1421,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3577 + d * (3 ±0)` // Estimated: `7036 + d * (3 ±0)` - // Minimum execution time: 60_259_000 picoseconds. - Weight::from_parts(62_620_510, 7036) - // Standard Error: 151 - .saturating_add(Weight::from_parts(12_329, 0).saturating_mul(d.into())) + // Minimum execution time: 59_544_000 picoseconds. + Weight::from_parts(61_174_055, 7036) + // Standard Error: 129 + .saturating_add(Weight::from_parts(12_909, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) @@ -1450,10 +1448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_875_000 picoseconds. - Weight::from_parts(46_760_819, 5011) - // Standard Error: 831 - .saturating_add(Weight::from_parts(4_925, 0).saturating_mul(e.into())) + // Minimum execution time: 45_140_000 picoseconds. + Weight::from_parts(46_928_768, 5011) + // Standard Error: 1_998 + .saturating_add(Weight::from_parts(3_639, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -1476,10 +1474,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 45_159_000 picoseconds. - Weight::from_parts(46_878_528, 5011) - // Standard Error: 7 - .saturating_add(Weight::from_parts(61, 0).saturating_mul(d.into())) + // Minimum execution time: 44_893_000 picoseconds. + Weight::from_parts(46_639_493, 5011) + // Standard Error: 6 + .saturating_add(Weight::from_parts(31, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -1493,8 +1491,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `213` // Estimated: `1698` - // Minimum execution time: 3_323_000 picoseconds. - Weight::from_parts(3_487_000, 1698) + // Minimum execution time: 3_212_000 picoseconds. + Weight::from_parts(3_435_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1504,10 +1502,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `491 + k * (69 ±0)` // Estimated: `481 + k * (70 ±0)` - // Minimum execution time: 14_222_000 picoseconds. - Weight::from_parts(14_900_000, 481) - // Standard Error: 1_019 - .saturating_add(Weight::from_parts(1_191_828, 0).saturating_mul(k.into())) + // Minimum execution time: 14_823_000 picoseconds. + Weight::from_parts(14_976_000, 481) + // Standard Error: 1_014 + .saturating_add(Weight::from_parts(1_198_198, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1531,10 +1529,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1265 + c * (1 ±0)` // Estimated: `7200 + c * (1 ±0)` - // Minimum execution time: 96_789_000 picoseconds. - Weight::from_parts(136_407_227, 7200) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_578, 0).saturating_mul(c.into())) + // Minimum execution time: 95_906_000 picoseconds. + Weight::from_parts(137_008_318, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_477, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1556,10 +1554,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1205` // Estimated: `7144` - // Minimum execution time: 90_994_000 picoseconds. - Weight::from_parts(95_773_344, 7144) - // Standard Error: 21 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(c.into())) + // Minimum execution time: 89_753_000 picoseconds. + Weight::from_parts(93_826_418, 7144) + // Standard Error: 17 + .saturating_add(Weight::from_parts(113, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1576,14 +1574,12 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(b: u32, ) -> Weight { + fn basic_block_compilation(_b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `4609` // Estimated: `10549` - // Minimum execution time: 141_869_000 picoseconds. - Weight::from_parts(147_013_442, 10549) - // Standard Error: 514_177 - .saturating_add(Weight::from_parts(266_257, 0).saturating_mul(b.into())) + // Minimum execution time: 140_658_000 picoseconds. + Weight::from_parts(145_253_853, 10549) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1607,12 +1603,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6924` - // Minimum execution time: 778_332_000 picoseconds. - Weight::from_parts(25_744_343, 6924) - // Standard Error: 44 - .saturating_add(Weight::from_parts(20_758, 0).saturating_mul(c.into())) - // Standard Error: 34 - .saturating_add(Weight::from_parts(5_553, 0).saturating_mul(i.into())) + // Minimum execution time: 761_511_000 picoseconds. + Weight::from_parts(84_218_529, 6924) + // Standard Error: 36 + .saturating_add(Weight::from_parts(20_410, 0).saturating_mul(c.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(4_874, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1637,16 +1633,18 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 102400]`. /// The range of component `i` is `[0, 131072]`. /// The range of component `d` is `[0, 1]`. - fn eth_instantiate_with_code(c: u32, i: u32, _d: u32, ) -> Weight { + fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `994` // Estimated: `6934` - // Minimum execution time: 386_918_000 picoseconds. - Weight::from_parts(288_214_129, 6934) - // Standard Error: 41 - .saturating_add(Weight::from_parts(16_686, 0).saturating_mul(c.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(555, 0).saturating_mul(i.into())) + // Minimum execution time: 370_631_000 picoseconds. + Weight::from_parts(241_842_187, 6934) + // Standard Error: 56 + .saturating_add(Weight::from_parts(16_174, 0).saturating_mul(c.into())) + // Standard Error: 43 + .saturating_add(Weight::from_parts(679, 0).saturating_mul(i.into())) + // Standard Error: 3_661_614 + .saturating_add(Weight::from_parts(12_103_675, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1654,8 +1652,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_024_000 picoseconds. - Weight::from_parts(3_249_000, 0) + // Minimum execution time: 3_071_000 picoseconds. + Weight::from_parts(3_232_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1676,10 +1674,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1735` // Estimated: `7659` - // Minimum execution time: 188_311_000 picoseconds. - Weight::from_parts(194_864_763, 7659) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_253, 0).saturating_mul(i.into())) + // Minimum execution time: 186_506_000 picoseconds. + Weight::from_parts(190_843_676, 7659) + // Standard Error: 11 + .saturating_add(Weight::from_parts(4_180, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1699,8 +1697,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 100_069_000 picoseconds. - Weight::from_parts(103_936_000, 7898) + // Minimum execution time: 99_804_000 picoseconds. + Weight::from_parts(101_727_000, 7898) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1725,10 +1723,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1958` // Estimated: `7898` - // Minimum execution time: 162_497_000 picoseconds. - Weight::from_parts(172_451_110, 7898) - // Standard Error: 823_367 - .saturating_add(Weight::from_parts(5_080_089, 0).saturating_mul(d.into())) + // Minimum execution time: 162_250_000 picoseconds. + Weight::from_parts(168_112_555, 7898) + // Standard Error: 549_643 + .saturating_add(Weight::from_parts(4_435_744, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1745,10 +1743,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `358` // Estimated: `3823` - // Minimum execution time: 30_601_000 picoseconds. - Weight::from_parts(25_908_669, 3823) - // Standard Error: 12 - .saturating_add(Weight::from_parts(6_347, 0).saturating_mul(c.into())) + // Minimum execution time: 29_050_000 picoseconds. + Weight::from_parts(23_929_217, 3823) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_243, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1765,10 +1763,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `392` // Estimated: `3857` - // Minimum execution time: 62_390_000 picoseconds. - Weight::from_parts(61_082_662, 3857) - // Standard Error: 24 - .saturating_add(Weight::from_parts(14_684, 0).saturating_mul(c.into())) + // Minimum execution time: 60_288_000 picoseconds. + Weight::from_parts(52_801_907, 3857) + // Standard Error: 19 + .saturating_add(Weight::from_parts(14_346, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1782,8 +1780,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `524` // Estimated: `3989` - // Minimum execution time: 53_666_000 picoseconds. - Weight::from_parts(55_661_000, 3989) + // Minimum execution time: 53_434_000 picoseconds. + Weight::from_parts(55_152_000, 3989) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1801,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867` // Estimated: `6807` - // Minimum execution time: 68_183_000 picoseconds. - Weight::from_parts(71_818_000, 6807) + // Minimum execution time: 66_946_000 picoseconds. + Weight::from_parts(69_226_000, 6807) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1816,8 +1814,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 61_873_000 picoseconds. - Weight::from_parts(63_586_000, 4088) + // Minimum execution time: 60_387_000 picoseconds. + Weight::from_parts(62_012_000, 4088) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1829,8 +1827,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 40_879_000 picoseconds. - Weight::from_parts(42_146_000, 3558) + // Minimum execution time: 40_203_000 picoseconds. + Weight::from_parts(40_786_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1844,8 +1842,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3846` - // Minimum execution time: 19_231_000 picoseconds. - Weight::from_parts(19_598_000, 3846) + // Minimum execution time: 19_128_000 picoseconds. + Weight::from_parts(19_977_000, 3846) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1853,24 +1851,24 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_267_000 picoseconds. - Weight::from_parts(9_050_262, 0) - // Standard Error: 201 - .saturating_add(Weight::from_parts(174_940, 0).saturating_mul(r.into())) + // Minimum execution time: 7_560_000 picoseconds. + Weight::from_parts(9_060_136, 0) + // Standard Error: 289 + .saturating_add(Weight::from_parts(177_740, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 344_000 picoseconds. - Weight::from_parts(395_000, 0) + // Minimum execution time: 335_000 picoseconds. + Weight::from_parts(382_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 310_000 picoseconds. + Weight::from_parts(343_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1878,8 +1876,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623` // Estimated: `4088` - // Minimum execution time: 11_333_000 picoseconds. - Weight::from_parts(11_892_000, 4088) + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(12_236_000, 4088) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -1888,16 +1886,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `473` // Estimated: `3938` - // Minimum execution time: 9_769_000 picoseconds. - Weight::from_parts(10_340_000, 3938) + // Minimum execution time: 9_959_000 picoseconds. + Weight::from_parts(10_217_000, 3938) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `436` // Estimated: `0` - // Minimum execution time: 9_724_000 picoseconds. - Weight::from_parts(10_070_000, 0) + // Minimum execution time: 9_727_000 picoseconds. + Weight::from_parts(10_186_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1907,51 +1905,51 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `545` // Estimated: `4010` - // Minimum execution time: 13_450_000 picoseconds. - Weight::from_parts(14_051_000, 4010) + // Minimum execution time: 13_769_000 picoseconds. + Weight::from_parts(14_300_000, 4010) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_115_000 picoseconds. - Weight::from_parts(1_244_000, 0) + // Minimum execution time: 1_199_000 picoseconds. + Weight::from_parts(1_310_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_125_000 picoseconds. - Weight::from_parts(1_217_000, 0) + // Minimum execution time: 1_110_000 picoseconds. + Weight::from_parts(1_253_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(355_000, 0) + // Minimum execution time: 301_000 picoseconds. + Weight::from_parts(345_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_061_000 picoseconds. - Weight::from_parts(1_139_000, 0) + // Minimum execution time: 1_115_000 picoseconds. + Weight::from_parts(1_232_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 5_775_000 picoseconds. - Weight::from_parts(6_056_000, 0) + // Minimum execution time: 5_868_000 picoseconds. + Weight::from_parts(6_235_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `538` // Estimated: `0` - // Minimum execution time: 12_739_000 picoseconds. - Weight::from_parts(13_403_000, 0) + // Minimum execution time: 12_767_000 picoseconds. + Weight::from_parts(13_413_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1963,8 +1961,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `884` // Estimated: `4349` - // Minimum execution time: 20_631_000 picoseconds. - Weight::from_parts(21_344_000, 4349) + // Minimum execution time: 20_635_000 picoseconds. + Weight::from_parts(21_382_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1974,10 +1972,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `304 + n * (1 ±0)` // Estimated: `3769 + n * (1 ±0)` - // Minimum execution time: 5_977_000 picoseconds. - Weight::from_parts(8_574_689, 3769) + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_663_240, 3769) // Standard Error: 13 - .saturating_add(Weight::from_parts(599, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(530, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1988,67 +1986,67 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_032_000 picoseconds. - Weight::from_parts(2_312_755, 0) + // Minimum execution time: 1_996_000 picoseconds. + Weight::from_parts(2_269_324, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(537, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(488, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 266_000 picoseconds. - Weight::from_parts(303_000, 0) + // Minimum execution time: 281_000 picoseconds. + Weight::from_parts(326_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_258_000 picoseconds. - Weight::from_parts(1_388_000, 0) + // Minimum execution time: 1_294_000 picoseconds. + Weight::from_parts(1_440_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(298_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(329_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(312_000, 0) + // Minimum execution time: 287_000 picoseconds. + Weight::from_parts(314_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_793_000 picoseconds. - Weight::from_parts(1_916_000, 0) + // Minimum execution time: 1_754_000 picoseconds. + Weight::from_parts(1_890_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_027_000 picoseconds. - Weight::from_parts(1_081_000, 0) + // Minimum execution time: 956_000 picoseconds. + Weight::from_parts(1_071_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_031_000 picoseconds. - Weight::from_parts(1_167_000, 0) + // Minimum execution time: 1_110_000 picoseconds. + Weight::from_parts(1_235_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 270_000 picoseconds. - Weight::from_parts(304_000, 0) + // Minimum execution time: 286_000 picoseconds. + Weight::from_parts(335_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -2056,8 +2054,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_535_000 picoseconds. - Weight::from_parts(22_017_000, 1626) + // Minimum execution time: 22_075_000 picoseconds. + Weight::from_parts(22_522_000, 1626) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) @@ -2066,63 +2064,63 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `318` // Estimated: `3783` - // Minimum execution time: 7_658_000 picoseconds. - Weight::from_parts(8_149_000, 3783) + // Minimum execution time: 7_711_000 picoseconds. + Weight::from_parts(8_210_000, 3783) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 278_000 picoseconds. - Weight::from_parts(314_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(334_000, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 426_000 picoseconds. - Weight::from_parts(316_321, 0) + // Minimum execution time: 440_000 picoseconds. + Weight::from_parts(356_536, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(201, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 265_000 picoseconds. - Weight::from_parts(308_000, 0) + // Minimum execution time: 277_000 picoseconds. + Weight::from_parts(310_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 276_000 picoseconds. - Weight::from_parts(310_752, 0) + // Minimum execution time: 273_000 picoseconds. + Weight::from_parts(166_951, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(433_363, 0) + // Minimum execution time: 295_000 picoseconds. + Weight::from_parts(558_480, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(199, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(997_989, 0) - // Standard Error: 7_159 - .saturating_add(Weight::from_parts(4_310, 0).saturating_mul(r.into())) + // Minimum execution time: 831_000 picoseconds. + Weight::from_parts(976_751, 0) + // Standard Error: 8_914 + .saturating_add(Weight::from_parts(158_748, 0).saturating_mul(r.into())) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2142,8 +2140,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 118_810_000 picoseconds. - Weight::from_parts(121_464_000, 6918) + // Minimum execution time: 116_713_000 picoseconds. + Weight::from_parts(119_806_000, 6918) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -2153,10 +2151,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_026_000 picoseconds. - Weight::from_parts(5_250_000, 0) + // Minimum execution time: 4_940_000 picoseconds. + Weight::from_parts(5_263_000, 0) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_301, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2164,8 +2162,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 9_250_000 picoseconds. - Weight::from_parts(9_742_000, 648) + // Minimum execution time: 9_019_000 picoseconds. + Weight::from_parts(9_631_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2174,8 +2172,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_262_000 picoseconds. - Weight::from_parts(42_073_000, 10658) + // Minimum execution time: 41_438_000 picoseconds. + Weight::from_parts(42_549_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2184,7 +2182,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 10_517_000 picoseconds. + // Minimum execution time: 10_402_000 picoseconds. Weight::from_parts(11_014_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2195,8 +2193,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 42_927_000 picoseconds. - Weight::from_parts(44_176_000, 10658) + // Minimum execution time: 43_813_000 picoseconds. + Weight::from_parts(45_432_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2208,12 +2206,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 9_223_000 picoseconds. - Weight::from_parts(11_118_308, 247) - // Standard Error: 121 - .saturating_add(Weight::from_parts(933, 0).saturating_mul(n.into())) - // Standard Error: 121 - .saturating_add(Weight::from_parts(2_200, 0).saturating_mul(o.into())) + // Minimum execution time: 9_316_000 picoseconds. + Weight::from_parts(11_278_881, 247) + // Standard Error: 127 + .saturating_add(Weight::from_parts(721, 0).saturating_mul(n.into())) + // Standard Error: 127 + .saturating_add(Weight::from_parts(2_288, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -2221,12 +2219,14 @@ impl WeightInfo for () { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn clear_storage(_n: u32, ) -> Weight { + fn clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 12_506_000 picoseconds. - Weight::from_parts(13_595_978, 376) + // Minimum execution time: 13_112_000 picoseconds. + Weight::from_parts(14_049_292, 376) + // Standard Error: 80 + .saturating_add(Weight::from_parts(382, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2237,24 +2237,22 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_560_000 picoseconds. - Weight::from_parts(10_948_007, 247) - // Standard Error: 226 - .saturating_add(Weight::from_parts(3_260, 0).saturating_mul(n.into())) + // Minimum execution time: 8_429_000 picoseconds. + Weight::from_parts(11_026_976, 247) + // Standard Error: 227 + .saturating_add(Weight::from_parts(3_390, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn contains_storage(n: u32, ) -> Weight { + fn contains_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_005_000 picoseconds. - Weight::from_parts(3_355_030, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + // Minimum execution time: 3_260_000 picoseconds. + Weight::from_parts(3_618_857, 0) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2263,8 +2261,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `376` // Estimated: `376` - // Minimum execution time: 13_453_000 picoseconds. - Weight::from_parts(14_569_728, 376) + // Minimum execution time: 13_287_000 picoseconds. + Weight::from_parts(14_651_006, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2272,36 +2270,36 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_553_000 picoseconds. - Weight::from_parts(1_743_000, 0) + // Minimum execution time: 1_585_000 picoseconds. + Weight::from_parts(1_672_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_952_000 picoseconds. - Weight::from_parts(2_075_000, 0) + // Minimum execution time: 1_924_000 picoseconds. + Weight::from_parts(2_064_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_566_000 picoseconds. - Weight::from_parts(1_655_000, 0) + // Minimum execution time: 1_568_000 picoseconds. + Weight::from_parts(1_656_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_737_000 picoseconds. - Weight::from_parts(1_869_000, 0) + // Minimum execution time: 1_762_000 picoseconds. + Weight::from_parts(1_905_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_218_000 picoseconds. - Weight::from_parts(1_318_000, 0) + // Minimum execution time: 1_186_000 picoseconds. + Weight::from_parts(1_263_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -2309,50 +2307,48 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_468_000 picoseconds. - Weight::from_parts(2_705_538, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(324, 0).saturating_mul(n.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(413, 0).saturating_mul(o.into())) + // Minimum execution time: 2_295_000 picoseconds. + Weight::from_parts(2_718_034, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(51, 0).saturating_mul(n.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(220, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(n: u32, ) -> Weight { + fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_673_000 picoseconds. - Weight::from_parts(4_035_337, 0) - // Standard Error: 48 - .saturating_add(Weight::from_parts(232, 0).saturating_mul(n.into())) + // Minimum execution time: 3_895_000 picoseconds. + Weight::from_parts(4_302_579, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_054_000 picoseconds. - Weight::from_parts(2_288_280, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(338, 0).saturating_mul(n.into())) + // Minimum execution time: 1_994_000 picoseconds. + Weight::from_parts(2_298_129, 0) + // Standard Error: 36 + .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_185_000 picoseconds. - Weight::from_parts(3_495_223, 0) + // Minimum execution time: 3_251_000 picoseconds. + Weight::from_parts(3_627_761, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_086_000 picoseconds. - Weight::from_parts(4_431_899, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(100, 0).saturating_mul(n.into())) + // Minimum execution time: 4_042_000 picoseconds. + Weight::from_parts(4_418_798, 0) + // Standard Error: 29 + .saturating_add(Weight::from_parts(60, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -2371,14 +2367,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1969` // Estimated: `5434` - // Minimum execution time: 94_930_000 picoseconds. - Weight::from_parts(76_369_382, 5434) - // Standard Error: 149_249 - .saturating_add(Weight::from_parts(19_158_516, 0).saturating_mul(t.into())) - // Standard Error: 149_249 - .saturating_add(Weight::from_parts(24_375_444, 0).saturating_mul(d.into())) + // Minimum execution time: 93_866_000 picoseconds. + Weight::from_parts(77_283_811, 5434) + // Standard Error: 171_206 + .saturating_add(Weight::from_parts(18_282_578, 0).saturating_mul(t.into())) + // Standard Error: 171_206 + .saturating_add(Weight::from_parts(23_290_286, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(3, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -2393,12 +2389,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `436 + d * (250 ±0)` // Estimated: `2075 + d * (2076 ±0)` - // Minimum execution time: 26_656_000 picoseconds. - Weight::from_parts(15_643_986, 2075) - // Standard Error: 60_531 - .saturating_add(Weight::from_parts(12_677_389, 0).saturating_mul(d.into())) + // Minimum execution time: 26_692_000 picoseconds. + Weight::from_parts(15_618_453, 2075) + // Standard Error: 37_997 + .saturating_add(Weight::from_parts(12_721_428, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(393, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(321, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) .saturating_add(Weight::from_parts(0, 2076).saturating_mul(d.into())) @@ -2413,8 +2409,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1434` // Estimated: `4899` - // Minimum execution time: 32_716_000 picoseconds. - Weight::from_parts(34_542_000, 4899) + // Minimum execution time: 34_108_000 picoseconds. + Weight::from_parts(35_130_000, 4899) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -2432,14 +2428,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1464` // Estimated: `4937` - // Minimum execution time: 156_816_000 picoseconds. - Weight::from_parts(116_661_857, 4937) - // Standard Error: 490_797 - .saturating_add(Weight::from_parts(20_119_916, 0).saturating_mul(t.into())) - // Standard Error: 490_797 - .saturating_add(Weight::from_parts(29_511_167, 0).saturating_mul(d.into())) - // Standard Error: 5 - .saturating_add(Weight::from_parts(4_005, 0).saturating_mul(i.into())) + // Minimum execution time: 154_945_000 picoseconds. + Weight::from_parts(108_508_437, 4937) + // Standard Error: 551_551 + .saturating_add(Weight::from_parts(20_945_320, 0).saturating_mul(t.into())) + // Standard Error: 551_551 + .saturating_add(Weight::from_parts(30_650_720, 0).saturating_mul(d.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(3_953, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2455,19 +2451,19 @@ impl WeightInfo for () { /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `d` is `[0, 1]`. - /// The range of component `i` is `[1024, 10240]`. + /// The range of component `i` is `[10240, 49152]`. fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `870` // Estimated: `6810` - // Minimum execution time: 308_223_000 picoseconds. - Weight::from_parts(288_251_072, 6810) - // Standard Error: 243_247 - .saturating_add(Weight::from_parts(15_141_166, 0).saturating_mul(t.into())) - // Standard Error: 243_247 - .saturating_add(Weight::from_parts(23_993_762, 0).saturating_mul(d.into())) - // Standard Error: 40 - .saturating_add(Weight::from_parts(3_726, 0).saturating_mul(i.into())) + // Minimum execution time: 347_011_000 picoseconds. + Weight::from_parts(270_222_660, 6810) + // Standard Error: 629_049 + .saturating_add(Weight::from_parts(17_216_349, 0).saturating_mul(t.into())) + // Standard Error: 629_049 + .saturating_add(Weight::from_parts(26_158_441, 0).saturating_mul(d.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(3_843, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2476,125 +2472,125 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_304_000 picoseconds. - Weight::from_parts(7_979_056, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(n.into())) + // Minimum execution time: 1_343_000 picoseconds. + Weight::from_parts(10_611_030, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 750_000 picoseconds. - Weight::from_parts(423_334, 0) + // Minimum execution time: 830_000 picoseconds. + Weight::from_parts(819_424, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(150, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_224_000 picoseconds. - Weight::from_parts(3_000_994, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_791, 0).saturating_mul(n.into())) + // Minimum execution time: 1_484_000 picoseconds. + Weight::from_parts(1_587_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(3_763, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_128_000 picoseconds. - Weight::from_parts(1_165_000, 0) + // Minimum execution time: 1_156_000 picoseconds. + Weight::from_parts(14_579_377, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_629, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_531, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_825_000 picoseconds. - Weight::from_parts(2_272_019, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_484, 0).saturating_mul(n.into())) + // Minimum execution time: 1_917_000 picoseconds. + Weight::from_parts(12_777_727, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_805_000 picoseconds. - Weight::from_parts(3_630_472, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(n.into())) + // Minimum execution time: 1_855_000 picoseconds. + Weight::from_parts(15_746_302, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_397, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_956_000 picoseconds. - Weight::from_parts(104_477_814, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(4_857, 0).saturating_mul(n.into())) + // Minimum execution time: 45_079_000 picoseconds. + Weight::from_parts(83_414_280, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(4_826, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_197_000 picoseconds. - Weight::from_parts(47_277_000, 0) + // Minimum execution time: 46_987_000 picoseconds. + Weight::from_parts(48_111_000, 0) } fn p256_verify() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_782_472_000 picoseconds. - Weight::from_parts(1_795_526_000, 0) + // Minimum execution time: 1_787_561_000 picoseconds. + Weight::from_parts(1_798_471_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_478_000 picoseconds. - Weight::from_parts(16_630_000, 0) + // Minimum execution time: 15_130_000 picoseconds. + Weight::from_parts(16_755_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_079_022_000 picoseconds. - Weight::from_parts(1_086_120_000, 0) + // Minimum execution time: 988_607_000 picoseconds. + Weight::from_parts(991_668_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 822_000 picoseconds. - Weight::from_parts(4_948_300_000, 0) - // Standard Error: 10_709_854 - .saturating_add(Weight::from_parts(5_969_620_429, 0).saturating_mul(n.into())) + // Minimum execution time: 915_000 picoseconds. + Weight::from_parts(4_888_094_516, 0) + // Standard Error: 10_384_426 + .saturating_add(Weight::from_parts(5_943_011_353, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 943_000 picoseconds. - Weight::from_parts(1_083_152, 0) - // Standard Error: 103 - .saturating_add(Weight::from_parts(29_477, 0).saturating_mul(n.into())) + // Minimum execution time: 1_043_000 picoseconds. + Weight::from_parts(1_345_971, 0) + // Standard Error: 33 + .saturating_add(Weight::from_parts(28_987, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 13_002_000 picoseconds. - Weight::from_parts(13_136_000, 0) + Weight::from_parts(13_201_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) @@ -2609,10 +2605,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `424 + r * (434 ±0)` // Estimated: `6364 + r * (2162 ±0)` - // Minimum execution time: 14_800_000 picoseconds. - Weight::from_parts(15_748_891, 6364) - // Standard Error: 52_223 - .saturating_add(Weight::from_parts(48_195_308, 0).saturating_mul(r.into())) + // Minimum execution time: 14_885_000 picoseconds. + Weight::from_parts(16_051_320, 6364) + // Standard Error: 57_553 + .saturating_add(Weight::from_parts(46_501_379, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2624,30 +2620,30 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 607_000 picoseconds. - Weight::from_parts(1_408_742, 0) - // Standard Error: 42 - .saturating_add(Weight::from_parts(15_344, 0).saturating_mul(r.into())) + // Minimum execution time: 558_000 picoseconds. + Weight::from_parts(624_652, 0) + // Standard Error: 66 + .saturating_add(Weight::from_parts(14_757, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_439_000 picoseconds. - Weight::from_parts(63_692_932, 0) - // Standard Error: 897 - .saturating_add(Weight::from_parts(140_010, 0).saturating_mul(r.into())) + // Minimum execution time: 13_194_000 picoseconds. + Weight::from_parts(53_119_928, 0) + // Standard Error: 232 + .saturating_add(Weight::from_parts(129_578, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_169_000 picoseconds. - Weight::from_parts(3_361_125, 0) - // Standard Error: 34 - .saturating_add(Weight::from_parts(74_455, 0).saturating_mul(r.into())) + // Minimum execution time: 3_177_000 picoseconds. + Weight::from_parts(1_872_649, 0) + // Standard Error: 57 + .saturating_add(Weight::from_parts(74_048, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2656,10 +2652,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `527 + n * (1 ±0)` // Estimated: `3992 + n * (1 ±0)` - // Minimum execution time: 14_557_000 picoseconds. - Weight::from_parts(14_642_907, 3992) + // Minimum execution time: 14_619_000 picoseconds. + Weight::from_parts(14_803_675, 3992) // Standard Error: 5 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(747, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2671,8 +2667,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `6322` - // Minimum execution time: 12_619_000 picoseconds. - Weight::from_parts(12_933_000, 6322) + // Minimum execution time: 12_485_000 picoseconds. + Weight::from_parts(12_931_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2686,8 +2682,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `505` // Estimated: `6866` - // Minimum execution time: 65_027_000 picoseconds. - Weight::from_parts(66_671_000, 6866) + // Minimum execution time: 64_237_000 picoseconds. + Weight::from_parts(66_071_000, 6866) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2708,10 +2704,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3012 + n * (97 ±0)` // Estimated: `6303 + n * (104 ±0)` - // Minimum execution time: 27_984_000 picoseconds. - Weight::from_parts(57_446_817, 6303) - // Standard Error: 4_855 - .saturating_add(Weight::from_parts(534_754, 0).saturating_mul(n.into())) + // Minimum execution time: 28_116_000 picoseconds. + Weight::from_parts(55_446_109, 6303) + // Standard Error: 4_382 + .saturating_add(Weight::from_parts(514_927, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 104).saturating_mul(n.into())) @@ -2733,10 +2729,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3577 + d * (3 ±0)` // Estimated: `7036 + d * (3 ±0)` - // Minimum execution time: 60_259_000 picoseconds. - Weight::from_parts(62_620_510, 7036) - // Standard Error: 151 - .saturating_add(Weight::from_parts(12_329, 0).saturating_mul(d.into())) + // Minimum execution time: 59_544_000 picoseconds. + Weight::from_parts(61_174_055, 7036) + // Standard Error: 129 + .saturating_add(Weight::from_parts(12_909, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) @@ -2760,10 +2756,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 44_875_000 picoseconds. - Weight::from_parts(46_760_819, 5011) - // Standard Error: 831 - .saturating_add(Weight::from_parts(4_925, 0).saturating_mul(e.into())) + // Minimum execution time: 45_140_000 picoseconds. + Weight::from_parts(46_928_768, 5011) + // Standard Error: 1_998 + .saturating_add(Weight::from_parts(3_639, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -2786,10 +2782,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1546` // Estimated: `5011` - // Minimum execution time: 45_159_000 picoseconds. - Weight::from_parts(46_878_528, 5011) - // Standard Error: 7 - .saturating_add(Weight::from_parts(61, 0).saturating_mul(d.into())) + // Minimum execution time: 44_893_000 picoseconds. + Weight::from_parts(46_639_493, 5011) + // Standard Error: 6 + .saturating_add(Weight::from_parts(31, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } From 5b65d1283bcb6dbd79d2759f280840dccc44a9c5 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 20 Nov 2025 17:33:29 +0100 Subject: [PATCH 10/10] Fix weight args order --- substrate/frame/revive/src/vm/runtime_costs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/revive/src/vm/runtime_costs.rs b/substrate/frame/revive/src/vm/runtime_costs.rs index 938e2a288a711..feedf1c6b9e05 100644 --- a/substrate/frame/revive/src/vm/runtime_costs.rs +++ b/substrate/frame/revive/src/vm/runtime_costs.rs @@ -310,15 +310,15 @@ impl Token for RuntimeCosts { CallInputCloned(len) => cost_args!(seal_call, 0, 0, len), Instantiate { input_data_len, balance_transfer, dust_transfer } => T::WeightInfo::seal_instantiate( - input_data_len, balance_transfer.into(), dust_transfer.into(), + input_data_len, ), Create { init_code_len, balance_transfer, dust_transfer } => T::WeightInfo::evm_instantiate( - init_code_len, balance_transfer.into(), dust_transfer.into(), + init_code_len, ), HashSha256(len) => T::WeightInfo::sha2_256(len), Ripemd160(len) => T::WeightInfo::ripemd_160(len),