diff --git a/prdoc/pr_10366.prdoc b/prdoc/pr_10366.prdoc new file mode 100644 index 0000000000000..37390fb129008 --- /dev/null +++ b/prdoc/pr_10366.prdoc @@ -0,0 +1,15 @@ +title: '[pallet-revive] update evm create benchmark' +doc: +- audience: Runtime Dev + 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 diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index 610805e745e99..86210d70154bc 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,52 @@ 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<{ 10 * 1024 }, { 48 * 1024 }>, + ) -> Result<(), BenchmarkError> { + use crate::vm::evm::instructions::BENCH_INIT_CODE; + let mut setup = CallSetup::::new(VmBinaryModule::dummy()); + 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::zero()); + 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 +2624,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..3e1fb1ee20c88 100644 --- a/substrate/frame/revive/src/vm/evm/instructions/control.rs +++ b/substrate/frame/revive/src/vm/evm/instructions/control.rs @@ -130,3 +130,12 @@ pub fn invalid(interpreter: &mut Interpreter) -> ControlFlow { interpreter.ext.gas_meter_mut().consume_all(); ControlFlow::Break(Error::::InvalidInstruction.into()) } + +/// 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 = + alloc::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..feedf1c6b9e05 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. @@ -308,9 +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( + balance_transfer.into(), + dust_transfer.into(), input_data_len, + ), + Create { init_code_len, balance_transfer, dust_transfer } => + T::WeightInfo::evm_instantiate( balance_transfer.into(), dust_transfer.into(), + init_code_len, ), HashSha256(len) => T::WeightInfo::sha2_256(len), Ripemd160(len) => T::WeightInfo::ripemd_160(len), diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index 33b297a933141..f1147bc84db63 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: `38296b9fed24`, 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_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) @@ -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_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)) @@ -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: 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())) @@ -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) + // Minimum execution time: 89_753_000 picoseconds. + Weight::from_parts(93_826_418, 7144) // Standard Error: 17 - .saturating_add(Weight::from_parts(93, 0).saturating_mul(c.into())) + .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)) } @@ -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_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)) } @@ -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: 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)) } @@ -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) + // Measured: `994` + // Estimated: `6934` + // 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(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())) + .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)) } @@ -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_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`) @@ -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: 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)) } @@ -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: 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)) } @@ -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: 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)) } @@ -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) - // 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)) + // 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)) } /// 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_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)) } @@ -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: 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)) } @@ -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: 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)) } @@ -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_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)) } @@ -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_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)) } @@ -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_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]`. @@ -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_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: 338_000 picoseconds. - Weight::from_parts(381_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: 313_000 picoseconds. - Weight::from_parts(355_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`) @@ -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_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) @@ -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: 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_799_000 picoseconds. - Weight::from_parts(10_227_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`) @@ -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_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_280_000 picoseconds. - Weight::from_parts(1_351_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_206_000 picoseconds. - Weight::from_parts(1_348_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: 350_000 picoseconds. - Weight::from_parts(388_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_162_000 picoseconds. - Weight::from_parts(1_309_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_939_000 picoseconds. - Weight::from_parts(6_260_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_772_000 picoseconds. - Weight::from_parts(13_537_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`) @@ -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_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) @@ -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) - // Standard Error: 12 - .saturating_add(Weight::from_parts(527, 0).saturating_mul(n.into())) + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_663_240, 3769) + // Standard Error: 13 + .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())) } @@ -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) + // Minimum execution time: 1_996_000 picoseconds. + Weight::from_parts(2_269_324, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(476, 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: 353_000 picoseconds. - Weight::from_parts(384_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_423_000 picoseconds. - Weight::from_parts(1_562_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: 284_000 picoseconds. - Weight::from_parts(318_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: 298_000 picoseconds. - Weight::from_parts(331_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_804_000 picoseconds. - Weight::from_parts(1_933_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_077_000 picoseconds. - Weight::from_parts(1_207_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_169_000 picoseconds. - Weight::from_parts(1_300_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: 350_000 picoseconds. - Weight::from_parts(369_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`) @@ -747,71 +746,73 @@ 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_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) - /// 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_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: 313_000 picoseconds. - Weight::from_parts(358_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: 444_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 440_000 picoseconds. + Weight::from_parts(356_536, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 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: 292_000 picoseconds. - Weight::from_parts(315_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: 305_000 picoseconds. - Weight::from_parts(321_000, 0) + // Minimum execution time: 273_000 picoseconds. + Weight::from_parts(166_951, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(114, 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: 357_000 picoseconds. - Weight::from_parts(570_612, 0) + // Minimum execution time: 295_000 picoseconds. + Weight::from_parts(558_480, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(200, 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 { + 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: 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`) @@ -831,8 +832,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: 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)) } @@ -842,8 +843,8 @@ 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: 4_940_000 picoseconds. + Weight::from_parts(5_263_000, 0) // Standard Error: 4 .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } @@ -853,8 +854,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_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) @@ -863,8 +864,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_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) @@ -873,8 +874,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_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)) } @@ -884,8 +885,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: 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)) } @@ -897,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_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_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())) @@ -910,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_764_000 picoseconds. - Weight::from_parts(13_706_131, 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)) } @@ -926,10 +929,10 @@ 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_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())) } @@ -940,20 +943,18 @@ impl WeightInfo for SubstrateWeight { // 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_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`) /// 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_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_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)) } @@ -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_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: 2_095_000 picoseconds. - Weight::from_parts(2_202_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_607_000 picoseconds. - Weight::from_parts(1_718_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_786_000 picoseconds. - Weight::from_parts(1_919_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_311_000 picoseconds. - Weight::from_parts(1_400_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]`. @@ -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) + // Minimum execution time: 2_295_000 picoseconds. + Weight::from_parts(2_718_034, 0) // Standard Error: 19 - .saturating_add(Weight::from_parts(295, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(51, 0).saturating_mul(n.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(341, 0).saturating_mul(o.into())) + .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 { // 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_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_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: 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_333_000 picoseconds. - Weight::from_parts(3_722_452, 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_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_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`) @@ -1056,16 +1057,16 @@ 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: 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()))) @@ -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: 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(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, 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: 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) @@ -1117,36 +1118,64 @@ 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: 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)) } + /// 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 `[10240, 49152]`. + fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `870` + // Estimated: `6810` + // 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)) + } /// 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) + // Minimum execution time: 1_343_000 picoseconds. + Weight::from_parts(10_611_030, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_229, 0).saturating_mul(n.into())) + .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: 889_000 picoseconds. - Weight::from_parts(795_872, 0) + // Minimum execution time: 830_000 picoseconds. + Weight::from_parts(819_424, 0) // Standard Error: 0 .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } @@ -1155,105 +1184,105 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_346_000 picoseconds. - Weight::from_parts(3_961_196, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_733, 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_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_156_000 picoseconds. + Weight::from_parts(14_579_377, 0) + // Standard Error: 1 + .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_889_000 picoseconds. - Weight::from_parts(9_714_356, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_411, 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_874_000 picoseconds. - Weight::from_parts(11_602_470, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_406, 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: 41_897_000 picoseconds. - Weight::from_parts(90_757_881, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(5_065, 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_388_000 picoseconds. - Weight::from_parts(47_440_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_784_643_000 picoseconds. - Weight::from_parts(1_792_504_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: 14_732_000 picoseconds. - Weight::from_parts(15_556_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: 973_392_000 picoseconds. - Weight::from_parts(980_656_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: 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: 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: 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_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_062_000 picoseconds. - Weight::from_parts(13_184_000, 0) + // Minimum execution time: 13_002_000 picoseconds. + 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`) @@ -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: 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)) @@ -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: 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: 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: 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_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_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`) @@ -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_619_000 picoseconds. + Weight::from_parts(14_803_675, 3992) + // Standard Error: 5 + .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())) } @@ -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_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)) } @@ -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: 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)) } - /// 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_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())) } - /// 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_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())) } /// 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) @@ -1415,23 +1444,25 @@ 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 { - // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_094_000 picoseconds. - Weight::from_parts(49_885_140, 4978) + fn on_finalize_per_event(e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1546` + // Estimated: `5011` + // 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)) } /// 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) @@ -1441,12 +1472,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 16384]`. 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_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)) } @@ -1460,8 +1491,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_212_000 picoseconds. + Weight::from_parts(3_435_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1471,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_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_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)) @@ -1498,10 +1529,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: 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())) @@ -1523,10 +1554,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) + // Minimum execution time: 89_753_000 picoseconds. + Weight::from_parts(93_826_418, 7144) // Standard Error: 17 - .saturating_add(Weight::from_parts(93, 0).saturating_mul(c.into())) + .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)) } @@ -1543,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: 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_658_000 picoseconds. + Weight::from_parts(145_253_853, 10549) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1572,14 +1601,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: 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)) } @@ -1606,16 +1635,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) + // Measured: `994` + // Estimated: `6934` + // 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(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())) + .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)) } @@ -1623,8 +1652,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_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`) @@ -1643,12 +1672,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: 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)) } @@ -1666,10 +1695,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: 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)) } @@ -1692,12 +1721,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: 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)) } @@ -1714,10 +1743,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) - // Standard Error: 12 - .saturating_add(Weight::from_parts(6_369, 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)) } @@ -1732,12 +1761,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_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)) } @@ -1751,8 +1780,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: 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)) } @@ -1770,8 +1799,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: 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)) } @@ -1783,10 +1812,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_387_000 picoseconds. + Weight::from_parts(62_012_000, 4088) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1798,8 +1827,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_203_000 picoseconds. + Weight::from_parts(40_786_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1811,10 +1840,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_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]`. @@ -1822,24 +1851,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_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: 338_000 picoseconds. - Weight::from_parts(381_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: 313_000 picoseconds. - Weight::from_parts(355_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`) @@ -1847,8 +1876,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_432_000 picoseconds. + Weight::from_parts(12_236_000, 4088) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) @@ -1857,16 +1886,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: 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_799_000 picoseconds. - Weight::from_parts(10_227_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`) @@ -1876,51 +1905,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_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_280_000 picoseconds. - Weight::from_parts(1_351_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_206_000 picoseconds. - Weight::from_parts(1_348_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: 350_000 picoseconds. - Weight::from_parts(388_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_162_000 picoseconds. - Weight::from_parts(1_309_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_939_000 picoseconds. - Weight::from_parts(6_260_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_772_000 picoseconds. - Weight::from_parts(13_537_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`) @@ -1932,8 +1961,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_635_000 picoseconds. + Weight::from_parts(21_382_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1943,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_946_000 picoseconds. - Weight::from_parts(8_569_284, 3769) - // Standard Error: 12 - .saturating_add(Weight::from_parts(527, 0).saturating_mul(n.into())) + // Minimum execution time: 6_022_000 picoseconds. + Weight::from_parts(8_663_240, 3769) + // Standard Error: 13 + .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())) } @@ -1957,67 +1986,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) + // Minimum execution time: 1_996_000 picoseconds. + Weight::from_parts(2_269_324, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(476, 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: 353_000 picoseconds. - Weight::from_parts(384_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_423_000 picoseconds. - Weight::from_parts(1_562_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: 284_000 picoseconds. - Weight::from_parts(318_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: 298_000 picoseconds. - Weight::from_parts(331_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_804_000 picoseconds. - Weight::from_parts(1_933_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_077_000 picoseconds. - Weight::from_parts(1_207_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_169_000 picoseconds. - Weight::from_parts(1_300_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: 350_000 picoseconds. - Weight::from_parts(369_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`) @@ -2025,71 +2054,73 @@ 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_075_000 picoseconds. + Weight::from_parts(22_522_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_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: 313_000 picoseconds. - Weight::from_parts(358_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: 444_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 440_000 picoseconds. + Weight::from_parts(356_536, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 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: 292_000 picoseconds. - Weight::from_parts(315_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: 305_000 picoseconds. - Weight::from_parts(321_000, 0) + // Minimum execution time: 273_000 picoseconds. + Weight::from_parts(166_951, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(114, 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: 357_000 picoseconds. - Weight::from_parts(570_612, 0) + // Minimum execution time: 295_000 picoseconds. + Weight::from_parts(558_480, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(200, 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 { + 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: 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`) @@ -2109,8 +2140,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: 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)) } @@ -2120,8 +2151,8 @@ 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: 4_940_000 picoseconds. + Weight::from_parts(5_263_000, 0) // Standard Error: 4 .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } @@ -2131,8 +2162,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_019_000 picoseconds. + Weight::from_parts(9_631_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2141,8 +2172,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_438_000 picoseconds. + Weight::from_parts(42_549_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2151,8 +2182,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_402_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 +2193,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: 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)) } @@ -2175,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_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_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())) @@ -2188,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_764_000 picoseconds. - Weight::from_parts(13_706_131, 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)) } @@ -2204,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_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_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())) } @@ -2218,20 +2251,18 @@ impl WeightInfo for () { // 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_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`) /// 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_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_287_000 picoseconds. + Weight::from_parts(14_651_006, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2239,36 +2270,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_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: 2_095_000 picoseconds. - Weight::from_parts(2_202_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_607_000 picoseconds. - Weight::from_parts(1_718_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_786_000 picoseconds. - Weight::from_parts(1_919_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_311_000 picoseconds. - Weight::from_parts(1_400_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]`. @@ -2276,48 +2307,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) + // Minimum execution time: 2_295_000 picoseconds. + Weight::from_parts(2_718_034, 0) // Standard Error: 19 - .saturating_add(Weight::from_parts(295, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(51, 0).saturating_mul(n.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(341, 0).saturating_mul(o.into())) + .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 { // 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_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_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: 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_333_000 picoseconds. - Weight::from_parts(3_722_452, 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_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_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`) @@ -2334,16 +2365,16 @@ 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: 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()))) @@ -2356,17 +2387,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: 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(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, 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 +2409,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: 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) @@ -2395,36 +2426,64 @@ 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: 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)) } + /// 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 `[10240, 49152]`. + fn evm_instantiate(t: u32, d: u32, i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `870` + // Estimated: `6810` + // 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)) + } /// 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) + // Minimum execution time: 1_343_000 picoseconds. + Weight::from_parts(10_611_030, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_229, 0).saturating_mul(n.into())) + .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: 889_000 picoseconds. - Weight::from_parts(795_872, 0) + // Minimum execution time: 830_000 picoseconds. + Weight::from_parts(819_424, 0) // Standard Error: 0 .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } @@ -2433,105 +2492,105 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_346_000 picoseconds. - Weight::from_parts(3_961_196, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_733, 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_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_156_000 picoseconds. + Weight::from_parts(14_579_377, 0) + // Standard Error: 1 + .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_889_000 picoseconds. - Weight::from_parts(9_714_356, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_411, 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_874_000 picoseconds. - Weight::from_parts(11_602_470, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_406, 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: 41_897_000 picoseconds. - Weight::from_parts(90_757_881, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(5_065, 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_388_000 picoseconds. - Weight::from_parts(47_440_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_784_643_000 picoseconds. - Weight::from_parts(1_792_504_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: 14_732_000 picoseconds. - Weight::from_parts(15_556_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: 973_392_000 picoseconds. - Weight::from_parts(980_656_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: 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: 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: 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_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_062_000 picoseconds. - Weight::from_parts(13_184_000, 0) + // Minimum execution time: 13_002_000 picoseconds. + 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`) @@ -2546,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_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: 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)) @@ -2561,30 +2620,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: 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: 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: 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_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_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`) @@ -2593,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_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_619_000 picoseconds. + Weight::from_parts(14_803_675, 3992) + // Standard Error: 5 + .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())) } @@ -2608,8 +2667,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_485_000 picoseconds. + Weight::from_parts(12_931_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2623,17 +2682,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: 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)) } - /// 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 +2702,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_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())) } - /// 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 +2727,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_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())) } /// 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) @@ -2693,23 +2752,25 @@ 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 { - // Proof Size summary in bytes: - // Measured: `1513` - // Estimated: `4978` - // Minimum execution time: 47_094_000 picoseconds. - Weight::from_parts(49_885_140, 4978) + fn on_finalize_per_event(e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1546` + // Estimated: `5011` + // 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)) } /// 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) @@ -2719,12 +2780,12 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 16384]`. 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_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)) }