diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index e834508a0e284..55d315d5c7be1 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -205,13 +205,13 @@ benchmarks! { } // The base weight consumed on processing contracts deletion queue. - #[pov_mode = Ignored] + #[pov_mode = Measured] on_process_deletion_queue_batch {}: { Storage::::process_deletion_queue_batch(Weight::MAX) } #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] on_initialize_per_trie_key { let k in 0..1024; let instance = Contract::::with_storage(WasmModule::dummy(), k, T::Schedule::get().limits.payload_len)?; @@ -220,7 +220,7 @@ benchmarks! { Storage::::process_deletion_queue_batch(Weight::MAX) } - #[pov_mode = Ignored] + #[pov_mode = Measured] on_initialize_per_queue_item { let q in 0..1024.min(T::DeletionQueueDepth::get()); for i in 0 .. q { @@ -235,7 +235,7 @@ benchmarks! { // This benchmarks the additional weight that is charged when a contract is executed the // first time after a new schedule was deployed: For every new schedule a contract needs // to re-run the instrumentation once. - #[pov_mode = Ignored] + #[pov_mode = Measured] reinstrument { let c in 0 .. Perbill::from_percent(49).mul_ceil(T::MaxCodeLen::get()); let WasmModule { code, hash, .. } = WasmModule::::sized(c, Location::Call); @@ -252,7 +252,7 @@ benchmarks! { // is responsible. This is achieved by generating all code to the `deploy` function // which is in the wasm module but not executed on `call`. // The results are supposed to be used as `call_with_code_kb(c) - call_with_code_kb(0)`. - #[pov_mode = Ignored] + #[pov_mode = Measured] call_with_code_per_byte { let c in 0 .. T::MaxCodeLen::get(); let instance = Contract::::with_caller( @@ -278,7 +278,7 @@ benchmarks! { // // We cannot let `c` grow to the maximum code size because the code is not allowed // to be larger than the maximum size **after instrumentation**. - #[pov_mode = Ignored] + #[pov_mode = Measured] instantiate_with_code { let c in 0 .. Perbill::from_percent(49).mul_ceil(T::MaxCodeLen::get()); let i in 0 .. code::max_pages::() * 64 * 1024; @@ -310,7 +310,7 @@ benchmarks! { // Instantiate uses a dummy contract constructor to measure the overhead of the instantiate. // `i`: Size of the input in kilobytes. // `s`: Size of the salt in kilobytes. - #[pov_mode = Ignored] + #[pov_mode = Measured] instantiate { let i in 0 .. code::max_pages::() * 64 * 1024; let s in 0 .. code::max_pages::() * 64 * 1024; @@ -342,7 +342,7 @@ benchmarks! { // part of `seal_input`. The costs for invoking a contract of a specific size are not part // of this benchmark because we cannot know the size of the contract when issuing a call // transaction. See `invoke_per_code_kb` for this. - #[pov_mode = Ignored] + #[pov_mode = Measured] call { let data = vec![42u8; 1024]; let instance = Contract::::with_caller( @@ -375,7 +375,7 @@ benchmarks! { // // We cannot let `c` grow to the maximum code size because the code is not allowed // to be larger than the maximum size **after instrumentation**. - #[pov_mode = Ignored] + #[pov_mode = Measured] upload_code { let c in 0 .. Perbill::from_percent(49).mul_ceil(T::MaxCodeLen::get()); let caller = whitelisted_caller(); @@ -392,7 +392,7 @@ benchmarks! { // Removing code does not depend on the size of the contract because all the information // needed to verify the removal claim (refcount, owner) is stored in a separate storage // item (`OwnerInfoOf`). - #[pov_mode = Ignored] + #[pov_mode = Measured] remove_code { let caller = whitelisted_caller(); T::Currency::make_free_balance_be(&caller, caller_funding::()); @@ -409,7 +409,7 @@ benchmarks! { assert!(>::code_removed(&hash)); } - #[pov_mode = Ignored] + #[pov_mode = Measured] set_code { let instance = >::with_caller( whitelisted_caller(), WasmModule::dummy(), vec![], @@ -424,7 +424,7 @@ benchmarks! { assert_eq!(instance.info()?.code_hash, hash); } - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_caller { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -433,7 +433,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_is_contract { let r in 0 .. API_BENCHMARK_BATCHES; let accounts = (0 .. r * API_BENCHMARK_BATCH_SIZE) @@ -471,7 +471,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_code_hash { let r in 0 .. API_BENCHMARK_BATCHES; let accounts = (0 .. r * API_BENCHMARK_BATCH_SIZE) @@ -517,7 +517,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_own_code_hash { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -526,7 +526,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_caller_is_origin { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -547,7 +547,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_address { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -556,7 +556,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_gas_left { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -565,7 +565,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_balance { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -574,7 +574,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_value_transferred { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -583,7 +583,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_minimum_balance { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -592,7 +592,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_block_number { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -601,7 +601,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_now { let r in 0 .. API_BENCHMARK_BATCHES; let instance = Contract::::new(WasmModule::getter( @@ -610,7 +610,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_weight_to_fee { let r in 0 .. API_BENCHMARK_BATCHES; let pages = code::max_pages::(); @@ -638,7 +638,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_gas { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -659,7 +659,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_input { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -687,7 +687,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_input_per_kb { let n in 0 .. code::max_pages::() * 64; let pages = code::max_pages::(); @@ -721,7 +721,7 @@ benchmarks! { // We cannot call `seal_return` multiple times. Therefore our weight determination is not // as precise as with other APIs. Because this function can only be called once per // contract it cannot be used as an attack vector. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_return { let r in 0 .. 1; let code = WasmModule::::from(ModuleDefinition { @@ -744,7 +744,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_return_per_kb { let n in 0 .. code::max_pages::() * 64; let code = WasmModule::::from(ModuleDefinition { @@ -769,7 +769,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // The same argument as for `seal_return` is true here. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_terminate { let r in 0 .. 1; let beneficiary = account::("beneficiary", 0, 0); @@ -812,7 +812,7 @@ benchmarks! { // We benchmark only for the maximum subject length. We assume that this is some lowish // number (< 1 KB). Therefore we are not overcharging too much in case a smaller subject is // used. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_random { let r in 0 .. API_BENCHMARK_BATCHES; let pages = code::max_pages::(); @@ -847,7 +847,7 @@ benchmarks! { // Overhead of calling the function without any topic. // We benchmark for the worst case (largest event). - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_deposit_event { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -874,7 +874,7 @@ benchmarks! { // Benchmark the overhead that topics generate. // `t`: Number of topics // `n`: Size of event payload in kb - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_deposit_event_per_topic_and_kb { let t in 0 .. T::Schedule::get().limits.event_topics; let n in 0 .. T::Schedule::get().limits.payload_len / 1024; @@ -913,7 +913,7 @@ benchmarks! { // Benchmark debug_message call with zero input data. // Whereas this function is used in RPC mode only, it still should be secured // against an excessive use. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_debug_message { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -1003,7 +1003,7 @@ benchmarks! { // because re-writing at an existing key is always more expensive than writing // it at a virgin key. #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_set_storage { let r in 0 .. API_BENCHMARK_BATCHES/2; let max_key_len = T::MaxStorageKeyLen::get(); @@ -1052,7 +1052,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_set_storage_per_new_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1101,7 +1101,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_set_storage_per_old_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1154,7 +1154,7 @@ benchmarks! { // deleting a non existing key. We generate keys of a maximum length, and have to // reduce batch size in order to make resulting contract code size less than MaxCodeLen. #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_clear_storage { let r in 0 .. API_BENCHMARK_BATCHES/2; let max_key_len = T::MaxStorageKeyLen::get(); @@ -1202,7 +1202,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_clear_storage_per_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1250,7 +1250,7 @@ benchmarks! { // We make sure that all storage accesses are to unique keys. #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_get_storage { let r in 0 .. API_BENCHMARK_BATCHES/2; let max_key_len = T::MaxStorageKeyLen::get(); @@ -1305,7 +1305,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_get_storage_per_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1361,7 +1361,7 @@ benchmarks! { // We make sure that all storage accesses are to unique keys. #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_contains_storage { let r in 0 .. API_BENCHMARK_BATCHES/2; let max_key_len = T::MaxStorageKeyLen::get(); @@ -1410,7 +1410,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_contains_storage_per_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1458,7 +1458,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_take_storage { let r in 0 .. API_BENCHMARK_BATCHES/2; let max_key_len = T::MaxStorageKeyLen::get(); @@ -1513,7 +1513,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) #[skip_meta] - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_take_storage_per_kb { let n in 0 .. T::Schedule::get().limits.payload_len / 2048; // half of the max payload_len in kb let max_key_len = T::MaxStorageKeyLen::get(); @@ -1568,7 +1568,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // We transfer to unique accounts. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_transfer { let r in 0 .. API_BENCHMARK_BATCHES; let accounts = (0..r * API_BENCHMARK_BATCH_SIZE) @@ -1622,7 +1622,7 @@ benchmarks! { } // We call unique accounts. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_call { let r in 0 .. API_BENCHMARK_BATCHES; let dummy_code = WasmModule::::dummy_with_bytes(0); @@ -1681,7 +1681,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_delegate_call { let r in 0 .. API_BENCHMARK_BATCHES; let hashes = (0..r * API_BENCHMARK_BATCH_SIZE) @@ -1734,7 +1734,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller); }: call(origin, callee, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_call_per_transfer_clone_kb { let t in 0 .. 1; let c in 0 .. code::max_pages::() * 64; @@ -1793,7 +1793,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, bytes) // We assume that every instantiate sends at least the minimum balance. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_instantiate { let r in 0 .. API_BENCHMARK_BATCHES; let hashes = (0..r * API_BENCHMARK_BATCH_SIZE) @@ -1907,7 +1907,7 @@ benchmarks! { } } - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_instantiate_per_transfer_input_salt_kb { let t in 0 .. 1; let i in 0 .. (code::max_pages::() - 1) * 64; @@ -2002,7 +2002,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // Only the overhead of calling the function itself with minimal arguments. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_sha2_256 { let r in 0 .. 1; let instance = Contract::::new(WasmModule::hasher( @@ -2012,7 +2012,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // `n`: Input to hash in kilobytes - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_sha2_256_per_kb { let n in 0 .. code::max_pages::() * 64; let instance = Contract::::new(WasmModule::hasher( @@ -2022,7 +2022,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // Only the overhead of calling the function itself with minimal arguments. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_keccak_256 { let r in 0 .. 1; let instance = Contract::::new(WasmModule::hasher( @@ -2032,7 +2032,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // `n`: Input to hash in kilobytes - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_keccak_256_per_kb { let n in 0 .. code::max_pages::() * 64; let instance = Contract::::new(WasmModule::hasher( @@ -2042,7 +2042,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // Only the overhead of calling the function itself with minimal arguments. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_blake2_256 { let r in 0 .. 1; let instance = Contract::::new(WasmModule::hasher( @@ -2052,7 +2052,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // `n`: Input to hash in kilobytes - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_blake2_256_per_kb { let n in 0 .. code::max_pages::() * 64; let instance = Contract::::new(WasmModule::hasher( @@ -2062,7 +2062,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // Only the overhead of calling the function itself with minimal arguments. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_blake2_128 { let r in 0 .. 1; let instance = Contract::::new(WasmModule::hasher( @@ -2072,7 +2072,7 @@ benchmarks! { }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) // `n`: Input to hash in kilobytes - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_hash_blake2_128_per_kb { let n in 0 .. code::max_pages::() * 64; let instance = Contract::::new(WasmModule::hasher( @@ -2083,7 +2083,7 @@ benchmarks! { // Only calling the function itself with valid arguments. // It generates different private keys and signatures for the message "Hello world". - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_ecdsa_recover { let r in 0 .. 1; @@ -2132,7 +2132,7 @@ benchmarks! { // Only calling the function itself for the list of // generated different ECDSA keys. - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_ecdsa_to_eth_address { let r in 0 .. 1; let key_type = sp_core::crypto::KeyTypeId(*b"code"); @@ -2168,7 +2168,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_set_code_hash { let r in 0 .. API_BENCHMARK_BATCHES; let code_hashes = (0..r * API_BENCHMARK_BATCH_SIZE) @@ -2209,7 +2209,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_reentrance_count { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -2230,7 +2230,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_account_reentrance_count { let r in 0 .. API_BENCHMARK_BATCHES; let dummy_code = WasmModule::::dummy_with_bytes(0); @@ -2264,7 +2264,7 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - #[pov_mode = Ignored] + #[pov_mode = Measured] seal_instantiation_nonce { let r in 0 .. API_BENCHMARK_BATCHES; let code = WasmModule::::from(ModuleDefinition { @@ -3103,7 +3103,7 @@ benchmarks! { // This is no benchmark. It merely exist to have an easy way to pretty print the curently // configured `Schedule` during benchmark development. // It can be outputed using the following command: - // cargo run --manifest-path=bin/node/cli/Cargo.toml --release \ + // cargo run --manifest-path=bin/node/cli/Cargo.toml \ // --features runtime-benchmarks -- benchmark pallet --extra --dev --execution=native \ // -p pallet_contracts -e print_schedule --no-median-slopes --no-min-squares #[extra] @@ -3111,17 +3111,15 @@ benchmarks! { print_schedule { #[cfg(feature = "std")] { - let weight_per_key = T::WeightInfo::on_initialize_per_trie_key(1) - - T::WeightInfo::on_initialize_per_trie_key(0); - let weight_per_queue_item = T::WeightInfo::on_initialize_per_queue_item(1) - - T::WeightInfo::on_initialize_per_queue_item(0); let weight_limit = T::DeletionWeightLimit::get(); - let queue_depth: u64 = T::DeletionQueueDepth::get().into(); + let max_queue_depth = T::DeletionQueueDepth::get() as usize; + let empty_queue_throughput = Storage::::deletion_budget(0, weight_limit); + let full_queue_throughput = Storage::::deletion_budget(max_queue_depth, weight_limit); println!("{:#?}", Schedule::::default()); println!("###############################################"); + println!("Lazy deletion weight per key: {}", empty_queue_throughput.0); println!("Lazy deletion throughput per block (empty queue, full queue): {}, {}", - weight_limit / weight_per_key.ref_time(), - (weight_limit - weight_per_queue_item * queue_depth) / weight_per_key.ref_time(), + empty_queue_throughput.1, full_queue_throughput.1, ); } #[cfg(not(feature = "std"))] @@ -3133,7 +3131,7 @@ benchmarks! { // `g` is used to enable gas instrumentation to compare the performance impact of // that instrumentation at runtime. #[extra] - #[pov_mode = Ignored] + #[pov_mode = Measured] ink_erc20_transfer { let g in 0 .. 1; let gas_metering = g != 0; @@ -3172,7 +3170,7 @@ benchmarks! { // `g` is used to enable gas instrumentation to compare the performance impact of // that instrumentation at runtime. #[extra] - #[pov_mode = Ignored] + #[pov_mode = Measured] solang_erc20_transfer { let g in 0 .. 1; let gas_metering = g != 0; diff --git a/frame/contracts/src/schedule.rs b/frame/contracts/src/schedule.rs index 5e4798df147b2..ccfba941e9817 100644 --- a/frame/contracts/src/schedule.rs +++ b/frame/contracts/src/schedule.rs @@ -447,7 +447,7 @@ macro_rules! call_zero { macro_rules! cost_args { ($name:ident, $( $arg: expr ),+) => { - (T::WeightInfo::$name($( $arg ),+).saturating_sub(call_zero!($name, $( $arg ),+))).ref_time() + (T::WeightInfo::$name($( $arg ),+).saturating_sub(call_zero!($name, $( $arg ),+))) } } @@ -459,7 +459,7 @@ macro_rules! cost_batched_args { macro_rules! cost_instr_no_params_with_batch_size { ($name:ident, $batch_size:expr) => { - (cost_args!($name, 1) / u64::from($batch_size)) as u32 + (cost_args!($name, 1).ref_time() / u64::from($batch_size)) as u32 }; } @@ -514,12 +514,6 @@ macro_rules! cost_byte_batched { }; } -macro_rules! to_weight { - ($ref_time:expr $(, $proof_size:expr )?) => { - Weight::from_ref_time($ref_time)$(.set_proof_size($proof_size))? - }; -} - impl Default for Limits { fn default() -> Self { Self { @@ -554,8 +548,8 @@ impl Default for InstructionWeights { br_table_per_entry: cost_instr!(instr_br_table_per_entry, 0), call: cost_instr!(instr_call, 2), call_indirect: cost_instr!(instr_call_indirect, 3), - call_indirect_per_param: cost_instr!(instr_call_indirect_per_param, 1), - call_per_local: cost_instr!(instr_call_per_local, 1), + call_indirect_per_param: cost_instr!(instr_call_indirect_per_param, 0), + call_per_local: cost_instr!(instr_call_per_local, 0), local_get: cost_instr!(instr_local_get, 1), local_set: cost_instr!(instr_local_set, 1), local_tee: cost_instr!(instr_local_tee, 2), @@ -601,116 +595,91 @@ impl Default for InstructionWeights { } impl Default for HostFnWeights { - /// PoV should contain all trie nodes that are read during state transition (i.e. block - /// production). Hence we need to charge the `proof_size` weight for every host function which - /// reads storage, namely: - /// - get_storage, - /// - take_storage, - /// - contains_storage, - /// - clear_storage, - /// - set_storage. - /// - /// The last two functions write to storage, but they also do read storage in order to return - /// the size of the pre-existed value. Till we have PoV benchmarks implemented, we approximate - /// `proof_size` as being equal to the size of storage read. fn default() -> Self { Self { - caller: to_weight!(cost_batched!(seal_caller)), - is_contract: to_weight!(cost_batched!(seal_is_contract)), - code_hash: to_weight!(cost_batched!(seal_code_hash)), - own_code_hash: to_weight!(cost_batched!(seal_own_code_hash)), - caller_is_origin: to_weight!(cost_batched!(seal_caller_is_origin)), - address: to_weight!(cost_batched!(seal_address)), - gas_left: to_weight!(cost_batched!(seal_gas_left)), - balance: to_weight!(cost_batched!(seal_balance)), - value_transferred: to_weight!(cost_batched!(seal_value_transferred)), - minimum_balance: to_weight!(cost_batched!(seal_minimum_balance)), - block_number: to_weight!(cost_batched!(seal_block_number)), - now: to_weight!(cost_batched!(seal_now)), - weight_to_fee: to_weight!(cost_batched!(seal_weight_to_fee)), - gas: to_weight!(cost_batched!(seal_gas)), - input: to_weight!(cost_batched!(seal_input)), - input_per_byte: to_weight!(cost_byte_batched!(seal_input_per_kb)), - r#return: to_weight!(cost!(seal_return)), - return_per_byte: to_weight!(cost_byte!(seal_return_per_kb)), - terminate: to_weight!(cost!(seal_terminate)), - random: to_weight!(cost_batched!(seal_random)), - deposit_event: to_weight!(cost_batched!(seal_deposit_event)), - deposit_event_per_topic: to_weight!(cost_batched_args!( - seal_deposit_event_per_topic_and_kb, - 1, - 0 - )), - deposit_event_per_byte: to_weight!(cost_byte_batched_args!( + caller: cost_batched!(seal_caller), + is_contract: cost_batched!(seal_is_contract), + code_hash: cost_batched!(seal_code_hash), + own_code_hash: cost_batched!(seal_own_code_hash), + caller_is_origin: cost_batched!(seal_caller_is_origin), + address: cost_batched!(seal_address), + gas_left: cost_batched!(seal_gas_left), + balance: cost_batched!(seal_balance), + value_transferred: cost_batched!(seal_value_transferred), + minimum_balance: cost_batched!(seal_minimum_balance), + block_number: cost_batched!(seal_block_number), + now: cost_batched!(seal_now), + weight_to_fee: cost_batched!(seal_weight_to_fee), + // Manually remove proof size from basic block cost. + // + // Due to imperfect benchmarking some host functions incur a small + // amount of proof size. Usually this is ok. However, charging a basic block is such + // a frequent operation that this would be a vast overestimation. + gas: cost_batched!(seal_gas).set_proof_size(0), + input: cost_batched!(seal_input), + input_per_byte: cost_byte_batched!(seal_input_per_kb), + r#return: cost!(seal_return), + return_per_byte: cost_byte!(seal_return_per_kb), + terminate: cost!(seal_terminate), + random: cost_batched!(seal_random), + deposit_event: cost_batched!(seal_deposit_event), + deposit_event_per_topic: cost_batched_args!(seal_deposit_event_per_topic_and_kb, 1, 0), + deposit_event_per_byte: cost_byte_batched_args!( seal_deposit_event_per_topic_and_kb, 0, 1 - )), - debug_message: to_weight!(cost_batched!(seal_debug_message)), - debug_message_per_byte: to_weight!(cost_byte!(seal_debug_message_per_kb)), - set_storage: to_weight!(cost_batched!(seal_set_storage), 1024u64), - set_code_hash: to_weight!(cost_batched!(seal_set_code_hash)), - set_storage_per_new_byte: to_weight!(cost_byte_batched!(seal_set_storage_per_new_kb)), - set_storage_per_old_byte: to_weight!( - cost_byte_batched!(seal_set_storage_per_old_kb), - 1u64 - ), - clear_storage: to_weight!(cost_batched!(seal_clear_storage), 1024u64), - clear_storage_per_byte: to_weight!(cost_byte_batched!(seal_clear_storage_per_kb), 1u64), - contains_storage: to_weight!(cost_batched!(seal_contains_storage), 1024u64), - contains_storage_per_byte: to_weight!( - cost_byte_batched!(seal_contains_storage_per_kb), - 1u64 ), - get_storage: to_weight!(cost_batched!(seal_get_storage), 1024u64), - get_storage_per_byte: to_weight!(cost_byte_batched!(seal_get_storage_per_kb), 1u64), - take_storage: to_weight!(cost_batched!(seal_take_storage), 1024u64), - take_storage_per_byte: to_weight!(cost_byte_batched!(seal_take_storage_per_kb), 1u64), - transfer: to_weight!(cost_batched!(seal_transfer)), - call: to_weight!(cost_batched!(seal_call)), - delegate_call: to_weight!(cost_batched!(seal_delegate_call)), - call_transfer_surcharge: to_weight!(cost_batched_args!( - seal_call_per_transfer_clone_kb, - 1, - 0 - )), - call_per_cloned_byte: to_weight!(cost_batched_args!( - seal_call_per_transfer_clone_kb, - 0, - 1 - )), - instantiate: to_weight!(cost_batched!(seal_instantiate)), - instantiate_transfer_surcharge: to_weight!(cost_byte_batched_args!( + debug_message: cost_batched!(seal_debug_message), + debug_message_per_byte: cost_byte!(seal_debug_message_per_kb), + set_storage: cost_batched!(seal_set_storage), + set_code_hash: cost_batched!(seal_set_code_hash), + set_storage_per_new_byte: cost_byte_batched!(seal_set_storage_per_new_kb), + set_storage_per_old_byte: cost_byte_batched!(seal_set_storage_per_old_kb), + clear_storage: cost_batched!(seal_clear_storage), + clear_storage_per_byte: cost_byte_batched!(seal_clear_storage_per_kb), + contains_storage: cost_batched!(seal_contains_storage), + contains_storage_per_byte: cost_byte_batched!(seal_contains_storage_per_kb), + get_storage: cost_batched!(seal_get_storage), + get_storage_per_byte: cost_byte_batched!(seal_get_storage_per_kb), + take_storage: cost_batched!(seal_take_storage), + take_storage_per_byte: cost_byte_batched!(seal_take_storage_per_kb), + transfer: cost_batched!(seal_transfer), + call: cost_batched!(seal_call), + delegate_call: cost_batched!(seal_delegate_call), + call_transfer_surcharge: cost_batched_args!(seal_call_per_transfer_clone_kb, 1, 0), + call_per_cloned_byte: cost_byte_batched_args!(seal_call_per_transfer_clone_kb, 0, 1), + instantiate: cost_batched!(seal_instantiate), + instantiate_transfer_surcharge: cost_batched_args!( seal_instantiate_per_transfer_input_salt_kb, 1, 0, 0 - )), - instantiate_per_input_byte: to_weight!(cost_byte_batched_args!( + ), + instantiate_per_input_byte: cost_byte_batched_args!( seal_instantiate_per_transfer_input_salt_kb, 0, 1, 0 - )), - instantiate_per_salt_byte: to_weight!(cost_byte_batched_args!( + ), + instantiate_per_salt_byte: cost_byte_batched_args!( seal_instantiate_per_transfer_input_salt_kb, 0, 0, 1 - )), - hash_sha2_256: to_weight!(cost_batched!(seal_hash_sha2_256)), - hash_sha2_256_per_byte: to_weight!(cost_byte_batched!(seal_hash_sha2_256_per_kb)), - hash_keccak_256: to_weight!(cost_batched!(seal_hash_keccak_256)), - hash_keccak_256_per_byte: to_weight!(cost_byte_batched!(seal_hash_keccak_256_per_kb)), - hash_blake2_256: to_weight!(cost_batched!(seal_hash_blake2_256)), - hash_blake2_256_per_byte: to_weight!(cost_byte_batched!(seal_hash_blake2_256_per_kb)), - hash_blake2_128: to_weight!(cost_batched!(seal_hash_blake2_128)), - hash_blake2_128_per_byte: to_weight!(cost_byte_batched!(seal_hash_blake2_128_per_kb)), - ecdsa_recover: to_weight!(cost_batched!(seal_ecdsa_recover)), - ecdsa_to_eth_address: to_weight!(cost_batched!(seal_ecdsa_to_eth_address)), - reentrance_count: to_weight!(cost_batched!(seal_reentrance_count)), - account_reentrance_count: to_weight!(cost_batched!(seal_account_reentrance_count)), - instantiation_nonce: to_weight!(cost_batched!(seal_instantiation_nonce)), + ), + hash_sha2_256: cost_batched!(seal_hash_sha2_256), + hash_sha2_256_per_byte: cost_byte_batched!(seal_hash_sha2_256_per_kb), + hash_keccak_256: cost_batched!(seal_hash_keccak_256), + hash_keccak_256_per_byte: cost_byte_batched!(seal_hash_keccak_256_per_kb), + hash_blake2_256: cost_batched!(seal_hash_blake2_256), + hash_blake2_256_per_byte: cost_byte_batched!(seal_hash_blake2_256_per_kb), + hash_blake2_128: cost_batched!(seal_hash_blake2_128), + hash_blake2_128_per_byte: cost_byte_batched!(seal_hash_blake2_128_per_kb), + ecdsa_recover: cost_batched!(seal_ecdsa_recover), + ecdsa_to_eth_address: cost_batched!(seal_ecdsa_to_eth_address), + reentrance_count: cost_batched!(seal_reentrance_count), + account_reentrance_count: cost_batched!(seal_account_reentrance_count), + instantiation_nonce: cost_batched!(seal_instantiation_nonce), _phantom: PhantomData, } } diff --git a/frame/contracts/src/storage.rs b/frame/contracts/src/storage.rs index d40cc755c315e..bf030a2bd8c81 100644 --- a/frame/contracts/src/storage.rs +++ b/frame/contracts/src/storage.rs @@ -245,13 +245,12 @@ impl Storage { /// Calculates the weight that is necessary to remove one key from the trie and how many /// of those keys can be deleted from the deletion queue given the supplied queue length /// and weight limit. - pub fn deletion_budget(queue_len: usize, weight_limit: Weight) -> (u64, u32) { + pub fn deletion_budget(queue_len: usize, weight_limit: Weight) -> (Weight, u32) { let base_weight = T::WeightInfo::on_process_deletion_queue_batch(); let weight_per_queue_item = T::WeightInfo::on_initialize_per_queue_item(1) - T::WeightInfo::on_initialize_per_queue_item(0); - let weight_per_key = (T::WeightInfo::on_initialize_per_trie_key(1) - - T::WeightInfo::on_initialize_per_trie_key(0)) - .ref_time(); + let weight_per_key = T::WeightInfo::on_initialize_per_trie_key(1) - + T::WeightInfo::on_initialize_per_trie_key(0); let decoding_weight = weight_per_queue_item.saturating_mul(queue_len as u64); // `weight_per_key` being zero makes no sense and would constitute a failure to @@ -259,9 +258,8 @@ impl Storage { let key_budget = weight_limit .saturating_sub(base_weight) .saturating_sub(decoding_weight) - .checked_div(weight_per_key) - .unwrap_or(Weight::zero()) - .ref_time() as u32; + .checked_div_per_component(&weight_per_key) + .unwrap_or(0) as u32; (weight_per_key, key_budget) } @@ -306,10 +304,7 @@ impl Storage { } >::put(queue); - let ref_time_weight = weight_limit - .ref_time() - .saturating_sub(weight_per_key.saturating_mul(u64::from(remaining_key_budget))); - Weight::from_ref_time(ref_time_weight) + weight_limit.saturating_sub(weight_per_key.saturating_mul(u64::from(remaining_key_budget))) } /// Generates a unique trie id by returning `hash(account_id ++ nonce)`. diff --git a/frame/contracts/src/tests.rs b/frame/contracts/src/tests.rs index 958cbf772dba5..cab426ad132cb 100644 --- a/frame/contracts/src/tests.rs +++ b/frame/contracts/src/tests.rs @@ -383,7 +383,7 @@ impl Contains for TestFilter { } parameter_types! { - pub const DeletionWeightLimit: Weight = Weight::from_ref_time(500_000_000_000); + pub const DeletionWeightLimit: Weight = GAS_LIMIT; pub static UnstableInterface: bool = true; } @@ -416,7 +416,7 @@ pub const BOB: AccountId32 = AccountId32::new([2u8; 32]); pub const CHARLIE: AccountId32 = AccountId32::new([3u8; 32]); pub const DJANGO: AccountId32 = AccountId32::new([4u8; 32]); -pub const GAS_LIMIT: Weight = Weight::from_parts(100_000_000_000, 512 * 1024); +pub const GAS_LIMIT: Weight = Weight::from_parts(100_000_000_000, 3 * 1024 * 1024); pub struct ExtBuilder { existential_deposit: u64, @@ -2322,7 +2322,7 @@ fn lazy_removal_does_no_run_on_low_remaining_weight() { fn lazy_removal_does_not_use_all_weight() { let (code, _hash) = compile_module::("self_destruct").unwrap(); - let weight_limit = Weight::from_ref_time(5_000_000_000); + let weight_limit = Weight::from_parts(5_000_000_000, 100 * 1024); let mut ext = ExtBuilder::default().existential_deposit(50).build(); let (trie, vals, weight_per_key) = ext.execute_with(|| { @@ -2396,7 +2396,7 @@ fn lazy_removal_does_not_use_all_weight() { let weight_used = Storage::::process_deletion_queue_batch(weight_limit); // We have one less key in our trie than our weight limit suffices for - assert_eq!(weight_used, weight_limit - Weight::from_ref_time(weight_per_key)); + assert_eq!(weight_used, weight_limit - weight_per_key); // All the keys are removed for val in vals { diff --git a/frame/contracts/src/wasm/code_cache.rs b/frame/contracts/src/wasm/code_cache.rs index 410d26921543d..385ed54ccb410 100644 --- a/frame/contracts/src/wasm/code_cache.rs +++ b/frame/contracts/src/wasm/code_cache.rs @@ -50,53 +50,61 @@ use sp_std::vec; /// under the specified `code_hash`. pub fn store(mut module: PrefabWasmModule, instantiated: bool) -> DispatchResult { let code_hash = sp_std::mem::take(&mut module.code_hash); - >::mutate(&code_hash, |existing| match existing { - Some(existing) => { - // We instrument any uploaded contract anyways. We might as well store it to save - // a potential re-instrumentation later. - existing.code = module.code; - existing.instruction_weights_version = module.instruction_weights_version; - // When the code was merely uploaded but not instantiated we can skip this. - if instantiated { - >::mutate(&code_hash, |owner_info| { - if let Some(owner_info) = owner_info { - owner_info.refcount = owner_info.refcount.checked_add(1).expect( - " - refcount is 64bit. Generating this overflow would require to store - _at least_ 18 exabyte of data assuming that a contract consumes only - one byte of data. Any node would run out of storage space before hitting - this overflow. - qed - ", - ); - } - }) - } - Ok(()) - }, - None => { - let orig_code = module.original_code.take().expect( - " + >::mutate(&code_hash, |owner_info| { + match owner_info { + // Instantiate existing contract. + // + // No need to update the `CodeStorage` as any re-instrumentation eagerly saves + // the re-instrumented code. + Some(owner_info) if instantiated => { + owner_info.refcount = owner_info.refcount.checked_add(1).expect( + " + refcount is 64bit. Generating this overflow would require to store + _at least_ 18 exabyte of data assuming that a contract consumes only + one byte of data. Any node would run out of storage space before hitting + this overflow. + qed + ", + ); + Ok(()) + }, + // Re-upload existing contract without executing it. + // + // We are careful here to just overwrite the code to not include it into the PoV. + // We do this because the uploaded code was instrumented with the latest schedule + // and hence we persist those changes. Otherwise the next execution will pay again + // for the instrumentation. + Some(_) => { + >::insert(&code_hash, module); + Ok(()) + }, + // Upload a new contract. + // + // We need to write all data structures and collect the deposit. + None => { + let orig_code = module.original_code.take().expect( + " If an executable isn't in storage it was uploaded. If it was uploaded the original code must exist. qed ", - ); - let mut owner_info = module.owner_info.take().expect( - "If an executable isn't in storage it was uploaded. + ); + let mut new_owner_info = module.owner_info.take().expect( + "If an executable isn't in storage it was uploaded. If it was uploaded the owner info was generated and attached. qed ", - ); - // This `None` case happens only in freshly uploaded modules. This means that - // the `owner` is always the origin of the current transaction. - T::Currency::reserve(&owner_info.owner, owner_info.deposit) - .map_err(|_| >::StorageDepositNotEnoughFunds)?; - owner_info.refcount = if instantiated { 1 } else { 0 }; - >::insert(&code_hash, orig_code); - >::insert(&code_hash, owner_info); - *existing = Some(module); - >::deposit_event(vec![code_hash], Event::CodeStored { code_hash }); - Ok(()) - }, + ); + // This `None` case happens only in freshly uploaded modules. This means that + // the `owner` is always the origin of the current transaction. + T::Currency::reserve(&new_owner_info.owner, new_owner_info.deposit) + .map_err(|_| >::StorageDepositNotEnoughFunds)?; + new_owner_info.refcount = if instantiated { 1 } else { 0 }; + >::insert(&code_hash, orig_code); + >::insert(&code_hash, module); + *owner_info = Some(new_owner_info); + >::deposit_event(vec![code_hash], Event::CodeStored { code_hash }); + Ok(()) + }, + } }) } @@ -162,15 +170,16 @@ pub fn load( let charged = gas_meter.charge(CodeToken::Load(max_code_len))?; let mut prefab_module = >::get(code_hash).ok_or(Error::::CodeNotFound)?; - gas_meter.adjust_gas(charged, CodeToken::Load(prefab_module.code.len() as u32)); + let instrumented_code_len = prefab_module.code.len() as u32; + gas_meter.adjust_gas(charged, CodeToken::Load(instrumented_code_len)); prefab_module.code_hash = code_hash; if prefab_module.instruction_weights_version < schedule.instruction_weights.version { // The instruction weights have changed. // We need to re-instrument the code with the new instruction weights. - let charged = gas_meter.charge(CodeToken::Reinstrument(max_code_len))?; - let code_size = reinstrument(&mut prefab_module, schedule)?; - gas_meter.adjust_gas(charged, CodeToken::Reinstrument(code_size)); + let charged = gas_meter.charge(CodeToken::Reinstrument(instrumented_code_len))?; + let orig_code_len = reinstrument(&mut prefab_module, schedule)?; + gas_meter.adjust_gas(charged, CodeToken::Reinstrument(orig_code_len)); } Ok(prefab_module) @@ -224,8 +233,7 @@ impl Token for CodeToken { match *self { Reinstrument(len) => T::WeightInfo::reinstrument(len), Load(len) => T::WeightInfo::call_with_code_per_byte(len) - .saturating_sub(T::WeightInfo::call_with_code_per_byte(0)) - .set_proof_size(len.into()), + .saturating_sub(T::WeightInfo::call_with_code_per_byte(0)), } } } diff --git a/frame/contracts/src/wasm/mod.rs b/frame/contracts/src/wasm/mod.rs index 3ca7326187a5b..d25499641c5d2 100644 --- a/frame/contracts/src/wasm/mod.rs +++ b/frame/contracts/src/wasm/mod.rs @@ -42,7 +42,7 @@ pub use crate::wasm::{ use crate::{ exec::{ExecResult, Executable, ExportedFunction, Ext}, gas::GasMeter, - AccountIdOf, BalanceOf, CodeHash, CodeStorage, CodeVec, Config, Error, RelaxedCodeVec, + AccountIdOf, BalanceOf, CodeHash, CodeVec, Config, Error, OwnerInfoOf, RelaxedCodeVec, Schedule, }; use codec::{Decode, Encode, MaxEncodedLen}; @@ -191,7 +191,7 @@ impl PrefabWasmModule { /// Returns `0` if the module is already in storage and hence no deposit will /// be charged when storing it. pub fn open_deposit(&self) -> BalanceOf { - if >::contains_key(&self.code_hash) { + if >::contains_key(&self.code_hash) { 0u32.into() } else { // Only already in-storage contracts have their `owner_info` set to `None`. diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 50aa30e89e58b..057a9257d4268 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -173,772 +173,796 @@ pub trait WeightInfo { pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { /// Storage: Contracts DeletionQueue (r:1 w:0) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) fn on_process_deletion_queue_batch() -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `0` - // Minimum execution time: 2_564 nanoseconds. - Weight::from_ref_time(2_722_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `604` + // Minimum execution time: 2_507 nanoseconds. + Weight::from_ref_time(2_650_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `481 + k * (69 ±0)` - // Estimated: `0` - // Minimum execution time: 10_292 nanoseconds. - Weight::from_ref_time(7_474_496) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 901 - .saturating_add(Weight::from_ref_time(956_864).saturating_mul(k.into())) + // Estimated: `471 + k * (70 ±0)` + // Minimum execution time: 9_953 nanoseconds. + Weight::from_ref_time(6_467_352) + .saturating_add(Weight::from_proof_size(471)) + // Standard Error: 1_074 + .saturating_add(Weight::from_ref_time(943_946).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_proof_size(70).saturating_mul(k.into())) } /// Storage: Contracts DeletionQueue (r:1 w:1) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + q * (33 ±0)` - // Estimated: `0` - // Minimum execution time: 2_620 nanoseconds. - Weight::from_ref_time(10_288_873) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_073 - .saturating_add(Weight::from_ref_time(1_148_167).saturating_mul(q.into())) + // Estimated: `763 + q * (33 ±0)` + // Minimum execution time: 2_545 nanoseconds. + Weight::from_ref_time(10_080_106) + .saturating_add(Weight::from_proof_size(763)) + // Standard Error: 2_929 + .saturating_add(Weight::from_ref_time(1_078_265).saturating_mul(q.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(33).saturating_mul(q.into())) } /// Storage: Contracts PristineCode (r:1 w:0) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// Storage: Contracts CodeStorage (r:0 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// The range of component `c` is `[0, 61717]`. fn reinstrument(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `270 + c * (1 ±0)` - // Estimated: `0` - // Minimum execution time: 28_004 nanoseconds. - Weight::from_ref_time(26_706_943) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 67 - .saturating_add(Weight::from_ref_time(51_603).saturating_mul(c.into())) + // Estimated: `3025 + c * (2 ±0)` + // Minimum execution time: 34_613 nanoseconds. + Weight::from_ref_time(27_355_774) + .saturating_add(Weight::from_proof_size(3025)) + // Standard Error: 81 + .saturating_add(Weight::from_ref_time(51_954).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2).saturating_mul(c.into())) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `771` - // Estimated: `0` - // Minimum execution time: 295_799 nanoseconds. - Weight::from_ref_time(308_660_753) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 20 - .saturating_add(Weight::from_ref_time(32_458).saturating_mul(c.into())) + // Estimated: `16780 + c * (5 ±0)` + // Minimum execution time: 386_104 nanoseconds. + Weight::from_ref_time(396_718_823) + .saturating_add(Weight::from_proof_size(16780)) + // Standard Error: 27 + .saturating_add(Weight::from_ref_time(31_370).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(c.into())) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) - /// Storage: Contracts OwnerInfoOf (r:0 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// The range of component `c` is `[0, 61717]`. /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `257` - // Estimated: `0` - // Minimum execution time: 3_754_887 nanoseconds. - Weight::from_ref_time(657_695_827) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 283 - .saturating_add(Weight::from_ref_time(94_808).saturating_mul(c.into())) + // Estimated: `17752` + // Minimum execution time: 3_786_500 nanoseconds. + Weight::from_ref_time(672_511_565) + .saturating_add(Weight::from_proof_size(17752)) + // Standard Error: 281 + .saturating_add(Weight::from_ref_time(94_538).saturating_mul(c.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_357).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_364).saturating_mul(i.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_756).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_768).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `533` - // Estimated: `0` - // Minimum execution time: 1_961_131 nanoseconds. - Weight::from_ref_time(208_539_564) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `19543` + // Minimum execution time: 1_927_365 nanoseconds. + Weight::from_ref_time(189_843_928) + .saturating_add(Weight::from_proof_size(19543)) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_688).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_677).saturating_mul(i.into())) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_802).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_803).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn call() -> Weight { // Proof Size summary in bytes: // Measured: `823` - // Estimated: `0` - // Minimum execution time: 148_138 nanoseconds. - Weight::from_ref_time(148_862_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `16985` + // Minimum execution time: 146_354 nanoseconds. + Weight::from_ref_time(147_693_000) + .saturating_add(Weight::from_proof_size(16985)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1 w:1) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) - /// Storage: Contracts OwnerInfoOf (r:0 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// The range of component `c` is `[0, 61717]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `0` - // Minimum execution time: 293_444 nanoseconds. - Weight::from_ref_time(293_242_988) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 156 - .saturating_add(Weight::from_ref_time(97_476).saturating_mul(c.into())) + // Estimated: `5386` + // Minimum execution time: 388_107 nanoseconds. + Weight::from_ref_time(383_172_702) + .saturating_add(Weight::from_proof_size(5386)) + // Standard Error: 73 + .saturating_add(Weight::from_ref_time(95_037).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1 w:1) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// Storage: Contracts CodeStorage (r:0 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) fn remove_code() -> Weight { // Proof Size summary in bytes: // Measured: `287` - // Estimated: `0` - // Minimum execution time: 26_802 nanoseconds. - Weight::from_ref_time(27_121_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `6098` + // Minimum execution time: 26_278 nanoseconds. + Weight::from_ref_time(26_682_000) + .saturating_add(Weight::from_proof_size(6098)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:2 w:2) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn set_code() -> Weight { // Proof Size summary in bytes: // Measured: `634` - // Estimated: `0` - // Minimum execution time: 31_079 nanoseconds. - Weight::from_ref_time(31_541_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `16752` + // Minimum execution time: 30_223 nanoseconds. + Weight::from_ref_time(30_737_000) + .saturating_add(Weight::from_proof_size(16752)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `845 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_877 nanoseconds. - Weight::from_ref_time(290_043_606) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_094 - .saturating_add(Weight::from_ref_time(18_094_219).saturating_mul(r.into())) + // Estimated: `17120 + r * (2400 ±0)` + // Minimum execution time: 374_780 nanoseconds. + Weight::from_ref_time(379_468_453) + .saturating_add(Weight::from_proof_size(17120)) + // Standard Error: 45_809 + .saturating_add(Weight::from_ref_time(17_553_577).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `882 + r * (19218 ±0)` - // Estimated: `0` - // Minimum execution time: 283_956 nanoseconds. - Weight::from_ref_time(129_690_397) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 531_270 - .saturating_add(Weight::from_ref_time(264_082_418).saturating_mul(r.into())) + // Estimated: `17110 + r * (294100 ±0)` + // Minimum execution time: 374_399 nanoseconds. + Weight::from_ref_time(228_569_211) + .saturating_add(Weight::from_proof_size(17110)) + // Standard Error: 492_562 + .saturating_add(Weight::from_ref_time(251_682_897).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(294100).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `889 + r * (19539 ±0)` - // Estimated: `0` - // Minimum execution time: 287_077 nanoseconds. - Weight::from_ref_time(148_155_166) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 466_496 - .saturating_add(Weight::from_ref_time(306_625_930).saturating_mul(r.into())) + // Estimated: `17170 + r * (295700 ±0)` + // Minimum execution time: 375_980 nanoseconds. + Weight::from_ref_time(232_604_331) + .saturating_add(Weight::from_proof_size(17170)) + // Standard Error: 491_912 + .saturating_add(Weight::from_ref_time(299_479_335).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(295700).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `852 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 286_459 nanoseconds. - Weight::from_ref_time(292_826_594) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 27_808 - .saturating_add(Weight::from_ref_time(22_401_931).saturating_mul(r.into())) + // Estimated: `17155 + r * (2400 ±0)` + // Minimum execution time: 375_075 nanoseconds. + Weight::from_ref_time(381_217_372) + .saturating_add(Weight::from_proof_size(17155)) + // Standard Error: 63_950 + .saturating_add(Weight::from_ref_time(21_872_316).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 284_330 nanoseconds. - Weight::from_ref_time(289_069_701) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 13_666 - .saturating_add(Weight::from_ref_time(11_157_859).saturating_mul(r.into())) + // Estimated: `17080 + r * (1200 ±0)` + // Minimum execution time: 373_260 nanoseconds. + Weight::from_ref_time(377_987_666) + .saturating_add(Weight::from_proof_size(17080)) + // Standard Error: 35_603 + .saturating_add(Weight::from_ref_time(11_274_165).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1200).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `846 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_506 nanoseconds. - Weight::from_ref_time(290_155_141) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_944 - .saturating_add(Weight::from_ref_time(17_992_627).saturating_mul(r.into())) + // Estimated: `17100 + r * (2400 ±0)` + // Minimum execution time: 374_605 nanoseconds. + Weight::from_ref_time(379_395_443) + .saturating_add(Weight::from_proof_size(17100)) + // Standard Error: 49_646 + .saturating_add(Weight::from_ref_time(17_487_585).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `847 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_177 nanoseconds. - Weight::from_ref_time(289_314_787) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 24_552 - .saturating_add(Weight::from_ref_time(17_754_919).saturating_mul(r.into())) + // Estimated: `17105 + r * (2400 ±0)` + // Minimum execution time: 374_620 nanoseconds. + Weight::from_ref_time(379_623_792) + .saturating_add(Weight::from_proof_size(17105)) + // Standard Error: 49_990 + .saturating_add(Weight::from_ref_time(17_226_706).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:2 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1017 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_096 nanoseconds. - Weight::from_ref_time(293_655_130) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 56_379 - .saturating_add(Weight::from_ref_time(95_688_575).saturating_mul(r.into())) + // Estimated: `19673 + r * (2456 ±4)` + // Minimum execution time: 374_002 nanoseconds. + Weight::from_ref_time(384_615_649) + .saturating_add(Weight::from_proof_size(19673)) + // Standard Error: 85_633 + .saturating_add(Weight::from_ref_time(95_227_118).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2456).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `856 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_967 nanoseconds. - Weight::from_ref_time(288_043_137) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 83_838 - .saturating_add(Weight::from_ref_time(18_256_709).saturating_mul(r.into())) + // Estimated: `17200 + r * (2400 ±0)` + // Minimum execution time: 375_307 nanoseconds. + Weight::from_ref_time(378_389_705) + .saturating_add(Weight::from_proof_size(17200)) + // Standard Error: 42_265 + .saturating_add(Weight::from_ref_time(17_316_680).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `854 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_060 nanoseconds. - Weight::from_ref_time(290_577_678) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 26_131 - .saturating_add(Weight::from_ref_time(17_560_562).saturating_mul(r.into())) + // Estimated: `17140 + r * (2400 ±0)` + // Minimum execution time: 374_878 nanoseconds. + Weight::from_ref_time(379_364_066) + .saturating_add(Weight::from_proof_size(17140)) + // Standard Error: 49_158 + .saturating_add(Weight::from_ref_time(17_111_145).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `851 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 286_068 nanoseconds. - Weight::from_ref_time(290_026_137) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 34_787 - .saturating_add(Weight::from_ref_time(17_597_404).saturating_mul(r.into())) + // Estimated: `17125 + r * (2400 ±0)` + // Minimum execution time: 374_981 nanoseconds. + Weight::from_ref_time(381_539_022) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 61_419 + .saturating_add(Weight::from_ref_time(17_062_381).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_082 nanoseconds. - Weight::from_ref_time(290_487_103) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_743 - .saturating_add(Weight::from_ref_time(17_506_771).saturating_mul(r.into())) + // Estimated: `17100 + r * (2400 ±0)` + // Minimum execution time: 374_798 nanoseconds. + Weight::from_ref_time(372_659_915) + .saturating_add(Weight::from_proof_size(17100)) + // Standard Error: 151_499 + .saturating_add(Weight::from_ref_time(18_192_683).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Ignored) + /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `919 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 285_309 nanoseconds. - Weight::from_ref_time(296_735_365) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 49_300 - .saturating_add(Weight::from_ref_time(87_678_979).saturating_mul(r.into())) + // Estimated: `18835 + r * (4805 ±0)` + // Minimum execution time: 374_841 nanoseconds. + Weight::from_ref_time(385_475_889) + .saturating_add(Weight::from_proof_size(18835)) + // Standard Error: 106_207 + .saturating_add(Weight::from_ref_time(88_099_987).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4805).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `809 + r * (320 ±0)` - // Estimated: `0` - // Minimum execution time: 136_110 nanoseconds. - Weight::from_ref_time(139_800_659) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 9_674 - .saturating_add(Weight::from_ref_time(8_302_834).saturating_mul(r.into())) + // Estimated: `16955 + r * (1600 ±0)` + // Minimum execution time: 134_436 nanoseconds. + Weight::from_ref_time(137_789_498) + .saturating_add(Weight::from_proof_size(16955)) + // Standard Error: 10_622 + .saturating_add(Weight::from_ref_time(8_144_024).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1600).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `844 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_238 nanoseconds. - Weight::from_ref_time(289_723_839) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 19_531 - .saturating_add(Weight::from_ref_time(15_590_085).saturating_mul(r.into())) + // Estimated: `17085 + r * (2400 ±0)` + // Minimum execution time: 374_480 nanoseconds. + Weight::from_ref_time(379_723_392) + .saturating_add(Weight::from_proof_size(17085)) + // Standard Error: 50_240 + .saturating_add(Weight::from_ref_time(15_358_041).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1324` - // Estimated: `0` - // Minimum execution time: 303_189 nanoseconds. - Weight::from_ref_time(323_374_503) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_060 - .saturating_add(Weight::from_ref_time(9_799_357).saturating_mul(n.into())) + // Estimated: `19490` + // Minimum execution time: 392_282 nanoseconds. + Weight::from_ref_time(418_943_323) + .saturating_add(Weight::from_proof_size(19490)) + // Standard Error: 4_673 + .saturating_add(Weight::from_ref_time(9_664_301).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + r * (45 ±0)` - // Estimated: `0` - // Minimum execution time: 280_736 nanoseconds. - Weight::from_ref_time(285_027_920) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 222_526 - .saturating_add(Weight::from_ref_time(1_814_579).saturating_mul(r.into())) + // Estimated: `17030 + r * (225 ±0)` + // Minimum execution time: 372_207 nanoseconds. + Weight::from_ref_time(376_232_444) + .saturating_add(Weight::from_proof_size(17030)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(225).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842` - // Estimated: `0` - // Minimum execution time: 285_559 nanoseconds. - Weight::from_ref_time(290_522_234) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_578 - .saturating_add(Weight::from_ref_time(195_134).saturating_mul(n.into())) + // Estimated: `17125` + // Minimum execution time: 374_743 nanoseconds. + Weight::from_ref_time(377_365_053) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 1_073 + .saturating_add(Weight::from_ref_time(231_251).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts DeletionQueue (r:1 w:1) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `874 + r * (280 ±0)` - // Estimated: `0` - // Minimum execution time: 282_070 nanoseconds. - Weight::from_ref_time(286_466_489) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 238_285 - .saturating_add(Weight::from_ref_time(58_542_610).saturating_mul(r.into())) + // Estimated: `19880 + r * (11465 ±0)` + // Minimum execution time: 374_873 nanoseconds. + Weight::from_ref_time(378_422_289) + .saturating_add(Weight::from_proof_size(19880)) + // Standard Error: 979_734 + .saturating_add(Weight::from_ref_time(57_035_310).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(11465).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) - /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Ignored) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `889 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 284_147 nanoseconds. - Weight::from_ref_time(295_373_881) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 64_682 - .saturating_add(Weight::from_ref_time(114_198_680).saturating_mul(r.into())) + // Estimated: `18643 + r * (4805 ±0)` + // Minimum execution time: 375_001 nanoseconds. + Weight::from_ref_time(382_558_599) + .saturating_add(Weight::from_proof_size(18643)) + // Standard Error: 94_918 + .saturating_add(Weight::from_ref_time(112_973_277).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4805).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 282_681 nanoseconds. - Weight::from_ref_time(290_974_649) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 77_850 - .saturating_add(Weight::from_ref_time(233_273_622).saturating_mul(r.into())) + // Estimated: `17075 + r * (4000 ±0)` + // Minimum execution time: 372_547 nanoseconds. + Weight::from_ref_time(383_278_916) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 128_339 + .saturating_add(Weight::from_ref_time(229_356_088).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4000).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:322 w:322) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1778 + t * (2608 ±0) + n * (8 ±0)` - // Estimated: `0` - // Minimum execution time: 1_226_868 nanoseconds. - Weight::from_ref_time(517_031_747) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 342_786 - .saturating_add(Weight::from_ref_time(183_829_556).saturating_mul(t.into())) - // Standard Error: 94_145 - .saturating_add(Weight::from_ref_time(70_675_099).saturating_mul(n.into())) + // Estimated: `21675 + t * (211030 ±0) + n * (50 ±0)` + // Minimum execution time: 1_290_432 nanoseconds. + Weight::from_ref_time(595_859_216) + .saturating_add(Weight::from_proof_size(21675)) + // Standard Error: 602_943 + .saturating_add(Weight::from_ref_time(178_128_149).saturating_mul(t.into())) + // Standard Error: 165_597 + .saturating_add(Weight::from_ref_time(71_475_468).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(211030).saturating_mul(t.into())) + .saturating_add(Weight::from_proof_size(50).saturating_mul(n.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (560 ±0)` - // Estimated: `0` - // Minimum execution time: 143_026 nanoseconds. - Weight::from_ref_time(147_158_038) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 16_662 - .saturating_add(Weight::from_ref_time(14_990_989).saturating_mul(r.into())) + // Estimated: `17065 + r * (2800 ±0)` + // Minimum execution time: 149_020 nanoseconds. + Weight::from_ref_time(152_893_012) + .saturating_add(Weight::from_proof_size(17065)) + // Standard Error: 31_804 + .saturating_add(Weight::from_ref_time(14_497_512).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2800).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) @@ -955,2033 +979,2086 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `125792` // Estimated: `265059` - // Minimum execution time: 412_112 nanoseconds. - Weight::from_ref_time(415_624_011) + // Minimum execution time: 502_589 nanoseconds. + Weight::from_ref_time(506_695_307) .saturating_add(Weight::from_proof_size(265059)) - // Standard Error: 1_190 - .saturating_add(Weight::from_ref_time(797_964).saturating_mul(i.into())) + // Standard Error: 2_148 + .saturating_add(Weight::from_ref_time(814_647).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + r * (23417 ±0)` - // Estimated: `0` - // Minimum execution time: 286_118 nanoseconds. - Weight::from_ref_time(195_812_951) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 858_501 - .saturating_add(Weight::from_ref_time(485_357_331).saturating_mul(r.into())) + // Estimated: `883 + r * (23417 ±0)` + // Minimum execution time: 375_473 nanoseconds. + Weight::from_ref_time(291_125_810) + .saturating_add(Weight::from_proof_size(883)) + // Standard Error: 824_971 + .saturating_add(Weight::from_ref_time(477_999_695).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23417).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12583 + n * (11969 ±0)` - // Estimated: `0` - // Minimum execution time: 433_181 nanoseconds. - Weight::from_ref_time(618_575_096) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_696_126 - .saturating_add(Weight::from_ref_time(96_213_633).saturating_mul(n.into())) + // Estimated: `8500 + n * (12813 ±61)` + // Minimum execution time: 515_962 nanoseconds. + Weight::from_ref_time(697_904_030) + .saturating_add(Weight::from_proof_size(8500)) + // Standard Error: 1_684_000 + .saturating_add(Weight::from_ref_time(98_411_710).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(52_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(50_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(12813).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15138 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 433_354 nanoseconds. - Weight::from_ref_time(597_131_349) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_509_003 - .saturating_add(Weight::from_ref_time(64_872_907).saturating_mul(n.into())) + // Estimated: `9898 + n * (176855 ±74)` + // Minimum execution time: 515_828 nanoseconds. + Weight::from_ref_time(661_240_495) + .saturating_add(Weight::from_proof_size(9898)) + // Standard Error: 1_338_661 + .saturating_add(Weight::from_ref_time(65_767_819).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(49_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176855).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `876 + r * (23098 ±0)` - // Estimated: `0` - // Minimum execution time: 286_788 nanoseconds. - Weight::from_ref_time(207_787_332) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 778_284 - .saturating_add(Weight::from_ref_time(474_879_317).saturating_mul(r.into())) + // Estimated: `881 + r * (23097 ±0)` + // Minimum execution time: 375_528 nanoseconds. + Weight::from_ref_time(296_453_612) + .saturating_add(Weight::from_proof_size(881)) + // Standard Error: 809_232 + .saturating_add(Weight::from_ref_time(465_365_815).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23097).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `14863 + n * (175768 ±0)` - // Estimated: `0` - // Minimum execution time: 397_414 nanoseconds. - Weight::from_ref_time(573_575_029) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_630_691 - .saturating_add(Weight::from_ref_time(67_888_226).saturating_mul(n.into())) + // Estimated: `9519 + n * (176867 ±75)` + // Minimum execution time: 480_427 nanoseconds. + Weight::from_ref_time(640_337_570) + .saturating_add(Weight::from_proof_size(9519)) + // Standard Error: 1_497_141 + .saturating_add(Weight::from_ref_time(67_963_696).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(48_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176867).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `878 + r * (23740 ±0)` - // Estimated: `0` - // Minimum execution time: 286_098 nanoseconds. - Weight::from_ref_time(223_637_903) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 669_294 - .saturating_add(Weight::from_ref_time(387_577_627).saturating_mul(r.into())) + // Estimated: `880 + r * (23739 ±0)` + // Minimum execution time: 375_725 nanoseconds. + Weight::from_ref_time(307_839_394) + .saturating_add(Weight::from_proof_size(880)) + // Standard Error: 710_694 + .saturating_add(Weight::from_ref_time(381_738_407).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(23739).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15469 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 373_335 nanoseconds. - Weight::from_ref_time(531_442_564) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_474_336 - .saturating_add(Weight::from_ref_time(154_469_598).saturating_mul(n.into())) + // Estimated: `10010 + n * (176900 ±76)` + // Minimum execution time: 461_871 nanoseconds. + Weight::from_ref_time(605_755_493) + .saturating_add(Weight::from_proof_size(10010)) + // Standard Error: 1_375_044 + .saturating_add(Weight::from_ref_time(161_332_330).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(176900).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `871 + r * (23100 ±0)` - // Estimated: `0` - // Minimum execution time: 284_183 nanoseconds. - Weight::from_ref_time(223_325_689) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 644_587 - .saturating_add(Weight::from_ref_time(373_628_582).saturating_mul(r.into())) + // Estimated: `873 + r * (23099 ±0)` + // Minimum execution time: 375_325 nanoseconds. + Weight::from_ref_time(305_508_307) + .saturating_add(Weight::from_proof_size(873)) + // Standard Error: 715_627 + .saturating_add(Weight::from_ref_time(369_985_438).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(23099).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `14814 + n * (175782 ±0)` - // Estimated: `0` - // Minimum execution time: 368_310 nanoseconds. - Weight::from_ref_time(512_814_023) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_337_352 - .saturating_add(Weight::from_ref_time(62_871_539).saturating_mul(n.into())) + // Estimated: `9502 + n * (176872 ±75)` + // Minimum execution time: 457_128 nanoseconds. + Weight::from_ref_time(582_799_799) + .saturating_add(Weight::from_proof_size(9502)) + // Standard Error: 1_151_126 + .saturating_add(Weight::from_ref_time(63_425_277).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(176872).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `879 + r * (23740 ±0)` - // Estimated: `0` - // Minimum execution time: 287_096 nanoseconds. - Weight::from_ref_time(204_878_281) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 833_763 - .saturating_add(Weight::from_ref_time(483_927_706).saturating_mul(r.into())) + // Estimated: `881 + r * (23739 ±0)` + // Minimum execution time: 375_918 nanoseconds. + Weight::from_ref_time(293_217_646) + .saturating_add(Weight::from_proof_size(881)) + // Standard Error: 840_266 + .saturating_add(Weight::from_ref_time(478_374_701).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23739).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15470 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 399_318 nanoseconds. - Weight::from_ref_time(586_658_466) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_734_497 - .saturating_add(Weight::from_ref_time(161_047_970).saturating_mul(n.into())) + // Estimated: `10010 + n * (176898 ±76)` + // Minimum execution time: 484_207 nanoseconds. + Weight::from_ref_time(664_065_436) + .saturating_add(Weight::from_proof_size(10010)) + // Standard Error: 1_655_442 + .saturating_add(Weight::from_ref_time(166_258_757).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(48_u64)) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176898).saturating_mul(n.into())) } /// Storage: System Account (r:1602 w:1601) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1393 + r * (3602 ±0)` - // Estimated: `0` - // Minimum execution time: 285_460 nanoseconds. - Weight::from_ref_time(227_848_079) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 717_899 - .saturating_add(Weight::from_ref_time(1_434_112_130).saturating_mul(r.into())) + // Estimated: `21258 + r * (216091 ±0)` + // Minimum execution time: 377_152 nanoseconds. + Weight::from_ref_time(317_470_910) + .saturating_add(Weight::from_proof_size(21258)) + // Standard Error: 994_076 + .saturating_add(Weight::from_ref_time(1_409_416_087).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(216091).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1601) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:2 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:1602 w:1602) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1551 + r * (20511 ±0)` - // Estimated: `0` - // Minimum execution time: 286_947 nanoseconds. - Weight::from_ref_time(288_518_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_492_544 - .saturating_add(Weight::from_ref_time(21_606_377_662).saturating_mul(r.into())) + // Estimated: `21848 + r * (498651 ±1)` + // Minimum execution time: 376_257 nanoseconds. + Weight::from_ref_time(377_035_000) + .saturating_add(Weight::from_proof_size(21848)) + // Standard Error: 7_966_778 + .saturating_add(Weight::from_ref_time(28_873_495_129).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((160_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(498651).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1536 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:1537 w:1537) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (71670 ±0)` - // Estimated: `0` - // Minimum execution time: 285_196 nanoseconds. - Weight::from_ref_time(287_958_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 10_345_109 - .saturating_add(Weight::from_ref_time(21_395_365_662).saturating_mul(r.into())) + // Estimated: `17125 + r * (659927 ±822)` + // Minimum execution time: 376_544 nanoseconds. + Weight::from_ref_time(377_490_000) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 8_608_050 + .saturating_add(Weight::from_ref_time(28_568_714_410).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((75_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(659927).saturating_mul(r.into())) } /// Storage: System Account (r:82 w:81) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:81 w:81) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:2 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:82 w:82) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `21611 + t * (15369 ±0)` - // Estimated: `0` - // Minimum execution time: 10_540_614 nanoseconds. - Weight::from_ref_time(9_281_766_912) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_409_378 - .saturating_add(Weight::from_ref_time(1_449_975_070).saturating_mul(t.into())) - // Standard Error: 8_111 - .saturating_add(Weight::from_ref_time(10_275_108).saturating_mul(c.into())) + // Estimated: `519400 + t * (277320 ±0)` + // Minimum execution time: 10_322_052 nanoseconds. + Weight::from_ref_time(9_248_652_894) + .saturating_add(Weight::from_proof_size(519400)) + // Standard Error: 9_039_638 + .saturating_add(Weight::from_ref_time(1_393_054_441).saturating_mul(t.into())) + // Standard Error: 13_554 + .saturating_add(Weight::from_ref_time(9_819_606).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(167_u64)) .saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(163_u64)) .saturating_add(T::DbWeight::get().writes((81_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(277320).saturating_mul(t.into())) } /// Storage: System Account (r:1602 w:1602) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1601) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) - /// Storage: Contracts CodeStorage (r:1601 w:1600) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) + /// Storage: Contracts CodeStorage (r:1601 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1600 w:1600) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1602 w:1602) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1613 + r * (25576 ±0)` - // Estimated: `0` - // Minimum execution time: 285_643 nanoseconds. - Weight::from_ref_time(287_472_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 25_921_947 - .saturating_add(Weight::from_ref_time(27_745_815_511).saturating_mul(r.into())) + // Estimated: `25698 + r * (1169112 ±1)` + // Minimum execution time: 376_639 nanoseconds. + Weight::from_ref_time(377_892_000) + .saturating_add(Weight::from_proof_size(25698)) + // Standard Error: 21_259_255 + .saturating_add(Weight::from_ref_time(34_131_174_956).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(T::DbWeight::get().writes((400_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes((320_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(1169112).saturating_mul(r.into())) } /// Storage: System Account (r:82 w:82) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:81 w:81) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) - /// Storage: Contracts CodeStorage (r:2 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) + /// Storage: Contracts CodeStorage (r:2 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:82 w:82) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 960]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `5666 + t * (17 ±0)` - // Estimated: `0` - // Minimum execution time: 129_710_453 nanoseconds. - Weight::from_ref_time(14_347_603_160) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 194_692 - .saturating_add(Weight::from_ref_time(128_837_066).saturating_mul(i.into())) - // Standard Error: 194_692 - .saturating_add(Weight::from_ref_time(127_568_555).saturating_mul(s.into())) + // Estimated: `651914 + t * (2762 ±3)` + // Minimum execution time: 130_366_376 nanoseconds. + Weight::from_ref_time(9_844_607_874) + .saturating_add(Weight::from_proof_size(651914)) + // Standard Error: 100_211_149 + .saturating_add(Weight::from_ref_time(390_481_449).saturating_mul(t.into())) + // Standard Error: 163_416 + .saturating_add(Weight::from_ref_time(126_154_200).saturating_mul(i.into())) + // Standard Error: 163_416 + .saturating_add(Weight::from_ref_time(126_430_874).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(249_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(247_u64)) + .saturating_add(T::DbWeight::get().writes(246_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(2762).saturating_mul(t.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `839 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_059 nanoseconds. - Weight::from_ref_time(287_215_177) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 273_484 - .saturating_add(Weight::from_ref_time(44_941_522).saturating_mul(r.into())) + // Estimated: `17065 + r * (3210 ±0)` + // Minimum execution time: 373_848 nanoseconds. + Weight::from_ref_time(375_974_597) + .saturating_add(Weight::from_proof_size(17065)) + // Standard Error: 558_923 + .saturating_add(Weight::from_ref_time(42_648_202).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1641` - // Estimated: `0` - // Minimum execution time: 330_822 nanoseconds. - Weight::from_ref_time(333_012_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 53_200 - .saturating_add(Weight::from_ref_time(327_144_474).saturating_mul(n.into())) + // Estimated: `21000` + // Minimum execution time: 417_281 nanoseconds. + Weight::from_ref_time(418_086_000) + .saturating_add(Weight::from_proof_size(21000)) + // Standard Error: 43_883 + .saturating_add(Weight::from_ref_time(324_497_460).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_859 nanoseconds. - Weight::from_ref_time(286_293_402) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 187_930 - .saturating_add(Weight::from_ref_time(57_415_297).saturating_mul(r.into())) + // Estimated: `17075 + r * (3210 ±0)` + // Minimum execution time: 372_362 nanoseconds. + Weight::from_ref_time(374_975_677) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 307_932 + .saturating_add(Weight::from_ref_time(57_607_522).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 342_221 nanoseconds. - Weight::from_ref_time(343_250_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 67_989 - .saturating_add(Weight::from_ref_time(261_498_077).saturating_mul(n.into())) + // Estimated: `21040` + // Minimum execution time: 431_034 nanoseconds. + Weight::from_ref_time(431_571_000) + .saturating_add(Weight::from_proof_size(21040)) + // Standard Error: 80_071 + .saturating_add(Weight::from_ref_time(261_645_325).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_158 nanoseconds. - Weight::from_ref_time(285_783_279) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 200_413 - .saturating_add(Weight::from_ref_time(35_099_520).saturating_mul(r.into())) + // Estimated: `17075 + r * (3210 ±0)` + // Minimum execution time: 372_069 nanoseconds. + Weight::from_ref_time(374_200_608) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 171_799 + .saturating_add(Weight::from_ref_time(32_843_391).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 317_376 nanoseconds. - Weight::from_ref_time(319_441_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 61_325 - .saturating_add(Weight::from_ref_time(101_080_739).saturating_mul(n.into())) + // Estimated: `21010` + // Minimum execution time: 406_143 nanoseconds. + Weight::from_ref_time(406_744_000) + .saturating_add(Weight::from_proof_size(21010)) + // Standard Error: 48_038 + .saturating_add(Weight::from_ref_time(103_286_295).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (679 ±0)` - // Estimated: `0` - // Minimum execution time: 280_403 nanoseconds. - Weight::from_ref_time(282_592_267) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 237_832 - .saturating_add(Weight::from_ref_time(37_056_632).saturating_mul(r.into())) + // Estimated: `17075 + r * (3395 ±0)` + // Minimum execution time: 372_201 nanoseconds. + Weight::from_ref_time(374_049_708) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 387_179 + .saturating_add(Weight::from_ref_time(38_857_191).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3395).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 315_482 nanoseconds. - Weight::from_ref_time(316_160_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 40_926 - .saturating_add(Weight::from_ref_time(100_317_235).saturating_mul(n.into())) + // Estimated: `21050` + // Minimum execution time: 405_819 nanoseconds. + Weight::from_ref_time(406_364_000) + .saturating_add(Weight::from_proof_size(21050)) + // Standard Error: 46_248 + .saturating_add(Weight::from_ref_time(103_189_157).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `885 + r * (6083 ±0)` - // Estimated: `0` - // Minimum execution time: 276_155 nanoseconds. - Weight::from_ref_time(278_531_728) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 510_501 - .saturating_add(Weight::from_ref_time(3_056_236_671).saturating_mul(r.into())) + // Estimated: `17295 + r * (30415 ±0)` + // Minimum execution time: 374_836 nanoseconds. + Weight::from_ref_time(379_385_500) + .saturating_add(Weight::from_proof_size(17295)) + // Standard Error: 1_694_427 + .saturating_add(Weight::from_ref_time(3_021_801_000).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(30415).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `854 + r * (3362 ±0)` - // Estimated: `0` - // Minimum execution time: 276_204 nanoseconds. - Weight::from_ref_time(278_114_283) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 217_508 - .saturating_add(Weight::from_ref_time(737_577_816).saturating_mul(r.into())) + // Estimated: `17140 + r * (16810 ±0)` + // Minimum execution time: 374_223 nanoseconds. + Weight::from_ref_time(376_120_230) + .saturating_add(Weight::from_proof_size(17140)) + // Standard Error: 619_576 + .saturating_add(Weight::from_ref_time(754_257_969).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(16810).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1536 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1536 w:1536) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1538 w:1538) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (79300 ±0)` - // Estimated: `0` - // Minimum execution time: 276_330 nanoseconds. - Weight::from_ref_time(277_573_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_652_635 - .saturating_add(Weight::from_ref_time(1_547_361_882).saturating_mul(r.into())) + // Estimated: `64652 + r * (942952 ±829)` + // Minimum execution time: 374_442 nanoseconds. + Weight::from_ref_time(375_591_000) + .saturating_add(Weight::from_proof_size(64652)) + // Standard Error: 3_764_193 + .saturating_add(Weight::from_ref_time(1_552_885_601).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((150_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(942952).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `837 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 276_228 nanoseconds. - Weight::from_ref_time(281_135_551) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 18_737 - .saturating_add(Weight::from_ref_time(10_998_953).saturating_mul(r.into())) + // Estimated: `17055 + r * (1200 ±0)` + // Minimum execution time: 374_922 nanoseconds. + Weight::from_ref_time(376_234_094) + .saturating_add(Weight::from_proof_size(17055)) + // Standard Error: 45_995 + .saturating_add(Weight::from_ref_time(11_606_505).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1200).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_account_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2056 + r * (3153 ±0)` - // Estimated: `0` - // Minimum execution time: 278_157 nanoseconds. - Weight::from_ref_time(300_739_078) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 72_695 - .saturating_add(Weight::from_ref_time(18_499_645).saturating_mul(r.into())) + // Estimated: `21730 + r * (15870 ±2)` + // Minimum execution time: 376_762 nanoseconds. + Weight::from_ref_time(396_934_359) + .saturating_add(Weight::from_proof_size(21730)) + // Standard Error: 68_263 + .saturating_add(Weight::from_ref_time(18_367_270).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(15870).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiation_nonce(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `840 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 275_532 nanoseconds. - Weight::from_ref_time(281_299_677) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 21_719 - .saturating_add(Weight::from_ref_time(9_513_444).saturating_mul(r.into())) + // Estimated: `18405 + r * (1440 ±0)` + // Minimum execution time: 374_257 nanoseconds. + Weight::from_ref_time(380_453_380) + .saturating_add(Weight::from_proof_size(18405)) + // Standard Error: 42_718 + .saturating_add(Weight::from_ref_time(9_355_253).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(1440).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_054_710) + // Minimum execution time: 788 nanoseconds. + Weight::from_ref_time(1_209_829) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 273 - .saturating_add(Weight::from_ref_time(411_548).saturating_mul(r.into())) + // Standard Error: 3_436 + .saturating_add(Weight::from_ref_time(409_858).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 980 nanoseconds. - Weight::from_ref_time(1_463_182) + // Minimum execution time: 955 nanoseconds. + Weight::from_ref_time(1_526_327) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 415 - .saturating_add(Weight::from_ref_time(1_063_436).saturating_mul(r.into())) + // Standard Error: 2_399 + .saturating_add(Weight::from_ref_time(1_084_504).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 991 nanoseconds. - Weight::from_ref_time(1_521_750) + // Minimum execution time: 967 nanoseconds. + Weight::from_ref_time(1_576_183) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_499 - .saturating_add(Weight::from_ref_time(997_972).saturating_mul(r.into())) + // Standard Error: 5_719 + .saturating_add(Weight::from_ref_time(1_006_742).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 833 nanoseconds. - Weight::from_ref_time(1_152_048) + // Minimum execution time: 849 nanoseconds. + Weight::from_ref_time(1_106_539) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 392 - .saturating_add(Weight::from_ref_time(1_147_506).saturating_mul(r.into())) + // Standard Error: 445 + .saturating_add(Weight::from_ref_time(1_149_752).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 866 nanoseconds. - Weight::from_ref_time(1_154_637) + // Minimum execution time: 829 nanoseconds. + Weight::from_ref_time(1_171_360) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_131 - .saturating_add(Weight::from_ref_time(1_320_580).saturating_mul(r.into())) + // Standard Error: 552 + .saturating_add(Weight::from_ref_time(1_309_914).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 849 nanoseconds. - Weight::from_ref_time(1_073_940) + // Minimum execution time: 835 nanoseconds. + Weight::from_ref_time(1_125_578) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 639 - .saturating_add(Weight::from_ref_time(642_885).saturating_mul(r.into())) + // Standard Error: 374 + .saturating_add(Weight::from_ref_time(641_683).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 855 nanoseconds. - Weight::from_ref_time(728_631) + // Minimum execution time: 816 nanoseconds. + Weight::from_ref_time(1_032_093) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_730 - .saturating_add(Weight::from_ref_time(979_839).saturating_mul(r.into())) + // Standard Error: 811 + .saturating_add(Weight::from_ref_time(956_228).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(658_935) + // Minimum execution time: 801 nanoseconds. + Weight::from_ref_time(816_764) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_373 - .saturating_add(Weight::from_ref_time(1_172_585).saturating_mul(r.into())) + // Standard Error: 2_669 + .saturating_add(Weight::from_ref_time(1_166_556).saturating_mul(r.into())) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_577 nanoseconds. - Weight::from_ref_time(2_872_555) + // Minimum execution time: 2_639 nanoseconds. + Weight::from_ref_time(2_905_554) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 70 - .saturating_add(Weight::from_ref_time(4_237).saturating_mul(e.into())) + // Standard Error: 62 + .saturating_add(Weight::from_ref_time(4_438).saturating_mul(e.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 833 nanoseconds. - Weight::from_ref_time(874_000) + // Minimum execution time: 831 nanoseconds. + Weight::from_ref_time(1_729_584) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 30_863 - .saturating_add(Weight::from_ref_time(2_591_963).saturating_mul(r.into())) + // Standard Error: 33_753 + .saturating_add(Weight::from_ref_time(2_380_315).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 992 nanoseconds. - Weight::from_ref_time(2_772_709) + // Minimum execution time: 964 nanoseconds. + Weight::from_ref_time(2_445_291) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_822 - .saturating_add(Weight::from_ref_time(3_070_825).saturating_mul(r.into())) + // Standard Error: 3_285 + .saturating_add(Weight::from_ref_time(2_938_681).saturating_mul(r.into())) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_766 nanoseconds. - Weight::from_ref_time(5_559_951) + // Minimum execution time: 4_809 nanoseconds. + Weight::from_ref_time(6_763_286) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 315 - .saturating_add(Weight::from_ref_time(227_249).saturating_mul(p.into())) + // Standard Error: 3_994 + .saturating_add(Weight::from_ref_time(217_632).saturating_mul(p.into())) } /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_215 nanoseconds. - Weight::from_ref_time(4_697_732) + // Minimum execution time: 3_138 nanoseconds. + Weight::from_ref_time(3_894_816) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 99 - .saturating_add(Weight::from_ref_time(46_431).saturating_mul(l.into())) + // Standard Error: 131 + .saturating_add(Weight::from_ref_time(91_699).saturating_mul(l.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_193 nanoseconds. - Weight::from_ref_time(2_472_277) + // Minimum execution time: 2_959 nanoseconds. + Weight::from_ref_time(3_271_550) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 374 - .saturating_add(Weight::from_ref_time(459_651).saturating_mul(r.into())) + // Standard Error: 223 + .saturating_add(Weight::from_ref_time(460_056).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_112 nanoseconds. - Weight::from_ref_time(2_388_132) + // Minimum execution time: 2_970 nanoseconds. + Weight::from_ref_time(3_216_157) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 380 - .saturating_add(Weight::from_ref_time(485_216).saturating_mul(r.into())) + // Standard Error: 413 + .saturating_add(Weight::from_ref_time(485_842).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_219 nanoseconds. - Weight::from_ref_time(2_419_568) + // Minimum execution time: 2_980 nanoseconds. + Weight::from_ref_time(3_323_878) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 402 - .saturating_add(Weight::from_ref_time(658_484).saturating_mul(r.into())) + // Standard Error: 2_652 + .saturating_add(Weight::from_ref_time(660_257).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 959 nanoseconds. - Weight::from_ref_time(1_321_004) + // Minimum execution time: 917 nanoseconds. + Weight::from_ref_time(1_445_816) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 480 - .saturating_add(Weight::from_ref_time(898_447).saturating_mul(r.into())) + // Standard Error: 5_642 + .saturating_add(Weight::from_ref_time(894_521).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 934 nanoseconds. - Weight::from_ref_time(1_264_350) + // Minimum execution time: 965 nanoseconds. + Weight::from_ref_time(1_373_722) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_031 - .saturating_add(Weight::from_ref_time(922_243).saturating_mul(r.into())) + // Standard Error: 1_157 + .saturating_add(Weight::from_ref_time(917_643).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 941 nanoseconds. - Weight::from_ref_time(1_229_407) + // Minimum execution time: 982 nanoseconds. + Weight::from_ref_time(1_240_280) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 507 - .saturating_add(Weight::from_ref_time(824_206).saturating_mul(r.into())) + // Standard Error: 308 + .saturating_add(Weight::from_ref_time(817_972).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 870 nanoseconds. - Weight::from_ref_time(946_681) + // Minimum execution time: 858 nanoseconds. + Weight::from_ref_time(962_183) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_248 - .saturating_add(Weight::from_ref_time(179_759_218).saturating_mul(r.into())) + // Standard Error: 6_701 + .saturating_add(Weight::from_ref_time(239_704_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_105_279) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_132_872) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 251 - .saturating_add(Weight::from_ref_time(633_218).saturating_mul(r.into())) + // Standard Error: 303 + .saturating_add(Weight::from_ref_time(633_832).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_119_719) + // Minimum execution time: 823 nanoseconds. + Weight::from_ref_time(1_267_518) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 248 - .saturating_add(Weight::from_ref_time(633_064).saturating_mul(r.into())) + // Standard Error: 483 + .saturating_add(Weight::from_ref_time(632_620).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 865 nanoseconds. - Weight::from_ref_time(1_394_651) + // Minimum execution time: 857 nanoseconds. + Weight::from_ref_time(1_105_214) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 9_898 - .saturating_add(Weight::from_ref_time(630_054).saturating_mul(r.into())) + // Standard Error: 285 + .saturating_add(Weight::from_ref_time(635_039).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 831 nanoseconds. - Weight::from_ref_time(1_095_288) + // Minimum execution time: 821 nanoseconds. + Weight::from_ref_time(750_223) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 271 - .saturating_add(Weight::from_ref_time(650_578).saturating_mul(r.into())) + // Standard Error: 15_923 + .saturating_add(Weight::from_ref_time(686_322).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 835 nanoseconds. - Weight::from_ref_time(1_128_234) + // Minimum execution time: 797 nanoseconds. + Weight::from_ref_time(1_145_072) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 239 - .saturating_add(Weight::from_ref_time(615_970).saturating_mul(r.into())) + // Standard Error: 311 + .saturating_add(Weight::from_ref_time(618_147).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 839 nanoseconds. - Weight::from_ref_time(1_111_296) + // Minimum execution time: 803 nanoseconds. + Weight::from_ref_time(1_139_498) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 303 - .saturating_add(Weight::from_ref_time(616_831).saturating_mul(r.into())) + // Standard Error: 284 + .saturating_add(Weight::from_ref_time(617_393).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 839 nanoseconds. - Weight::from_ref_time(1_082_700) + // Minimum execution time: 814 nanoseconds. + Weight::from_ref_time(1_099_405) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 236 - .saturating_add(Weight::from_ref_time(617_371).saturating_mul(r.into())) + // Standard Error: 663 + .saturating_add(Weight::from_ref_time(618_565).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 837 nanoseconds. - Weight::from_ref_time(1_249_666) + // Minimum execution time: 819 nanoseconds. + Weight::from_ref_time(1_199_220) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 836 - .saturating_add(Weight::from_ref_time(904_457).saturating_mul(r.into())) + // Standard Error: 485 + .saturating_add(Weight::from_ref_time(906_878).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 818 nanoseconds. - Weight::from_ref_time(1_624_057) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(274_212) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_906 - .saturating_add(Weight::from_ref_time(893_488).saturating_mul(r.into())) + // Standard Error: 29_294 + .saturating_add(Weight::from_ref_time(971_608).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 836 nanoseconds. - Weight::from_ref_time(1_973_044) + // Minimum execution time: 796 nanoseconds. + Weight::from_ref_time(1_396_586) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_556 - .saturating_add(Weight::from_ref_time(885_369).saturating_mul(r.into())) + // Standard Error: 7_205 + .saturating_add(Weight::from_ref_time(903_202).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_088_223) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(1_115_115) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 531 - .saturating_add(Weight::from_ref_time(909_313).saturating_mul(r.into())) + // Standard Error: 310 + .saturating_add(Weight::from_ref_time(908_195).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 842 nanoseconds. - Weight::from_ref_time(1_435_966) + // Minimum execution time: 854 nanoseconds. + Weight::from_ref_time(1_170_419) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_824 - .saturating_add(Weight::from_ref_time(898_198).saturating_mul(r.into())) + // Standard Error: 298 + .saturating_add(Weight::from_ref_time(907_171).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_154_015) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(1_186_349) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 319 - .saturating_add(Weight::from_ref_time(918_083).saturating_mul(r.into())) + // Standard Error: 302 + .saturating_add(Weight::from_ref_time(917_857).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 848 nanoseconds. - Weight::from_ref_time(1_155_323) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_127_093) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 307 - .saturating_add(Weight::from_ref_time(906_516).saturating_mul(r.into())) + // Standard Error: 1_891 + .saturating_add(Weight::from_ref_time(910_738).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 877 nanoseconds. - Weight::from_ref_time(1_629_210) + // Minimum execution time: 819 nanoseconds. + Weight::from_ref_time(1_143_022) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_175 - .saturating_add(Weight::from_ref_time(906_657).saturating_mul(r.into())) + // Standard Error: 309 + .saturating_add(Weight::from_ref_time(919_047).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_126_252) + // Minimum execution time: 788 nanoseconds. + Weight::from_ref_time(1_116_914) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 251 - .saturating_add(Weight::from_ref_time(907_052).saturating_mul(r.into())) + // Standard Error: 643 + .saturating_add(Weight::from_ref_time(911_159).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(1_497_667) + // Minimum execution time: 791 nanoseconds. + Weight::from_ref_time(1_123_747) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_593 - .saturating_add(Weight::from_ref_time(897_474).saturating_mul(r.into())) + // Standard Error: 583 + .saturating_add(Weight::from_ref_time(910_242).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_350_390) + // Minimum execution time: 787 nanoseconds. + Weight::from_ref_time(1_109_471) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_625 - .saturating_add(Weight::from_ref_time(889_609).saturating_mul(r.into())) + // Standard Error: 305 + .saturating_add(Weight::from_ref_time(897_608).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 841 nanoseconds. - Weight::from_ref_time(2_677_235) + // Minimum execution time: 821 nanoseconds. + Weight::from_ref_time(1_098_631) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 11_507 - .saturating_add(Weight::from_ref_time(846_704).saturating_mul(r.into())) + // Standard Error: 523 + .saturating_add(Weight::from_ref_time(887_814).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_148_206) + // Minimum execution time: 794 nanoseconds. + Weight::from_ref_time(1_166_332) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 393 - .saturating_add(Weight::from_ref_time(884_886).saturating_mul(r.into())) + // Standard Error: 384 + .saturating_add(Weight::from_ref_time(885_584).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 865 nanoseconds. - Weight::from_ref_time(2_862_483) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(1_155_826) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 16_413 - .saturating_add(Weight::from_ref_time(1_481_623).saturating_mul(r.into())) + // Standard Error: 521 + .saturating_add(Weight::from_ref_time(1_520_958).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_443 nanoseconds. - Weight::from_ref_time(1_086_902) + // Minimum execution time: 881 nanoseconds. + Weight::from_ref_time(1_158_125) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_245 - .saturating_add(Weight::from_ref_time(1_463_145).saturating_mul(r.into())) + // Standard Error: 624 + .saturating_add(Weight::from_ref_time(1_458_378).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 878 nanoseconds. - Weight::from_ref_time(1_130_306) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_209_535) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 475 - .saturating_add(Weight::from_ref_time(1_522_011).saturating_mul(r.into())) + // Standard Error: 399 + .saturating_add(Weight::from_ref_time(1_547_640).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 827 nanoseconds. - Weight::from_ref_time(1_197_053) + // Minimum execution time: 801 nanoseconds. + Weight::from_ref_time(1_313_872) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 474 - .saturating_add(Weight::from_ref_time(1_449_062).saturating_mul(r.into())) + // Standard Error: 2_175 + .saturating_add(Weight::from_ref_time(1_449_416).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 847 nanoseconds. - Weight::from_ref_time(1_152_423) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_093_874) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 296 - .saturating_add(Weight::from_ref_time(895_541).saturating_mul(r.into())) + // Standard Error: 708 + .saturating_add(Weight::from_ref_time(901_450).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 876 nanoseconds. - Weight::from_ref_time(1_169_485) + // Minimum execution time: 824 nanoseconds. + Weight::from_ref_time(1_164_076) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 571 - .saturating_add(Weight::from_ref_time(932_659).saturating_mul(r.into())) + // Standard Error: 623 + .saturating_add(Weight::from_ref_time(897_579).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_155_127) + // Minimum execution time: 789 nanoseconds. + Weight::from_ref_time(1_113_915) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 256 - .saturating_add(Weight::from_ref_time(895_663).saturating_mul(r.into())) + // Standard Error: 390 + .saturating_add(Weight::from_ref_time(897_354).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 871 nanoseconds. - Weight::from_ref_time(1_139_722) + // Minimum execution time: 811 nanoseconds. + Weight::from_ref_time(1_117_366) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 367 - .saturating_add(Weight::from_ref_time(903_115).saturating_mul(r.into())) + // Standard Error: 437 + .saturating_add(Weight::from_ref_time(903_759).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 853 nanoseconds. - Weight::from_ref_time(1_155_542) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_103_954) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 541 - .saturating_add(Weight::from_ref_time(901_635).saturating_mul(r.into())) + // Standard Error: 414 + .saturating_add(Weight::from_ref_time(903_429).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 866 nanoseconds. - Weight::from_ref_time(2_260_588) + // Minimum execution time: 803 nanoseconds. + Weight::from_ref_time(1_124_328) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 12_944 - .saturating_add(Weight::from_ref_time(877_790).saturating_mul(r.into())) + // Standard Error: 410 + .saturating_add(Weight::from_ref_time(903_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851 nanoseconds. - Weight::from_ref_time(1_627_816) + // Minimum execution time: 810 nanoseconds. + Weight::from_ref_time(1_131_433) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 4_004 - .saturating_add(Weight::from_ref_time(887_929).saturating_mul(r.into())) + // Standard Error: 402 + .saturating_add(Weight::from_ref_time(903_381).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 874 nanoseconds. - Weight::from_ref_time(2_611_817) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_144_933) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 10_026 - .saturating_add(Weight::from_ref_time(862_138).saturating_mul(r.into())) + // Standard Error: 373 + .saturating_add(Weight::from_ref_time(902_918).saturating_mul(r.into())) } } // For backwards compatibility and tests impl WeightInfo for () { /// Storage: Contracts DeletionQueue (r:1 w:0) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) fn on_process_deletion_queue_batch() -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `0` - // Minimum execution time: 2_564 nanoseconds. - Weight::from_ref_time(2_722_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `604` + // Minimum execution time: 2_507 nanoseconds. + Weight::from_ref_time(2_650_000) + .saturating_add(Weight::from_proof_size(604)) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `481 + k * (69 ±0)` - // Estimated: `0` - // Minimum execution time: 10_292 nanoseconds. - Weight::from_ref_time(7_474_496) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 901 - .saturating_add(Weight::from_ref_time(956_864).saturating_mul(k.into())) + // Estimated: `471 + k * (70 ±0)` + // Minimum execution time: 9_953 nanoseconds. + Weight::from_ref_time(6_467_352) + .saturating_add(Weight::from_proof_size(471)) + // Standard Error: 1_074 + .saturating_add(Weight::from_ref_time(943_946).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_proof_size(70).saturating_mul(k.into())) } /// Storage: Contracts DeletionQueue (r:1 w:1) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + q * (33 ±0)` - // Estimated: `0` - // Minimum execution time: 2_620 nanoseconds. - Weight::from_ref_time(10_288_873) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_073 - .saturating_add(Weight::from_ref_time(1_148_167).saturating_mul(q.into())) + // Estimated: `763 + q * (33 ±0)` + // Minimum execution time: 2_545 nanoseconds. + Weight::from_ref_time(10_080_106) + .saturating_add(Weight::from_proof_size(763)) + // Standard Error: 2_929 + .saturating_add(Weight::from_ref_time(1_078_265).saturating_mul(q.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(33).saturating_mul(q.into())) } /// Storage: Contracts PristineCode (r:1 w:0) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// Storage: Contracts CodeStorage (r:0 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// The range of component `c` is `[0, 61717]`. fn reinstrument(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `270 + c * (1 ±0)` - // Estimated: `0` - // Minimum execution time: 28_004 nanoseconds. - Weight::from_ref_time(26_706_943) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 67 - .saturating_add(Weight::from_ref_time(51_603).saturating_mul(c.into())) + // Estimated: `3025 + c * (2 ±0)` + // Minimum execution time: 34_613 nanoseconds. + Weight::from_ref_time(27_355_774) + .saturating_add(Weight::from_proof_size(3025)) + // Standard Error: 81 + .saturating_add(Weight::from_ref_time(51_954).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_proof_size(2).saturating_mul(c.into())) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `771` - // Estimated: `0` - // Minimum execution time: 295_799 nanoseconds. - Weight::from_ref_time(308_660_753) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 20 - .saturating_add(Weight::from_ref_time(32_458).saturating_mul(c.into())) + // Estimated: `16780 + c * (5 ±0)` + // Minimum execution time: 386_104 nanoseconds. + Weight::from_ref_time(396_718_823) + .saturating_add(Weight::from_proof_size(16780)) + // Standard Error: 27 + .saturating_add(Weight::from_ref_time(31_370).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(5).saturating_mul(c.into())) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) - /// Storage: Contracts OwnerInfoOf (r:0 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// The range of component `c` is `[0, 61717]`. /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `257` - // Estimated: `0` - // Minimum execution time: 3_754_887 nanoseconds. - Weight::from_ref_time(657_695_827) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 283 - .saturating_add(Weight::from_ref_time(94_808).saturating_mul(c.into())) + // Estimated: `17752` + // Minimum execution time: 3_786_500 nanoseconds. + Weight::from_ref_time(672_511_565) + .saturating_add(Weight::from_proof_size(17752)) + // Standard Error: 281 + .saturating_add(Weight::from_ref_time(94_538).saturating_mul(c.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_357).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_364).saturating_mul(i.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_756).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_768).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(9_u64)) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `i` is `[0, 1048576]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `533` - // Estimated: `0` - // Minimum execution time: 1_961_131 nanoseconds. - Weight::from_ref_time(208_539_564) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `19543` + // Minimum execution time: 1_927_365 nanoseconds. + Weight::from_ref_time(189_843_928) + .saturating_add(Weight::from_proof_size(19543)) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_688).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_677).saturating_mul(i.into())) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_802).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_803).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn call() -> Weight { // Proof Size summary in bytes: // Measured: `823` - // Estimated: `0` - // Minimum execution time: 148_138 nanoseconds. - Weight::from_ref_time(148_862_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `16985` + // Minimum execution time: 146_354 nanoseconds. + Weight::from_ref_time(147_693_000) + .saturating_add(Weight::from_proof_size(16985)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Contracts CodeStorage (r:1 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Storage: Contracts OwnerInfoOf (r:1 w:1) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1 w:1) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// Storage: Contracts CodeStorage (r:0 w:1) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) - /// Storage: Contracts OwnerInfoOf (r:0 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) /// The range of component `c` is `[0, 61717]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `109` - // Estimated: `0` - // Minimum execution time: 293_444 nanoseconds. - Weight::from_ref_time(293_242_988) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 156 - .saturating_add(Weight::from_ref_time(97_476).saturating_mul(c.into())) + // Estimated: `5386` + // Minimum execution time: 388_107 nanoseconds. + Weight::from_ref_time(383_172_702) + .saturating_add(Weight::from_proof_size(5386)) + // Standard Error: 73 + .saturating_add(Weight::from_ref_time(95_037).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1 w:1) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// Storage: Contracts CodeStorage (r:0 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Contracts PristineCode (r:0 w:1) - /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Ignored) + /// Proof: Contracts PristineCode (max_values: None, max_size: Some(125988), added: 128463, mode: Measured) fn remove_code() -> Weight { // Proof Size summary in bytes: // Measured: `287` - // Estimated: `0` - // Minimum execution time: 26_802 nanoseconds. - Weight::from_ref_time(27_121_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `6098` + // Minimum execution time: 26_278 nanoseconds. + Weight::from_ref_time(26_682_000) + .saturating_add(Weight::from_proof_size(6098)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:2 w:2) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) fn set_code() -> Weight { // Proof Size summary in bytes: // Measured: `634` - // Estimated: `0` - // Minimum execution time: 31_079 nanoseconds. - Weight::from_ref_time(31_541_000) - .saturating_add(Weight::from_proof_size(0)) + // Estimated: `16752` + // Minimum execution time: 30_223 nanoseconds. + Weight::from_ref_time(30_737_000) + .saturating_add(Weight::from_proof_size(16752)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `845 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_877 nanoseconds. - Weight::from_ref_time(290_043_606) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_094 - .saturating_add(Weight::from_ref_time(18_094_219).saturating_mul(r.into())) + // Estimated: `17120 + r * (2400 ±0)` + // Minimum execution time: 374_780 nanoseconds. + Weight::from_ref_time(379_468_453) + .saturating_add(Weight::from_proof_size(17120)) + // Standard Error: 45_809 + .saturating_add(Weight::from_ref_time(17_553_577).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `882 + r * (19218 ±0)` - // Estimated: `0` - // Minimum execution time: 283_956 nanoseconds. - Weight::from_ref_time(129_690_397) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 531_270 - .saturating_add(Weight::from_ref_time(264_082_418).saturating_mul(r.into())) + // Estimated: `17110 + r * (294100 ±0)` + // Minimum execution time: 374_399 nanoseconds. + Weight::from_ref_time(228_569_211) + .saturating_add(Weight::from_proof_size(17110)) + // Standard Error: 492_562 + .saturating_add(Weight::from_ref_time(251_682_897).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(294100).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `889 + r * (19539 ±0)` - // Estimated: `0` - // Minimum execution time: 287_077 nanoseconds. - Weight::from_ref_time(148_155_166) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 466_496 - .saturating_add(Weight::from_ref_time(306_625_930).saturating_mul(r.into())) + // Estimated: `17170 + r * (295700 ±0)` + // Minimum execution time: 375_980 nanoseconds. + Weight::from_ref_time(232_604_331) + .saturating_add(Weight::from_proof_size(17170)) + // Standard Error: 491_912 + .saturating_add(Weight::from_ref_time(299_479_335).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(295700).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `852 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 286_459 nanoseconds. - Weight::from_ref_time(292_826_594) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 27_808 - .saturating_add(Weight::from_ref_time(22_401_931).saturating_mul(r.into())) + // Estimated: `17155 + r * (2400 ±0)` + // Minimum execution time: 375_075 nanoseconds. + Weight::from_ref_time(381_217_372) + .saturating_add(Weight::from_proof_size(17155)) + // Standard Error: 63_950 + .saturating_add(Weight::from_ref_time(21_872_316).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 284_330 nanoseconds. - Weight::from_ref_time(289_069_701) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 13_666 - .saturating_add(Weight::from_ref_time(11_157_859).saturating_mul(r.into())) + // Estimated: `17080 + r * (1200 ±0)` + // Minimum execution time: 373_260 nanoseconds. + Weight::from_ref_time(377_987_666) + .saturating_add(Weight::from_proof_size(17080)) + // Standard Error: 35_603 + .saturating_add(Weight::from_ref_time(11_274_165).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1200).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `846 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_506 nanoseconds. - Weight::from_ref_time(290_155_141) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_944 - .saturating_add(Weight::from_ref_time(17_992_627).saturating_mul(r.into())) + // Estimated: `17100 + r * (2400 ±0)` + // Minimum execution time: 374_605 nanoseconds. + Weight::from_ref_time(379_395_443) + .saturating_add(Weight::from_proof_size(17100)) + // Standard Error: 49_646 + .saturating_add(Weight::from_ref_time(17_487_585).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `847 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_177 nanoseconds. - Weight::from_ref_time(289_314_787) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 24_552 - .saturating_add(Weight::from_ref_time(17_754_919).saturating_mul(r.into())) + // Estimated: `17105 + r * (2400 ±0)` + // Minimum execution time: 374_620 nanoseconds. + Weight::from_ref_time(379_623_792) + .saturating_add(Weight::from_proof_size(17105)) + // Standard Error: 49_990 + .saturating_add(Weight::from_ref_time(17_226_706).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:2 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1017 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_096 nanoseconds. - Weight::from_ref_time(293_655_130) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 56_379 - .saturating_add(Weight::from_ref_time(95_688_575).saturating_mul(r.into())) + // Estimated: `19673 + r * (2456 ±4)` + // Minimum execution time: 374_002 nanoseconds. + Weight::from_ref_time(384_615_649) + .saturating_add(Weight::from_proof_size(19673)) + // Standard Error: 85_633 + .saturating_add(Weight::from_ref_time(95_227_118).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2456).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `856 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_967 nanoseconds. - Weight::from_ref_time(288_043_137) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 83_838 - .saturating_add(Weight::from_ref_time(18_256_709).saturating_mul(r.into())) + // Estimated: `17200 + r * (2400 ±0)` + // Minimum execution time: 375_307 nanoseconds. + Weight::from_ref_time(378_389_705) + .saturating_add(Weight::from_proof_size(17200)) + // Standard Error: 42_265 + .saturating_add(Weight::from_ref_time(17_316_680).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `854 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 284_060 nanoseconds. - Weight::from_ref_time(290_577_678) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 26_131 - .saturating_add(Weight::from_ref_time(17_560_562).saturating_mul(r.into())) + // Estimated: `17140 + r * (2400 ±0)` + // Minimum execution time: 374_878 nanoseconds. + Weight::from_ref_time(379_364_066) + .saturating_add(Weight::from_proof_size(17140)) + // Standard Error: 49_158 + .saturating_add(Weight::from_ref_time(17_111_145).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `851 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 286_068 nanoseconds. - Weight::from_ref_time(290_026_137) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 34_787 - .saturating_add(Weight::from_ref_time(17_597_404).saturating_mul(r.into())) + // Estimated: `17125 + r * (2400 ±0)` + // Minimum execution time: 374_981 nanoseconds. + Weight::from_ref_time(381_539_022) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 61_419 + .saturating_add(Weight::from_ref_time(17_062_381).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_082 nanoseconds. - Weight::from_ref_time(290_487_103) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 22_743 - .saturating_add(Weight::from_ref_time(17_506_771).saturating_mul(r.into())) + // Estimated: `17100 + r * (2400 ±0)` + // Minimum execution time: 374_798 nanoseconds. + Weight::from_ref_time(372_659_915) + .saturating_add(Weight::from_proof_size(17100)) + // Standard Error: 151_499 + .saturating_add(Weight::from_ref_time(18_192_683).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Ignored) + /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `919 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 285_309 nanoseconds. - Weight::from_ref_time(296_735_365) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 49_300 - .saturating_add(Weight::from_ref_time(87_678_979).saturating_mul(r.into())) + // Estimated: `18835 + r * (4805 ±0)` + // Minimum execution time: 374_841 nanoseconds. + Weight::from_ref_time(385_475_889) + .saturating_add(Weight::from_proof_size(18835)) + // Standard Error: 106_207 + .saturating_add(Weight::from_ref_time(88_099_987).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4805).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `809 + r * (320 ±0)` - // Estimated: `0` - // Minimum execution time: 136_110 nanoseconds. - Weight::from_ref_time(139_800_659) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 9_674 - .saturating_add(Weight::from_ref_time(8_302_834).saturating_mul(r.into())) + // Estimated: `16955 + r * (1600 ±0)` + // Minimum execution time: 134_436 nanoseconds. + Weight::from_ref_time(137_789_498) + .saturating_add(Weight::from_proof_size(16955)) + // Standard Error: 10_622 + .saturating_add(Weight::from_ref_time(8_144_024).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1600).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `844 + r * (480 ±0)` - // Estimated: `0` - // Minimum execution time: 285_238 nanoseconds. - Weight::from_ref_time(289_723_839) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 19_531 - .saturating_add(Weight::from_ref_time(15_590_085).saturating_mul(r.into())) + // Estimated: `17085 + r * (2400 ±0)` + // Minimum execution time: 374_480 nanoseconds. + Weight::from_ref_time(379_723_392) + .saturating_add(Weight::from_proof_size(17085)) + // Standard Error: 50_240 + .saturating_add(Weight::from_ref_time(15_358_041).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2400).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1324` - // Estimated: `0` - // Minimum execution time: 303_189 nanoseconds. - Weight::from_ref_time(323_374_503) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_060 - .saturating_add(Weight::from_ref_time(9_799_357).saturating_mul(n.into())) + // Estimated: `19490` + // Minimum execution time: 392_282 nanoseconds. + Weight::from_ref_time(418_943_323) + .saturating_add(Weight::from_proof_size(19490)) + // Standard Error: 4_673 + .saturating_add(Weight::from_ref_time(9_664_301).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `832 + r * (45 ±0)` - // Estimated: `0` - // Minimum execution time: 280_736 nanoseconds. - Weight::from_ref_time(285_027_920) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 222_526 - .saturating_add(Weight::from_ref_time(1_814_579).saturating_mul(r.into())) + // Estimated: `17030 + r * (225 ±0)` + // Minimum execution time: 372_207 nanoseconds. + Weight::from_ref_time(376_232_444) + .saturating_add(Weight::from_proof_size(17030)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(225).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842` - // Estimated: `0` - // Minimum execution time: 285_559 nanoseconds. - Weight::from_ref_time(290_522_234) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_578 - .saturating_add(Weight::from_ref_time(195_134).saturating_mul(n.into())) + // Estimated: `17125` + // Minimum execution time: 374_743 nanoseconds. + Weight::from_ref_time(377_365_053) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 1_073 + .saturating_add(Weight::from_ref_time(231_251).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:3 w:3) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts DeletionQueue (r:1 w:1) - /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Ignored) + /// Proof: Contracts DeletionQueue (max_values: Some(1), max_size: Some(16642), added: 17137, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:3 w:3) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `874 + r * (280 ±0)` - // Estimated: `0` - // Minimum execution time: 282_070 nanoseconds. - Weight::from_ref_time(286_466_489) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 238_285 - .saturating_add(Weight::from_ref_time(58_542_610).saturating_mul(r.into())) + // Estimated: `19880 + r * (11465 ±0)` + // Minimum execution time: 374_873 nanoseconds. + Weight::from_ref_time(378_422_289) + .saturating_add(Weight::from_proof_size(19880)) + // Standard Error: 979_734 + .saturating_add(Weight::from_ref_time(57_035_310).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((6_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(11465).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) - /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Ignored) + /// Proof: RandomnessCollectiveFlip RandomMaterial (max_values: Some(1), max_size: Some(2594), added: 3089, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `889 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 284_147 nanoseconds. - Weight::from_ref_time(295_373_881) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 64_682 - .saturating_add(Weight::from_ref_time(114_198_680).saturating_mul(r.into())) + // Estimated: `18643 + r * (4805 ±0)` + // Minimum execution time: 375_001 nanoseconds. + Weight::from_ref_time(382_558_599) + .saturating_add(Weight::from_proof_size(18643)) + // Standard Error: 94_918 + .saturating_add(Weight::from_ref_time(112_973_277).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4805).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `842 + r * (800 ±0)` - // Estimated: `0` - // Minimum execution time: 282_681 nanoseconds. - Weight::from_ref_time(290_974_649) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 77_850 - .saturating_add(Weight::from_ref_time(233_273_622).saturating_mul(r.into())) + // Estimated: `17075 + r * (4000 ±0)` + // Minimum execution time: 372_547 nanoseconds. + Weight::from_ref_time(383_278_916) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 128_339 + .saturating_add(Weight::from_ref_time(229_356_088).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(4000).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:322 w:322) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1778 + t * (2608 ±0) + n * (8 ±0)` - // Estimated: `0` - // Minimum execution time: 1_226_868 nanoseconds. - Weight::from_ref_time(517_031_747) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 342_786 - .saturating_add(Weight::from_ref_time(183_829_556).saturating_mul(t.into())) - // Standard Error: 94_145 - .saturating_add(Weight::from_ref_time(70_675_099).saturating_mul(n.into())) + // Estimated: `21675 + t * (211030 ±0) + n * (50 ±0)` + // Minimum execution time: 1_290_432 nanoseconds. + Weight::from_ref_time(595_859_216) + .saturating_add(Weight::from_proof_size(21675)) + // Standard Error: 602_943 + .saturating_add(Weight::from_ref_time(178_128_149).saturating_mul(t.into())) + // Standard Error: 165_597 + .saturating_add(Weight::from_ref_time(71_475_468).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(211030).saturating_mul(t.into())) + .saturating_add(Weight::from_proof_size(50).saturating_mul(n.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (560 ±0)` - // Estimated: `0` - // Minimum execution time: 143_026 nanoseconds. - Weight::from_ref_time(147_158_038) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 16_662 - .saturating_add(Weight::from_ref_time(14_990_989).saturating_mul(r.into())) + // Estimated: `17065 + r * (2800 ±0)` + // Minimum execution time: 149_020 nanoseconds. + Weight::from_ref_time(152_893_012) + .saturating_add(Weight::from_proof_size(17065)) + // Standard Error: 31_804 + .saturating_add(Weight::from_ref_time(14_497_512).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(2800).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) @@ -2998,1260 +3075,1289 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `125792` // Estimated: `265059` - // Minimum execution time: 412_112 nanoseconds. - Weight::from_ref_time(415_624_011) + // Minimum execution time: 502_589 nanoseconds. + Weight::from_ref_time(506_695_307) .saturating_add(Weight::from_proof_size(265059)) - // Standard Error: 1_190 - .saturating_add(Weight::from_ref_time(797_964).saturating_mul(i.into())) + // Standard Error: 2_148 + .saturating_add(Weight::from_ref_time(814_647).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + r * (23417 ±0)` - // Estimated: `0` - // Minimum execution time: 286_118 nanoseconds. - Weight::from_ref_time(195_812_951) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 858_501 - .saturating_add(Weight::from_ref_time(485_357_331).saturating_mul(r.into())) + // Estimated: `883 + r * (23417 ±0)` + // Minimum execution time: 375_473 nanoseconds. + Weight::from_ref_time(291_125_810) + .saturating_add(Weight::from_proof_size(883)) + // Standard Error: 824_971 + .saturating_add(Weight::from_ref_time(477_999_695).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23417).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `12583 + n * (11969 ±0)` - // Estimated: `0` - // Minimum execution time: 433_181 nanoseconds. - Weight::from_ref_time(618_575_096) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_696_126 - .saturating_add(Weight::from_ref_time(96_213_633).saturating_mul(n.into())) + // Estimated: `8500 + n * (12813 ±61)` + // Minimum execution time: 515_962 nanoseconds. + Weight::from_ref_time(697_904_030) + .saturating_add(Weight::from_proof_size(8500)) + // Standard Error: 1_684_000 + .saturating_add(Weight::from_ref_time(98_411_710).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(52_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(50_u64)) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(12813).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15138 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 433_354 nanoseconds. - Weight::from_ref_time(597_131_349) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_509_003 - .saturating_add(Weight::from_ref_time(64_872_907).saturating_mul(n.into())) + // Estimated: `9898 + n * (176855 ±74)` + // Minimum execution time: 515_828 nanoseconds. + Weight::from_ref_time(661_240_495) + .saturating_add(Weight::from_proof_size(9898)) + // Standard Error: 1_338_661 + .saturating_add(Weight::from_ref_time(65_767_819).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(49_u64)) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176855).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `876 + r * (23098 ±0)` - // Estimated: `0` - // Minimum execution time: 286_788 nanoseconds. - Weight::from_ref_time(207_787_332) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 778_284 - .saturating_add(Weight::from_ref_time(474_879_317).saturating_mul(r.into())) + // Estimated: `881 + r * (23097 ±0)` + // Minimum execution time: 375_528 nanoseconds. + Weight::from_ref_time(296_453_612) + .saturating_add(Weight::from_proof_size(881)) + // Standard Error: 809_232 + .saturating_add(Weight::from_ref_time(465_365_815).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23097).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `14863 + n * (175768 ±0)` - // Estimated: `0` - // Minimum execution time: 397_414 nanoseconds. - Weight::from_ref_time(573_575_029) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_630_691 - .saturating_add(Weight::from_ref_time(67_888_226).saturating_mul(n.into())) + // Estimated: `9519 + n * (176867 ±75)` + // Minimum execution time: 480_427 nanoseconds. + Weight::from_ref_time(640_337_570) + .saturating_add(Weight::from_proof_size(9519)) + // Standard Error: 1_497_141 + .saturating_add(Weight::from_ref_time(67_963_696).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(48_u64)) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176867).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `878 + r * (23740 ±0)` - // Estimated: `0` - // Minimum execution time: 286_098 nanoseconds. - Weight::from_ref_time(223_637_903) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 669_294 - .saturating_add(Weight::from_ref_time(387_577_627).saturating_mul(r.into())) + // Estimated: `880 + r * (23739 ±0)` + // Minimum execution time: 375_725 nanoseconds. + Weight::from_ref_time(307_839_394) + .saturating_add(Weight::from_proof_size(880)) + // Standard Error: 710_694 + .saturating_add(Weight::from_ref_time(381_738_407).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(23739).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15469 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 373_335 nanoseconds. - Weight::from_ref_time(531_442_564) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_474_336 - .saturating_add(Weight::from_ref_time(154_469_598).saturating_mul(n.into())) + // Estimated: `10010 + n * (176900 ±76)` + // Minimum execution time: 461_871 nanoseconds. + Weight::from_ref_time(605_755_493) + .saturating_add(Weight::from_proof_size(10010)) + // Standard Error: 1_375_044 + .saturating_add(Weight::from_ref_time(161_332_330).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(176900).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `871 + r * (23100 ±0)` - // Estimated: `0` - // Minimum execution time: 284_183 nanoseconds. - Weight::from_ref_time(223_325_689) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 644_587 - .saturating_add(Weight::from_ref_time(373_628_582).saturating_mul(r.into())) + // Estimated: `873 + r * (23099 ±0)` + // Minimum execution time: 375_325 nanoseconds. + Weight::from_ref_time(305_508_307) + .saturating_add(Weight::from_proof_size(873)) + // Standard Error: 715_627 + .saturating_add(Weight::from_ref_time(369_985_438).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(23099).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `14814 + n * (175782 ±0)` - // Estimated: `0` - // Minimum execution time: 368_310 nanoseconds. - Weight::from_ref_time(512_814_023) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_337_352 - .saturating_add(Weight::from_ref_time(62_871_539).saturating_mul(n.into())) + // Estimated: `9502 + n * (176872 ±75)` + // Minimum execution time: 457_128 nanoseconds. + Weight::from_ref_time(582_799_799) + .saturating_add(Weight::from_proof_size(9502)) + // Standard Error: 1_151_126 + .saturating_add(Weight::from_ref_time(63_425_277).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(176872).saturating_mul(n.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `879 + r * (23740 ±0)` - // Estimated: `0` - // Minimum execution time: 287_096 nanoseconds. - Weight::from_ref_time(204_878_281) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 833_763 - .saturating_add(Weight::from_ref_time(483_927_706).saturating_mul(r.into())) + // Estimated: `881 + r * (23739 ±0)` + // Minimum execution time: 375_918 nanoseconds. + Weight::from_ref_time(293_217_646) + .saturating_add(Weight::from_proof_size(881)) + // Standard Error: 840_266 + .saturating_add(Weight::from_ref_time(478_374_701).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(23739).saturating_mul(r.into())) } /// Storage: Skipped Metadata (r:0 w:0) - /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `15470 + n * (175775 ±0)` - // Estimated: `0` - // Minimum execution time: 399_318 nanoseconds. - Weight::from_ref_time(586_658_466) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_734_497 - .saturating_add(Weight::from_ref_time(161_047_970).saturating_mul(n.into())) + // Estimated: `10010 + n * (176898 ±76)` + // Minimum execution time: 484_207 nanoseconds. + Weight::from_ref_time(664_065_436) + .saturating_add(Weight::from_proof_size(10010)) + // Standard Error: 1_655_442 + .saturating_add(Weight::from_ref_time(166_258_757).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(48_u64)) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_proof_size(176898).saturating_mul(n.into())) } /// Storage: System Account (r:1602 w:1601) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1393 + r * (3602 ±0)` - // Estimated: `0` - // Minimum execution time: 285_460 nanoseconds. - Weight::from_ref_time(227_848_079) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 717_899 - .saturating_add(Weight::from_ref_time(1_434_112_130).saturating_mul(r.into())) + // Estimated: `21258 + r * (216091 ±0)` + // Minimum execution time: 377_152 nanoseconds. + Weight::from_ref_time(317_470_910) + .saturating_add(Weight::from_proof_size(21258)) + // Standard Error: 994_076 + .saturating_add(Weight::from_ref_time(1_409_416_087).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((80_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(216091).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1601) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:2 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:1602 w:1602) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1551 + r * (20511 ±0)` - // Estimated: `0` - // Minimum execution time: 286_947 nanoseconds. - Weight::from_ref_time(288_518_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_492_544 - .saturating_add(Weight::from_ref_time(21_606_377_662).saturating_mul(r.into())) + // Estimated: `21848 + r * (498651 ±1)` + // Minimum execution time: 376_257 nanoseconds. + Weight::from_ref_time(377_035_000) + .saturating_add(Weight::from_proof_size(21848)) + // Standard Error: 7_966_778 + .saturating_add(Weight::from_ref_time(28_873_495_129).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((160_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((160_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(498651).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1536 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:1537 w:1537) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (71670 ±0)` - // Estimated: `0` - // Minimum execution time: 285_196 nanoseconds. - Weight::from_ref_time(287_958_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 10_345_109 - .saturating_add(Weight::from_ref_time(21_395_365_662).saturating_mul(r.into())) + // Estimated: `17125 + r * (659927 ±822)` + // Minimum execution time: 376_544 nanoseconds. + Weight::from_ref_time(377_490_000) + .saturating_add(Weight::from_proof_size(17125)) + // Standard Error: 8_608_050 + .saturating_add(Weight::from_ref_time(28_568_714_410).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((150_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((75_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(659927).saturating_mul(r.into())) } /// Storage: System Account (r:82 w:81) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:81 w:81) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:2 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:82 w:82) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `21611 + t * (15369 ±0)` - // Estimated: `0` - // Minimum execution time: 10_540_614 nanoseconds. - Weight::from_ref_time(9_281_766_912) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_409_378 - .saturating_add(Weight::from_ref_time(1_449_975_070).saturating_mul(t.into())) - // Standard Error: 8_111 - .saturating_add(Weight::from_ref_time(10_275_108).saturating_mul(c.into())) + // Estimated: `519400 + t * (277320 ±0)` + // Minimum execution time: 10_322_052 nanoseconds. + Weight::from_ref_time(9_248_652_894) + .saturating_add(Weight::from_proof_size(519400)) + // Standard Error: 9_039_638 + .saturating_add(Weight::from_ref_time(1_393_054_441).saturating_mul(t.into())) + // Standard Error: 13_554 + .saturating_add(Weight::from_ref_time(9_819_606).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(167_u64)) .saturating_add(RocksDbWeight::get().reads((81_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(163_u64)) .saturating_add(RocksDbWeight::get().writes((81_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(277320).saturating_mul(t.into())) } /// Storage: System Account (r:1602 w:1602) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1601 w:1601) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) - /// Storage: Contracts CodeStorage (r:1601 w:1600) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) + /// Storage: Contracts CodeStorage (r:1601 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1600 w:1600) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1602 w:1602) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1613 + r * (25576 ±0)` - // Estimated: `0` - // Minimum execution time: 285_643 nanoseconds. - Weight::from_ref_time(287_472_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 25_921_947 - .saturating_add(Weight::from_ref_time(27_745_815_511).saturating_mul(r.into())) + // Estimated: `25698 + r * (1169112 ±1)` + // Minimum execution time: 376_639 nanoseconds. + Weight::from_ref_time(377_892_000) + .saturating_add(Weight::from_proof_size(25698)) + // Standard Error: 21_259_255 + .saturating_add(Weight::from_ref_time(34_131_174_956).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((400_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(5_u64)) - .saturating_add(RocksDbWeight::get().writes((400_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes((320_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(1169112).saturating_mul(r.into())) } /// Storage: System Account (r:82 w:82) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:81 w:81) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) - /// Storage: Contracts CodeStorage (r:2 w:1) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) + /// Storage: Contracts CodeStorage (r:2 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1 w:1) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:82 w:82) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 960]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_input_salt_kb(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `5666 + t * (17 ±0)` - // Estimated: `0` - // Minimum execution time: 129_710_453 nanoseconds. - Weight::from_ref_time(14_347_603_160) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 194_692 - .saturating_add(Weight::from_ref_time(128_837_066).saturating_mul(i.into())) - // Standard Error: 194_692 - .saturating_add(Weight::from_ref_time(127_568_555).saturating_mul(s.into())) + // Estimated: `651914 + t * (2762 ±3)` + // Minimum execution time: 130_366_376 nanoseconds. + Weight::from_ref_time(9_844_607_874) + .saturating_add(Weight::from_proof_size(651914)) + // Standard Error: 100_211_149 + .saturating_add(Weight::from_ref_time(390_481_449).saturating_mul(t.into())) + // Standard Error: 163_416 + .saturating_add(Weight::from_ref_time(126_154_200).saturating_mul(i.into())) + // Standard Error: 163_416 + .saturating_add(Weight::from_ref_time(126_430_874).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(249_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(RocksDbWeight::get().writes(247_u64)) + .saturating_add(RocksDbWeight::get().writes(246_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_proof_size(2762).saturating_mul(t.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `839 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_059 nanoseconds. - Weight::from_ref_time(287_215_177) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 273_484 - .saturating_add(Weight::from_ref_time(44_941_522).saturating_mul(r.into())) + // Estimated: `17065 + r * (3210 ±0)` + // Minimum execution time: 373_848 nanoseconds. + Weight::from_ref_time(375_974_597) + .saturating_add(Weight::from_proof_size(17065)) + // Standard Error: 558_923 + .saturating_add(Weight::from_ref_time(42_648_202).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1641` - // Estimated: `0` - // Minimum execution time: 330_822 nanoseconds. - Weight::from_ref_time(333_012_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 53_200 - .saturating_add(Weight::from_ref_time(327_144_474).saturating_mul(n.into())) + // Estimated: `21000` + // Minimum execution time: 417_281 nanoseconds. + Weight::from_ref_time(418_086_000) + .saturating_add(Weight::from_proof_size(21000)) + // Standard Error: 43_883 + .saturating_add(Weight::from_ref_time(324_497_460).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_859 nanoseconds. - Weight::from_ref_time(286_293_402) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 187_930 - .saturating_add(Weight::from_ref_time(57_415_297).saturating_mul(r.into())) + // Estimated: `17075 + r * (3210 ±0)` + // Minimum execution time: 372_362 nanoseconds. + Weight::from_ref_time(374_975_677) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 307_932 + .saturating_add(Weight::from_ref_time(57_607_522).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 342_221 nanoseconds. - Weight::from_ref_time(343_250_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 67_989 - .saturating_add(Weight::from_ref_time(261_498_077).saturating_mul(n.into())) + // Estimated: `21040` + // Minimum execution time: 431_034 nanoseconds. + Weight::from_ref_time(431_571_000) + .saturating_add(Weight::from_proof_size(21040)) + // Standard Error: 80_071 + .saturating_add(Weight::from_ref_time(261_645_325).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` - // Estimated: `0` - // Minimum execution time: 282_158 nanoseconds. - Weight::from_ref_time(285_783_279) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 200_413 - .saturating_add(Weight::from_ref_time(35_099_520).saturating_mul(r.into())) + // Estimated: `17075 + r * (3210 ±0)` + // Minimum execution time: 372_069 nanoseconds. + Weight::from_ref_time(374_200_608) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 171_799 + .saturating_add(Weight::from_ref_time(32_843_391).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3210).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 317_376 nanoseconds. - Weight::from_ref_time(319_441_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 61_325 - .saturating_add(Weight::from_ref_time(101_080_739).saturating_mul(n.into())) + // Estimated: `21010` + // Minimum execution time: 406_143 nanoseconds. + Weight::from_ref_time(406_744_000) + .saturating_add(Weight::from_proof_size(21010)) + // Standard Error: 48_038 + .saturating_add(Weight::from_ref_time(103_286_295).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `841 + r * (679 ±0)` - // Estimated: `0` - // Minimum execution time: 280_403 nanoseconds. - Weight::from_ref_time(282_592_267) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 237_832 - .saturating_add(Weight::from_ref_time(37_056_632).saturating_mul(r.into())) + // Estimated: `17075 + r * (3395 ±0)` + // Minimum execution time: 372_201 nanoseconds. + Weight::from_ref_time(374_049_708) + .saturating_add(Weight::from_proof_size(17075)) + // Standard Error: 387_179 + .saturating_add(Weight::from_ref_time(38_857_191).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(3395).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1643` - // Estimated: `0` - // Minimum execution time: 315_482 nanoseconds. - Weight::from_ref_time(316_160_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 40_926 - .saturating_add(Weight::from_ref_time(100_317_235).saturating_mul(n.into())) + // Estimated: `21050` + // Minimum execution time: 405_819 nanoseconds. + Weight::from_ref_time(406_364_000) + .saturating_add(Weight::from_proof_size(21050)) + // Standard Error: 46_248 + .saturating_add(Weight::from_ref_time(103_189_157).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `885 + r * (6083 ±0)` - // Estimated: `0` - // Minimum execution time: 276_155 nanoseconds. - Weight::from_ref_time(278_531_728) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 510_501 - .saturating_add(Weight::from_ref_time(3_056_236_671).saturating_mul(r.into())) + // Estimated: `17295 + r * (30415 ±0)` + // Minimum execution time: 374_836 nanoseconds. + Weight::from_ref_time(379_385_500) + .saturating_add(Weight::from_proof_size(17295)) + // Standard Error: 1_694_427 + .saturating_add(Weight::from_ref_time(3_021_801_000).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(30415).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 1]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `854 + r * (3362 ±0)` - // Estimated: `0` - // Minimum execution time: 276_204 nanoseconds. - Weight::from_ref_time(278_114_283) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 217_508 - .saturating_add(Weight::from_ref_time(737_577_816).saturating_mul(r.into())) + // Estimated: `17140 + r * (16810 ±0)` + // Minimum execution time: 374_223 nanoseconds. + Weight::from_ref_time(376_120_230) + .saturating_add(Weight::from_proof_size(17140)) + // Standard Error: 619_576 + .saturating_add(Weight::from_ref_time(754_257_969).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(16810).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1536 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts OwnerInfoOf (r:1536 w:1536) - /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Ignored) + /// Proof: Contracts OwnerInfoOf (max_values: None, max_size: Some(88), added: 2563, mode: Measured) /// Storage: System EventTopics (r:1538 w:1538) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (79300 ±0)` - // Estimated: `0` - // Minimum execution time: 276_330 nanoseconds. - Weight::from_ref_time(277_573_000) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_652_635 - .saturating_add(Weight::from_ref_time(1_547_361_882).saturating_mul(r.into())) + // Estimated: `64652 + r * (942952 ±829)` + // Minimum execution time: 374_442 nanoseconds. + Weight::from_ref_time(375_591_000) + .saturating_add(Weight::from_proof_size(64652)) + // Standard Error: 3_764_193 + .saturating_add(Weight::from_ref_time(1_552_885_601).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((225_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((150_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_proof_size(942952).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `837 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 276_228 nanoseconds. - Weight::from_ref_time(281_135_551) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 18_737 - .saturating_add(Weight::from_ref_time(10_998_953).saturating_mul(r.into())) + // Estimated: `17055 + r * (1200 ±0)` + // Minimum execution time: 374_922 nanoseconds. + Weight::from_ref_time(376_234_094) + .saturating_add(Weight::from_proof_size(17055)) + // Standard Error: 45_995 + .saturating_add(Weight::from_ref_time(11_606_505).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(1200).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_account_reentrance_count(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2056 + r * (3153 ±0)` - // Estimated: `0` - // Minimum execution time: 278_157 nanoseconds. - Weight::from_ref_time(300_739_078) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 72_695 - .saturating_add(Weight::from_ref_time(18_499_645).saturating_mul(r.into())) + // Estimated: `21730 + r * (15870 ±2)` + // Minimum execution time: 376_762 nanoseconds. + Weight::from_ref_time(396_934_359) + .saturating_add(Weight::from_proof_size(21730)) + // Standard Error: 68_263 + .saturating_add(Weight::from_ref_time(18_367_270).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_proof_size(15870).saturating_mul(r.into())) } /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Ignored) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: Measured) /// Storage: Contracts ContractInfoOf (r:1 w:1) - /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Ignored) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: Measured) /// Storage: Contracts CodeStorage (r:1 w:0) - /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Ignored) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: Measured) /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: Contracts Nonce (r:1 w:1) - /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Ignored) + /// Proof: Contracts Nonce (max_values: Some(1), max_size: Some(8), added: 503, mode: Measured) /// Storage: System EventTopics (r:2 w:2) - /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Ignored) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) /// The range of component `r` is `[0, 20]`. fn seal_instantiation_nonce(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `840 + r * (240 ±0)` - // Estimated: `0` - // Minimum execution time: 275_532 nanoseconds. - Weight::from_ref_time(281_299_677) - .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 21_719 - .saturating_add(Weight::from_ref_time(9_513_444).saturating_mul(r.into())) + // Estimated: `18405 + r * (1440 ±0)` + // Minimum execution time: 374_257 nanoseconds. + Weight::from_ref_time(380_453_380) + .saturating_add(Weight::from_proof_size(18405)) + // Standard Error: 42_718 + .saturating_add(Weight::from_ref_time(9_355_253).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_proof_size(1440).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_054_710) + // Minimum execution time: 788 nanoseconds. + Weight::from_ref_time(1_209_829) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 273 - .saturating_add(Weight::from_ref_time(411_548).saturating_mul(r.into())) + // Standard Error: 3_436 + .saturating_add(Weight::from_ref_time(409_858).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 980 nanoseconds. - Weight::from_ref_time(1_463_182) + // Minimum execution time: 955 nanoseconds. + Weight::from_ref_time(1_526_327) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 415 - .saturating_add(Weight::from_ref_time(1_063_436).saturating_mul(r.into())) + // Standard Error: 2_399 + .saturating_add(Weight::from_ref_time(1_084_504).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 991 nanoseconds. - Weight::from_ref_time(1_521_750) + // Minimum execution time: 967 nanoseconds. + Weight::from_ref_time(1_576_183) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_499 - .saturating_add(Weight::from_ref_time(997_972).saturating_mul(r.into())) + // Standard Error: 5_719 + .saturating_add(Weight::from_ref_time(1_006_742).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 833 nanoseconds. - Weight::from_ref_time(1_152_048) + // Minimum execution time: 849 nanoseconds. + Weight::from_ref_time(1_106_539) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 392 - .saturating_add(Weight::from_ref_time(1_147_506).saturating_mul(r.into())) + // Standard Error: 445 + .saturating_add(Weight::from_ref_time(1_149_752).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 866 nanoseconds. - Weight::from_ref_time(1_154_637) + // Minimum execution time: 829 nanoseconds. + Weight::from_ref_time(1_171_360) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_131 - .saturating_add(Weight::from_ref_time(1_320_580).saturating_mul(r.into())) + // Standard Error: 552 + .saturating_add(Weight::from_ref_time(1_309_914).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 849 nanoseconds. - Weight::from_ref_time(1_073_940) + // Minimum execution time: 835 nanoseconds. + Weight::from_ref_time(1_125_578) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 639 - .saturating_add(Weight::from_ref_time(642_885).saturating_mul(r.into())) + // Standard Error: 374 + .saturating_add(Weight::from_ref_time(641_683).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 855 nanoseconds. - Weight::from_ref_time(728_631) + // Minimum execution time: 816 nanoseconds. + Weight::from_ref_time(1_032_093) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_730 - .saturating_add(Weight::from_ref_time(979_839).saturating_mul(r.into())) + // Standard Error: 811 + .saturating_add(Weight::from_ref_time(956_228).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(658_935) + // Minimum execution time: 801 nanoseconds. + Weight::from_ref_time(816_764) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_373 - .saturating_add(Weight::from_ref_time(1_172_585).saturating_mul(r.into())) + // Standard Error: 2_669 + .saturating_add(Weight::from_ref_time(1_166_556).saturating_mul(r.into())) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_577 nanoseconds. - Weight::from_ref_time(2_872_555) + // Minimum execution time: 2_639 nanoseconds. + Weight::from_ref_time(2_905_554) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 70 - .saturating_add(Weight::from_ref_time(4_237).saturating_mul(e.into())) + // Standard Error: 62 + .saturating_add(Weight::from_ref_time(4_438).saturating_mul(e.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 833 nanoseconds. - Weight::from_ref_time(874_000) + // Minimum execution time: 831 nanoseconds. + Weight::from_ref_time(1_729_584) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 30_863 - .saturating_add(Weight::from_ref_time(2_591_963).saturating_mul(r.into())) + // Standard Error: 33_753 + .saturating_add(Weight::from_ref_time(2_380_315).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 992 nanoseconds. - Weight::from_ref_time(2_772_709) + // Minimum execution time: 964 nanoseconds. + Weight::from_ref_time(2_445_291) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_822 - .saturating_add(Weight::from_ref_time(3_070_825).saturating_mul(r.into())) + // Standard Error: 3_285 + .saturating_add(Weight::from_ref_time(2_938_681).saturating_mul(r.into())) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_766 nanoseconds. - Weight::from_ref_time(5_559_951) + // Minimum execution time: 4_809 nanoseconds. + Weight::from_ref_time(6_763_286) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 315 - .saturating_add(Weight::from_ref_time(227_249).saturating_mul(p.into())) + // Standard Error: 3_994 + .saturating_add(Weight::from_ref_time(217_632).saturating_mul(p.into())) } /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_215 nanoseconds. - Weight::from_ref_time(4_697_732) + // Minimum execution time: 3_138 nanoseconds. + Weight::from_ref_time(3_894_816) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 99 - .saturating_add(Weight::from_ref_time(46_431).saturating_mul(l.into())) + // Standard Error: 131 + .saturating_add(Weight::from_ref_time(91_699).saturating_mul(l.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_193 nanoseconds. - Weight::from_ref_time(2_472_277) + // Minimum execution time: 2_959 nanoseconds. + Weight::from_ref_time(3_271_550) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 374 - .saturating_add(Weight::from_ref_time(459_651).saturating_mul(r.into())) + // Standard Error: 223 + .saturating_add(Weight::from_ref_time(460_056).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_112 nanoseconds. - Weight::from_ref_time(2_388_132) + // Minimum execution time: 2_970 nanoseconds. + Weight::from_ref_time(3_216_157) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 380 - .saturating_add(Weight::from_ref_time(485_216).saturating_mul(r.into())) + // Standard Error: 413 + .saturating_add(Weight::from_ref_time(485_842).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_219 nanoseconds. - Weight::from_ref_time(2_419_568) + // Minimum execution time: 2_980 nanoseconds. + Weight::from_ref_time(3_323_878) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 402 - .saturating_add(Weight::from_ref_time(658_484).saturating_mul(r.into())) + // Standard Error: 2_652 + .saturating_add(Weight::from_ref_time(660_257).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 959 nanoseconds. - Weight::from_ref_time(1_321_004) + // Minimum execution time: 917 nanoseconds. + Weight::from_ref_time(1_445_816) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 480 - .saturating_add(Weight::from_ref_time(898_447).saturating_mul(r.into())) + // Standard Error: 5_642 + .saturating_add(Weight::from_ref_time(894_521).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 934 nanoseconds. - Weight::from_ref_time(1_264_350) + // Minimum execution time: 965 nanoseconds. + Weight::from_ref_time(1_373_722) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 1_031 - .saturating_add(Weight::from_ref_time(922_243).saturating_mul(r.into())) + // Standard Error: 1_157 + .saturating_add(Weight::from_ref_time(917_643).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 941 nanoseconds. - Weight::from_ref_time(1_229_407) + // Minimum execution time: 982 nanoseconds. + Weight::from_ref_time(1_240_280) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 507 - .saturating_add(Weight::from_ref_time(824_206).saturating_mul(r.into())) + // Standard Error: 308 + .saturating_add(Weight::from_ref_time(817_972).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 870 nanoseconds. - Weight::from_ref_time(946_681) + // Minimum execution time: 858 nanoseconds. + Weight::from_ref_time(962_183) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_248 - .saturating_add(Weight::from_ref_time(179_759_218).saturating_mul(r.into())) + // Standard Error: 6_701 + .saturating_add(Weight::from_ref_time(239_704_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_105_279) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_132_872) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 251 - .saturating_add(Weight::from_ref_time(633_218).saturating_mul(r.into())) + // Standard Error: 303 + .saturating_add(Weight::from_ref_time(633_832).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_119_719) + // Minimum execution time: 823 nanoseconds. + Weight::from_ref_time(1_267_518) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 248 - .saturating_add(Weight::from_ref_time(633_064).saturating_mul(r.into())) + // Standard Error: 483 + .saturating_add(Weight::from_ref_time(632_620).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 865 nanoseconds. - Weight::from_ref_time(1_394_651) + // Minimum execution time: 857 nanoseconds. + Weight::from_ref_time(1_105_214) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 9_898 - .saturating_add(Weight::from_ref_time(630_054).saturating_mul(r.into())) + // Standard Error: 285 + .saturating_add(Weight::from_ref_time(635_039).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 831 nanoseconds. - Weight::from_ref_time(1_095_288) + // Minimum execution time: 821 nanoseconds. + Weight::from_ref_time(750_223) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 271 - .saturating_add(Weight::from_ref_time(650_578).saturating_mul(r.into())) + // Standard Error: 15_923 + .saturating_add(Weight::from_ref_time(686_322).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 835 nanoseconds. - Weight::from_ref_time(1_128_234) + // Minimum execution time: 797 nanoseconds. + Weight::from_ref_time(1_145_072) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 239 - .saturating_add(Weight::from_ref_time(615_970).saturating_mul(r.into())) + // Standard Error: 311 + .saturating_add(Weight::from_ref_time(618_147).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 839 nanoseconds. - Weight::from_ref_time(1_111_296) + // Minimum execution time: 803 nanoseconds. + Weight::from_ref_time(1_139_498) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 303 - .saturating_add(Weight::from_ref_time(616_831).saturating_mul(r.into())) + // Standard Error: 284 + .saturating_add(Weight::from_ref_time(617_393).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 839 nanoseconds. - Weight::from_ref_time(1_082_700) + // Minimum execution time: 814 nanoseconds. + Weight::from_ref_time(1_099_405) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 236 - .saturating_add(Weight::from_ref_time(617_371).saturating_mul(r.into())) + // Standard Error: 663 + .saturating_add(Weight::from_ref_time(618_565).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 837 nanoseconds. - Weight::from_ref_time(1_249_666) + // Minimum execution time: 819 nanoseconds. + Weight::from_ref_time(1_199_220) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 836 - .saturating_add(Weight::from_ref_time(904_457).saturating_mul(r.into())) + // Standard Error: 485 + .saturating_add(Weight::from_ref_time(906_878).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 818 nanoseconds. - Weight::from_ref_time(1_624_057) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(274_212) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 5_906 - .saturating_add(Weight::from_ref_time(893_488).saturating_mul(r.into())) + // Standard Error: 29_294 + .saturating_add(Weight::from_ref_time(971_608).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 836 nanoseconds. - Weight::from_ref_time(1_973_044) + // Minimum execution time: 796 nanoseconds. + Weight::from_ref_time(1_396_586) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_556 - .saturating_add(Weight::from_ref_time(885_369).saturating_mul(r.into())) + // Standard Error: 7_205 + .saturating_add(Weight::from_ref_time(903_202).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_088_223) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(1_115_115) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 531 - .saturating_add(Weight::from_ref_time(909_313).saturating_mul(r.into())) + // Standard Error: 310 + .saturating_add(Weight::from_ref_time(908_195).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 842 nanoseconds. - Weight::from_ref_time(1_435_966) + // Minimum execution time: 854 nanoseconds. + Weight::from_ref_time(1_170_419) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 3_824 - .saturating_add(Weight::from_ref_time(898_198).saturating_mul(r.into())) + // Standard Error: 298 + .saturating_add(Weight::from_ref_time(907_171).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_154_015) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(1_186_349) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 319 - .saturating_add(Weight::from_ref_time(918_083).saturating_mul(r.into())) + // Standard Error: 302 + .saturating_add(Weight::from_ref_time(917_857).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 848 nanoseconds. - Weight::from_ref_time(1_155_323) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_127_093) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 307 - .saturating_add(Weight::from_ref_time(906_516).saturating_mul(r.into())) + // Standard Error: 1_891 + .saturating_add(Weight::from_ref_time(910_738).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 877 nanoseconds. - Weight::from_ref_time(1_629_210) + // Minimum execution time: 819 nanoseconds. + Weight::from_ref_time(1_143_022) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 8_175 - .saturating_add(Weight::from_ref_time(906_657).saturating_mul(r.into())) + // Standard Error: 309 + .saturating_add(Weight::from_ref_time(919_047).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 843 nanoseconds. - Weight::from_ref_time(1_126_252) + // Minimum execution time: 788 nanoseconds. + Weight::from_ref_time(1_116_914) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 251 - .saturating_add(Weight::from_ref_time(907_052).saturating_mul(r.into())) + // Standard Error: 643 + .saturating_add(Weight::from_ref_time(911_159).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(1_497_667) + // Minimum execution time: 791 nanoseconds. + Weight::from_ref_time(1_123_747) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 7_593 - .saturating_add(Weight::from_ref_time(897_474).saturating_mul(r.into())) + // Standard Error: 583 + .saturating_add(Weight::from_ref_time(910_242).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_350_390) + // Minimum execution time: 787 nanoseconds. + Weight::from_ref_time(1_109_471) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_625 - .saturating_add(Weight::from_ref_time(889_609).saturating_mul(r.into())) + // Standard Error: 305 + .saturating_add(Weight::from_ref_time(897_608).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 841 nanoseconds. - Weight::from_ref_time(2_677_235) + // Minimum execution time: 821 nanoseconds. + Weight::from_ref_time(1_098_631) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 11_507 - .saturating_add(Weight::from_ref_time(846_704).saturating_mul(r.into())) + // Standard Error: 523 + .saturating_add(Weight::from_ref_time(887_814).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 846 nanoseconds. - Weight::from_ref_time(1_148_206) + // Minimum execution time: 794 nanoseconds. + Weight::from_ref_time(1_166_332) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 393 - .saturating_add(Weight::from_ref_time(884_886).saturating_mul(r.into())) + // Standard Error: 384 + .saturating_add(Weight::from_ref_time(885_584).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 865 nanoseconds. - Weight::from_ref_time(2_862_483) + // Minimum execution time: 822 nanoseconds. + Weight::from_ref_time(1_155_826) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 16_413 - .saturating_add(Weight::from_ref_time(1_481_623).saturating_mul(r.into())) + // Standard Error: 521 + .saturating_add(Weight::from_ref_time(1_520_958).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_443 nanoseconds. - Weight::from_ref_time(1_086_902) + // Minimum execution time: 881 nanoseconds. + Weight::from_ref_time(1_158_125) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 2_245 - .saturating_add(Weight::from_ref_time(1_463_145).saturating_mul(r.into())) + // Standard Error: 624 + .saturating_add(Weight::from_ref_time(1_458_378).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 878 nanoseconds. - Weight::from_ref_time(1_130_306) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_209_535) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 475 - .saturating_add(Weight::from_ref_time(1_522_011).saturating_mul(r.into())) + // Standard Error: 399 + .saturating_add(Weight::from_ref_time(1_547_640).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 827 nanoseconds. - Weight::from_ref_time(1_197_053) + // Minimum execution time: 801 nanoseconds. + Weight::from_ref_time(1_313_872) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 474 - .saturating_add(Weight::from_ref_time(1_449_062).saturating_mul(r.into())) + // Standard Error: 2_175 + .saturating_add(Weight::from_ref_time(1_449_416).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 847 nanoseconds. - Weight::from_ref_time(1_152_423) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_093_874) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 296 - .saturating_add(Weight::from_ref_time(895_541).saturating_mul(r.into())) + // Standard Error: 708 + .saturating_add(Weight::from_ref_time(901_450).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 876 nanoseconds. - Weight::from_ref_time(1_169_485) + // Minimum execution time: 824 nanoseconds. + Weight::from_ref_time(1_164_076) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 571 - .saturating_add(Weight::from_ref_time(932_659).saturating_mul(r.into())) + // Standard Error: 623 + .saturating_add(Weight::from_ref_time(897_579).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 856 nanoseconds. - Weight::from_ref_time(1_155_127) + // Minimum execution time: 789 nanoseconds. + Weight::from_ref_time(1_113_915) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 256 - .saturating_add(Weight::from_ref_time(895_663).saturating_mul(r.into())) + // Standard Error: 390 + .saturating_add(Weight::from_ref_time(897_354).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 871 nanoseconds. - Weight::from_ref_time(1_139_722) + // Minimum execution time: 811 nanoseconds. + Weight::from_ref_time(1_117_366) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 367 - .saturating_add(Weight::from_ref_time(903_115).saturating_mul(r.into())) + // Standard Error: 437 + .saturating_add(Weight::from_ref_time(903_759).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 853 nanoseconds. - Weight::from_ref_time(1_155_542) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_103_954) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 541 - .saturating_add(Weight::from_ref_time(901_635).saturating_mul(r.into())) + // Standard Error: 414 + .saturating_add(Weight::from_ref_time(903_429).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 866 nanoseconds. - Weight::from_ref_time(2_260_588) + // Minimum execution time: 803 nanoseconds. + Weight::from_ref_time(1_124_328) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 12_944 - .saturating_add(Weight::from_ref_time(877_790).saturating_mul(r.into())) + // Standard Error: 410 + .saturating_add(Weight::from_ref_time(903_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851 nanoseconds. - Weight::from_ref_time(1_627_816) + // Minimum execution time: 810 nanoseconds. + Weight::from_ref_time(1_131_433) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 4_004 - .saturating_add(Weight::from_ref_time(887_929).saturating_mul(r.into())) + // Standard Error: 402 + .saturating_add(Weight::from_ref_time(903_381).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 874 nanoseconds. - Weight::from_ref_time(2_611_817) + // Minimum execution time: 807 nanoseconds. + Weight::from_ref_time(1_144_933) .saturating_add(Weight::from_proof_size(0)) - // Standard Error: 10_026 - .saturating_add(Weight::from_ref_time(862_138).saturating_mul(r.into())) + // Standard Error: 373 + .saturating_add(Weight::from_ref_time(902_918).saturating_mul(r.into())) } } diff --git a/primitives/weights/src/weight_v2.rs b/primitives/weights/src/weight_v2.rs index 3a15b117955f2..52e148f30392d 100644 --- a/primitives/weights/src/weight_v2.rs +++ b/primitives/weights/src/weight_v2.rs @@ -232,6 +232,38 @@ impl Weight { Some(Self { ref_time, proof_size }) } + /// Calculates how many `other` fit into `self`. + /// + /// Divides each component of `self` against the same component of `other`. Returns the minimum + /// of all those divisions. Returns `None` in case **all** components of `other` are zero. + /// + /// This returns `Some` even if some components of `other` are zero as long as there is at least + /// one non-zero component in `other`. The devision for this particular component will then + /// yield the maximum value (e.g u64::MAX). This is because we assume not every operation and + /// hence each `Weight` will necessarily use each resource. + pub const fn checked_div_per_component(self, other: &Self) -> Option { + let mut all_zero = true; + let ref_time = match self.ref_time.checked_div(other.ref_time) { + Some(ref_time) => { + all_zero = false; + ref_time + }, + None => u64::MAX, + }; + let proof_size = match self.proof_size.checked_div(other.proof_size) { + Some(proof_size) => { + all_zero = false; + proof_size + }, + None => u64::MAX, + }; + if all_zero { + None + } else { + Some(if ref_time < proof_size { ref_time } else { proof_size }) + } + } + /// Try to increase `self` by `amount` via checked addition. pub fn checked_accrue(&mut self, amount: Self) -> Option<()> { self.checked_add(&amount).map(|new_self| *self = new_self) @@ -582,4 +614,48 @@ mod tests { assert!(weight.checked_reduce(Weight::from_parts(0, 18)).is_some()); assert!(weight.is_zero()); } + + #[test] + fn checked_div_per_component_works() { + assert_eq!( + Weight::from_parts(10, 20).checked_div_per_component(&Weight::from_parts(2, 10)), + Some(2) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(2, 10)), + Some(5) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(1, 10)), + Some(10) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(2, 1)), + Some(5) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(0, 10)), + Some(20) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(1, 0)), + Some(10) + ); + assert_eq!( + Weight::from_parts(0, 200).checked_div_per_component(&Weight::from_parts(2, 3)), + Some(0) + ); + assert_eq!( + Weight::from_parts(10, 0).checked_div_per_component(&Weight::from_parts(2, 3)), + Some(0) + ); + assert_eq!( + Weight::from_parts(10, 200).checked_div_per_component(&Weight::from_parts(0, 0)), + None, + ); + assert_eq!( + Weight::from_parts(0, 0).checked_div_per_component(&Weight::from_parts(0, 0)), + None, + ); + } }