diff --git a/.github/workflows/tests-evm.yml b/.github/workflows/tests-evm.yml index 54c7a821418af..9dcafac106d60 100644 --- a/.github/workflows/tests-evm.yml +++ b/.github/workflows/tests-evm.yml @@ -43,7 +43,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: repository: paritytech/evm-test-suite - ref: d20230d0a70ad1159ee75b4c56a47e85173f19e5 + ref: c2422cace2fb8a4337fc1c704c49e458c8a79d6b path: evm-test-suite - uses: denoland/setup-deno@v1 @@ -68,13 +68,6 @@ jobs: echo "== Running evm tests ==" START_REVIVE_DEV_NODE=true START_ETH_RPC=true deno task test:evm - - name: Collect tests results - if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 - with: - name: evm-test-suite-${{ github.sha }} - path: evm-test-suite/test-logs/matter-labs-tests.log - confirm-required-test-evm-jobs-passed: runs-on: ubuntu-latest name: All test misc tests passed diff --git a/prdoc/pr_10120.prdoc b/prdoc/pr_10120.prdoc new file mode 100644 index 0000000000000..43a5469fcf6b4 --- /dev/null +++ b/prdoc/pr_10120.prdoc @@ -0,0 +1,11 @@ +title: '[revive] Receipts should include failed tx' +doc: +- audience: Runtime Dev + description: |- + Fix Eth block receipt production, the current approach didn't work as failed extrinsic, revert all storage changes. + This PR updates eth transactions, so that they always succeed, the logic is wrapped into a top level `with_transaction` that will rollback all storage change in case of failure +crates: +- name: pallet-revive + bump: patch +- name: pallet-revive-eth-rpc + bump: patch diff --git a/substrate/frame/revive/rpc/src/receipt_extractor.rs b/substrate/frame/revive/rpc/src/receipt_extractor.rs index fe6d835d5fd16..3e8126096d106 100644 --- a/substrate/frame/revive/rpc/src/receipt_extractor.rs +++ b/substrate/frame/revive/rpc/src/receipt_extractor.rs @@ -18,8 +18,10 @@ use crate::{ client::{runtime_api::RuntimeApi, SubstrateBlock, SubstrateBlockNumber}, subxt_client::{ self, - revive::{calls::types::EthTransact, events::ContractEmitted}, - system::events::ExtrinsicSuccess, + revive::{ + calls::types::EthTransact, + events::{ContractEmitted, EthExtrinsicRevert}, + }, SrcChainConfig, }, ClientError, H160, LOG_TARGET, @@ -179,10 +181,10 @@ impl ReceiptExtractor { let events = ext.events().await?; let block_number: U256 = substrate_block.number().into(); - let success = events.has::().inspect_err(|err| { + let success = !events.has::().inspect_err(|err| { log::debug!( target: LOG_TARGET, - "Failed to lookup for ExtrinsicSuccess event in block {block_number}: {err:?}" + "Failed to lookup for EthExtrinsicRevert event in block {block_number}: {err:?}" ); })?; diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index 9072f9ad26963..e5b19c5976e4d 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -348,6 +348,16 @@ mod benchmarks { assert_eq!(Pallet::::evm_balance(&addr), evm_value); } + #[benchmark(pov_mode = Measured)] + fn deposit_eth_extrinsic_revert_event() { + #[block] + { + Pallet::::deposit_event(Event::::EthExtrinsicRevert { + dispatch_error: crate::Error::::BenchmarkingError.into(), + }); + } + } + // `i`: Size of the input in bytes. // `s`: Size of e salt in bytes. #[benchmark(pov_mode = Measured)] @@ -2743,7 +2753,7 @@ mod benchmarks { ); // Store transaction - let _ = block_storage::with_ethereum_context(|| { + let _ = block_storage::bench_with_ethereum_context(|| { let (encoded_logs, bloom) = block_storage::get_receipt_details().unwrap_or_default(); @@ -2816,7 +2826,7 @@ mod benchmarks { ); // Store transaction - let _ = block_storage::with_ethereum_context(|| { + let _ = block_storage::bench_with_ethereum_context(|| { let (encoded_logs, bloom) = block_storage::get_receipt_details().unwrap_or_default(); @@ -2881,7 +2891,7 @@ mod benchmarks { let gas_used = Weight::from_parts(1_000_000, 1000); // Store transaction - let _ = block_storage::with_ethereum_context(|| { + let _ = block_storage::bench_with_ethereum_context(|| { let (encoded_logs, bloom) = block_storage::get_receipt_details().unwrap_or_default(); let block_builder_ir = EthBlockBuilderIR::::get(); @@ -2943,7 +2953,7 @@ mod benchmarks { let gas_used = Weight::from_parts(1_000_000, 1000); // Store transaction - let _ = block_storage::with_ethereum_context(|| { + let _ = block_storage::bench_with_ethereum_context(|| { let (encoded_logs, bloom) = block_storage::get_receipt_details().unwrap_or_default(); let block_builder_ir = EthBlockBuilderIR::::get(); diff --git a/substrate/frame/revive/src/evm/block_hash/block_builder.rs b/substrate/frame/revive/src/evm/block_hash/block_builder.rs index f7bcca4c518ef..c84040c47390f 100644 --- a/substrate/frame/revive/src/evm/block_hash/block_builder.rs +++ b/substrate/frame/revive/src/evm/block_hash/block_builder.rs @@ -125,14 +125,14 @@ impl EthereumBlockBuilder { // The first transaction and receipt are returned to be stored in the pallet storage. // The index of the incremental hash builders already expects the next items. if self.tx_hashes.len() == 1 { - log::debug!(target: LOG_TARGET, "Storing first transaction and receipt in pallet storage"); + log::trace!(target: LOG_TARGET, "Storing first transaction and receipt in pallet storage"); self.pallet_put_first_values((transaction_encoded, encoded_receipt)); return; } if self.transaction_root_builder.needs_first_value(BuilderPhase::ProcessingValue) { if let Some((first_tx, first_receipt)) = self.pallet_take_first_values() { - log::debug!(target: LOG_TARGET, "Loaded first transaction and receipt from pallet storage"); + log::trace!(target: LOG_TARGET, "Loaded first transaction and receipt from pallet storage"); self.transaction_root_builder.set_first_value(first_tx); self.receipts_root_builder.set_first_value(first_receipt); } else { @@ -159,7 +159,7 @@ impl EthereumBlockBuilder { self.transaction_root_builder.set_first_value(first_tx); self.receipts_root_builder.set_first_value(first_receipt); } else { - log::debug!(target: LOG_TARGET, "Building an empty block"); + log::trace!(target: LOG_TARGET, "Building an empty block"); } } diff --git a/substrate/frame/revive/src/evm/block_hash/hash_builder.rs b/substrate/frame/revive/src/evm/block_hash/hash_builder.rs index 9ceb8416169ee..3376629d2eb55 100644 --- a/substrate/frame/revive/src/evm/block_hash/hash_builder.rs +++ b/substrate/frame/revive/src/evm/block_hash/hash_builder.rs @@ -252,7 +252,7 @@ impl IncrementalHashBuilder { .take() .expect("First value must be set when processing index 127; qed"); - log::debug!(target: LOG_TARGET, "Adding first value at index 0 while processing index 127"); + log::trace!(target: LOG_TARGET, "Adding first value at index 0 while processing index 127"); let rlp_index = rlp::encode_fixed_size(&0usize); self.hash_builder.add_leaf(Nibbles::unpack(&rlp_index), &encoded_value); @@ -284,7 +284,7 @@ impl IncrementalHashBuilder { // first value index is the last one in the sorted vector // by rlp encoding of the index. if let Some(encoded_value) = self.first_value.take() { - log::debug!(target: LOG_TARGET, "Adding first value at index 0 while building the trie"); + log::trace!(target: LOG_TARGET, "Adding first value at index 0 while building the trie"); let rlp_index = rlp::encode_fixed_size(&0usize); self.hash_builder.add_leaf(Nibbles::unpack(&rlp_index), &encoded_value); diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 650c0d8f3f9b9..04451f1e46da8 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -14,20 +14,23 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. - use crate::{ evm::block_hash::{AccumulateReceipt, EthereumBlockBuilder, LogsBloom}, limits, sp_runtime::traits::One, - BlockHash, Config, EthBlockBuilderIR, EthereumBlock, ReceiptInfoData, UniqueSaturatedInto, - H160, H256, + weights::WeightInfo, + BlockHash, Config, EthBlockBuilderIR, EthereumBlock, Event, Pallet, ReceiptInfoData, + UniqueSaturatedInto, H160, H256, }; - -use frame_support::weights::Weight; -pub use sp_core::U256; - use alloc::vec::Vec; use environmental::environmental; +use frame_support::{ + pallet_prelude::{DispatchError, DispatchResultWithPostInfo}, + storage::with_transaction, + weights::Weight, +}; +use sp_core::U256; +use sp_runtime::TransactionOutcome; /// The maximum number of block hashes to keep in the history. /// @@ -60,12 +63,62 @@ pub fn get_receipt_details() -> Option<(Vec, LogsBloom)> { } /// Capture the receipt events emitted from the current ethereum -/// transaction. The transaction must be signed by an eth-compatible -/// wallet. -pub fn with_ethereum_context(f: impl FnOnce() -> R) -> R { +#[cfg(feature = "runtime-benchmarks")] +pub fn bench_with_ethereum_context(f: impl FnOnce() -> R) -> R { receipt::using(&mut AccumulateReceipt::new(), f) } +/// Execute the Ethereum call, and write the block storage transaction details. +/// +/// # Parameters +/// - transaction_encoded: The RLP encoded transaction bytes. +/// - call: A closure that executes the transaction logic and returns the gas consumed and result. +pub fn with_ethereum_context( + transaction_encoded: Vec, + call: impl FnOnce() -> (Weight, DispatchResultWithPostInfo), +) -> DispatchResultWithPostInfo { + receipt::using(&mut AccumulateReceipt::new(), || { + let (err, gas_consumed, mut post_info) = + with_transaction(|| -> TransactionOutcome> { + let (gas_consumed, result) = call(); + match result { + Ok(post_info) => + TransactionOutcome::Commit(Ok((None, gas_consumed, post_info))), + Err(err) => TransactionOutcome::Rollback(Ok(( + Some(err.error), + gas_consumed, + err.post_info, + ))), + } + })?; + + if let Some(dispatch_error) = err { + deposit_eth_extrinsic_revert_event::(dispatch_error); + crate::block_storage::process_transaction::( + transaction_encoded, + false, + gas_consumed, + ); + Ok(post_info) + } else { + // deposit a dummy event in benchmark mode + #[cfg(feature = "runtime-benchmarks")] + deposit_eth_extrinsic_revert_event::(crate::Error::::BenchmarkingError.into()); + + crate::block_storage::process_transaction::(transaction_encoded, true, gas_consumed); + post_info + .actual_weight + .as_mut() + .map(|w| w.saturating_reduce(T::WeightInfo::deposit_eth_extrinsic_revert_event())); + Ok(post_info) + } + }) +} + +fn deposit_eth_extrinsic_revert_event(dispatch_error: DispatchError) { + Pallet::::deposit_event(Event::::EthExtrinsicRevert { dispatch_error }); +} + /// Clear the storage used to capture the block hash related data. pub fn on_initialize() { ReceiptInfoData::::kill(); diff --git a/substrate/frame/revive/src/lib.rs b/substrate/frame/revive/src/lib.rs index fca8db4e3dbab..a07f3320f117d 100644 --- a/substrate/frame/revive/src/lib.rs +++ b/substrate/frame/revive/src/lib.rs @@ -433,6 +433,14 @@ pub mod pallet { /// Contract deployed by deployer at the specified address. Instantiated { deployer: H160, contract: H160 }, + + /// Emitted when an Ethereum transaction reverts. + /// + /// Ethereum transactions always complete successfully at the extrinsic level, + /// as even reverted calls must store their `ReceiptInfo`. + /// To distinguish reverted calls from successful ones, this event is emitted + /// for failed Ethereum transactions. + EthExtrinsicRevert { dispatch_error: DispatchError }, } #[pallet::error] @@ -554,6 +562,10 @@ pub mod pallet { /// /// This happens if the passed `gas` inside the ethereum transaction is too low. TxFeeOverdraw = 0x35, + + /// Benchmarking only error. + #[cfg(feature = "runtime-benchmarks")] + BenchmarkingError = 0xFF, } /// A reason for the pallet revive placing a hold on funds. @@ -1194,6 +1206,7 @@ pub mod pallet { #[pallet::call_index(10)] #[pallet::weight( ::WeightInfo::eth_instantiate_with_code(code.len() as u32, data.len() as u32, Pallet::::has_dust(*value).into()) + .saturating_add(T::WeightInfo::on_finalize_block_per_tx(transaction_encoded.len() as u32)) .saturating_add(*gas_limit) )] pub fn eth_instantiate_with_code( @@ -1221,7 +1234,7 @@ pub mod pallet { let base_info = T::FeeInfo::base_dispatch_info(&mut call); drop(call); - block_storage::with_ethereum_context(|| { + block_storage::with_ethereum_context::(transaction_encoded, || { let mut output = Self::bare_instantiate( origin, value, @@ -1243,18 +1256,13 @@ pub mod pallet { } } - block_storage::process_transaction::( - transaction_encoded, - output.result.is_ok(), - output.gas_consumed, - ); - let result = dispatch_result( output.result.map(|result| result.result), output.gas_consumed, base_info.call_weight, ); - T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result) + let result = T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result); + (output.gas_consumed, result) }) } @@ -1291,7 +1299,7 @@ pub mod pallet { let base_info = T::FeeInfo::base_dispatch_info(&mut call); drop(call); - block_storage::with_ethereum_context(|| { + block_storage::with_ethereum_context::(transaction_encoded, || { let mut output = Self::bare_call( origin, dest, @@ -1312,22 +1320,10 @@ pub mod pallet { } } - let encoded_length = transaction_encoded.len() as u32; - - block_storage::process_transaction::( - transaction_encoded, - output.result.is_ok(), - output.gas_consumed, - ); - - let result = dispatch_result( - output.result, - output.gas_consumed, - base_info - .call_weight - .saturating_add(T::WeightInfo::on_finalize_block_per_tx(encoded_length)), - ); - T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result) + let result = + dispatch_result(output.result, output.gas_consumed, base_info.call_weight); + let result = T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result); + (output.gas_consumed, result) }) } diff --git a/substrate/frame/revive/src/tests/block_hash.rs b/substrate/frame/revive/src/tests/block_hash.rs index 7b3406639a8f2..2fafa4cac7fb8 100644 --- a/substrate/frame/revive/src/tests/block_hash.rs +++ b/substrate/frame/revive/src/tests/block_hash.rs @@ -24,16 +24,14 @@ use crate::{ BalanceWithDust, Code, Config, EthBlock, EthBlockBuilderFirstValues, EthBlockBuilderIR, EthereumBlock, Pallet, ReceiptGasInfo, ReceiptInfoData, }; - +use alloy_consensus::RlpEncodableReceipt; +use alloy_core::primitives::{FixedBytes, Log as AlloyLog}; use frame_support::traits::{ fungible::{Balanced, Mutate}, Hooks, }; use pallet_revive_fixtures::compile_module; -use alloy_consensus::RlpEncodableReceipt; -use alloy_core::primitives::{FixedBytes, Log as AlloyLog}; - #[test] fn on_initialize_clears_storage() { ExtBuilder::default().existential_deposit(50).build().execute_with(|| { @@ -64,29 +62,29 @@ fn transactions_are_captured() { let _ = ::Currency::set_balance(&ALICE, 100_000_000_000); let Contract { addr, .. } = builder::bare_instantiate(Code::Upload(binary.clone())).build_and_unwrap_contract(); + let Contract { addr: addr2, .. } = + builder::bare_instantiate(Code::Upload(gas_binary.clone())).build_and_unwrap_contract(); let balance = Pallet::::convert_native_to_evm(BalanceWithDust::new_unchecked::(100, 10)); ::FeeInfo::deposit_txfee(::Currency::issue(5_000_000_000)); - assert_ok!(builder::eth_call(addr).value(balance).build()); - assert_ok!(builder::eth_instantiate_with_code(binary).value(balance).build()); + // eth calls are captured. + assert_ok!(builder::eth_call(addr).transaction_encoded(vec![1]).value(balance).build()); + assert_ok!(builder::eth_instantiate_with_code(binary) + .value(balance) + .transaction_encoded(vec![2]) + .build()); + assert_ok!(builder::eth_call(addr2).transaction_encoded(vec![3]).build()); - // Call is not captured. + // non-eth calls are not captured. assert_ok!(builder::call(addr).value(1).build()); - // Instantiate with code is not captured. - assert_ok!(builder::instantiate_with_code(gas_binary).value(1).build()); + assert_ok!(builder::instantiate_with_code(gas_binary).salt(Some([1u8; 32])).build()); let block_builder = EthBlockBuilderIR::::get(); - // Only 2 transactions were captured. - assert_eq!(block_builder.gas_info.len(), 2); + assert_eq!(block_builder.gas_info.len(), 3, "3 transactions were captured"); - let expected_payloads = vec![ - // Signed payload of eth_call. - TransactionSigned::TransactionLegacySigned(Default::default()).signed_payload(), - // Signed payload of eth_instantiate_with_code. - TransactionSigned::Transaction4844Signed(Default::default()).signed_payload(), - ]; + let expected_payloads = vec![vec![1u8], vec![2u8], vec![3u8]]; let expected_tx_root = Block::compute_trie_root(&expected_payloads); // Double check the trie root hash. @@ -99,6 +97,7 @@ fn transactions_are_captured() { assert_eq!(tx_root, expected_tx_root.0.into()); Contracts::on_finalize(0); + assert_eq!(crate::EthereumBlock::::get().transactions.len(), 3); // Builder is killed on finalize. let block_builder = EthBlockBuilderIR::::get(); diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index 459ba44ad51b4..cb5b4256c9763 100644 --- a/substrate/frame/revive/src/weights.rs +++ b/substrate/frame/revive/src/weights.rs @@ -35,9 +35,9 @@ //! Autogenerated weights for `pallet_revive` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-10-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-10-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `986c4e741cbd`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `45ece2a7fba3`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -78,6 +78,7 @@ pub trait WeightInfo { fn basic_block_compilation(b: u32, ) -> Weight; fn instantiate_with_code(c: u32, i: u32, ) -> Weight; fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight; + fn deposit_eth_extrinsic_revert_event() -> Weight; fn instantiate(i: u32, ) -> Weight; fn call() -> Weight; fn eth_call(d: u32, ) -> Weight; @@ -177,10 +178,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) fn on_process_deletion_queue_batch() -> Weight { // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `1632` - // Minimum execution time: 3_172_000 picoseconds. - Weight::from_parts(3_366_000, 1632) + // Measured: `213` + // Estimated: `1698` + // Minimum execution time: 3_334_000 picoseconds. + Weight::from_parts(3_403_000, 1698) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -188,12 +189,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `458 + k * (69 ±0)` - // Estimated: `448 + k * (70 ±0)` - // Minimum execution time: 14_716_000 picoseconds. - Weight::from_parts(1_865_927, 448) - // Standard Error: 1_184 - .saturating_add(Weight::from_parts(1_211_741, 0).saturating_mul(k.into())) + // Measured: `491 + k * (69 ±0)` + // Estimated: `481 + k * (70 ±0)` + // Minimum execution time: 14_528_000 picoseconds. + Weight::from_parts(15_061_000, 481) + // Standard Error: 2_727 + .saturating_add(Weight::from_parts(1_340_732, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -215,12 +216,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 102400]`. fn call_with_pvm_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1172 + c * (1 ±0)` - // Estimated: `7107 + c * (1 ±0)` - // Minimum execution time: 89_748_000 picoseconds. - Weight::from_parts(128_346_732, 7107) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_255, 0).saturating_mul(c.into())) + // Measured: `1265 + c * (1 ±0)` + // Estimated: `7200 + c * (1 ±0)` + // Minimum execution time: 91_083_000 picoseconds. + Weight::from_parts(136_606_669, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_706, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -240,12 +241,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[1, 10240]`. fn call_with_evm_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1112` - // Estimated: `7051` - // Minimum execution time: 84_280_000 picoseconds. - Weight::from_parts(88_997_361, 7051) - // Standard Error: 23 - .saturating_add(Weight::from_parts(29, 0).saturating_mul(c.into())) + // Measured: `1205` + // Estimated: `7144` + // Minimum execution time: 85_802_000 picoseconds. + Weight::from_parts(89_962_861, 7144) + // Standard Error: 19 + .saturating_add(Weight::from_parts(46, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -262,12 +263,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(_b: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `4516` - // Estimated: `10456` - // Minimum execution time: 127_879_000 picoseconds. - Weight::from_parts(132_688_414, 10456) + fn basic_block_compilation(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `4609` + // Estimated: `10549` + // Minimum execution time: 136_745_000 picoseconds. + Weight::from_parts(141_828_434, 10549) + // Standard Error: 601_709 + .saturating_add(Weight::from_parts(7_124_265, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -276,7 +279,7 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) @@ -289,14 +292,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 131072]`. fn instantiate_with_code(c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `6811` - // Minimum execution time: 760_891_000 picoseconds. - Weight::from_parts(80_916_401, 6811) - // Standard Error: 40 - .saturating_add(Weight::from_parts(19_536, 0).saturating_mul(c.into())) - // Standard Error: 31 - .saturating_add(Weight::from_parts(4_870, 0).saturating_mul(i.into())) + // Measured: `1024` + // Estimated: `6954` + // Minimum execution time: 762_375_000 picoseconds. + Weight::from_parts(40_954_679, 6954) + // Standard Error: 35 + .saturating_add(Weight::from_parts(21_040, 0).saturating_mul(c.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(5_378, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -305,13 +308,17 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 102400]`. @@ -319,20 +326,27 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 1]`. fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `6821` - // Minimum execution time: 287_281_000 picoseconds. - Weight::from_parts(188_988_937, 6821) - // Standard Error: 17 - .saturating_add(Weight::from_parts(14_406, 0).saturating_mul(c.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(455, 0).saturating_mul(i.into())) - // Standard Error: 1_169_772 - .saturating_add(Weight::from_parts(34_956_293, 0).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Measured: `1024` + // Estimated: `6964` + // Minimum execution time: 333_951_000 picoseconds. + Weight::from_parts(177_697_819, 6964) + // Standard Error: 33 + .saturating_add(Weight::from_parts(16_374, 0).saturating_mul(c.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(815, 0).saturating_mul(i.into())) + // Standard Error: 2_163_326 + .saturating_add(Weight::from_parts(54_012_806, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) } + fn deposit_eth_extrinsic_revert_event() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_055_000 picoseconds. + Weight::from_parts(3_323_000, 0) + } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -346,16 +360,16 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// The range of component `i` is `[0, 131072]`. fn instantiate(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1610` - // Estimated: `7553` - // Minimum execution time: 178_541_000 picoseconds. - Weight::from_parts(183_113_115, 7553) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_171, 0).saturating_mul(i.into())) + // Measured: `1752` + // Estimated: `7694` + // Minimum execution time: 181_697_000 picoseconds. + Weight::from_parts(186_030_984, 7694) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_160, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -373,10 +387,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `1831` - // Estimated: `7771` - // Minimum execution time: 94_101_000 picoseconds. - Weight::from_parts(97_247_000, 7771) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 96_928_000 picoseconds. + Weight::from_parts(100_197_000, 7902) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -392,49 +406,53 @@ impl WeightInfo for SubstrateWeight { /// 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: `Measured`) + /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 1]`. fn eth_call(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1831` - // Estimated: `7771` - // Minimum execution time: 91_981_000 picoseconds. - Weight::from_parts(95_667_365, 7771) - // Standard Error: 354_322 - .saturating_add(Weight::from_parts(26_844_334, 0).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 115_344_000 picoseconds. + Weight::from_parts(122_004_312, 7902) + // Standard Error: 819_369 + .saturating_add(Weight::from_parts(27_684_587, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 102400]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303` - // Estimated: `3768` - // Minimum execution time: 56_823_000 picoseconds. - Weight::from_parts(50_899_286, 3768) - // Standard Error: 17 - .saturating_add(Weight::from_parts(13_871, 0).saturating_mul(c.into())) + // Measured: `369` + // Estimated: `3834` + // Minimum execution time: 56_937_000 picoseconds. + Weight::from_parts(46_649_814, 3834) + // Standard Error: 55 + .saturating_add(Weight::from_parts(14_791, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_code() -> Weight { // Proof Size summary in bytes: - // Measured: `458` - // Estimated: `3923` - // Minimum execution time: 53_007_000 picoseconds. - Weight::from_parts(54_163_000, 3923) + // Measured: `524` + // Estimated: `3989` + // Minimum execution time: 53_168_000 picoseconds. + Weight::from_parts(55_143_000, 3989) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -443,43 +461,43 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `797` - // Estimated: `6737` - // Minimum execution time: 67_293_000 picoseconds. - Weight::from_parts(69_420_000, 6737) + // Measured: `867` + // Estimated: `6807` + // Minimum execution time: 68_675_000 picoseconds. + Weight::from_parts(71_006_000, 6807) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Revive::OriginalAccount` (r:1 w:1) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) fn map_account() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3975` - // Minimum execution time: 56_104_000 picoseconds. - Weight::from_parts(57_331_000, 3975) + // Measured: `600` + // Estimated: `4065` + // Minimum execution time: 57_159_000 picoseconds. + Weight::from_parts(58_433_000, 4065) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:0 w:1) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) fn unmap_account() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 39_974_000 picoseconds. - Weight::from_parts(41_089_000, 3558) + // Minimum execution time: 40_097_000 picoseconds. + Weight::from_parts(41_229_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -491,8 +509,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 13_328_000 picoseconds. - Weight::from_parts(13_677_000, 3610) + // Minimum execution time: 13_065_000 picoseconds. + Weight::from_parts(13_482_000, 3610) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -500,51 +518,51 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_446_000 picoseconds. - Weight::from_parts(7_434_791, 0) - // Standard Error: 313 - .saturating_add(Weight::from_parts(180_281, 0).saturating_mul(r.into())) + // Minimum execution time: 7_839_000 picoseconds. + Weight::from_parts(9_500_376, 0) + // Standard Error: 248 + .saturating_add(Weight::from_parts(176_114, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 343_000 picoseconds. - Weight::from_parts(364_000, 0) + // Minimum execution time: 354_000 picoseconds. + Weight::from_parts(378_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 294_000 picoseconds. - Weight::from_parts(351_000, 0) + // Minimum execution time: 359_000 picoseconds. + Weight::from_parts(388_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) fn to_account_id() -> Weight { // Proof Size summary in bytes: - // Measured: `567` - // Estimated: `4032` - // Minimum execution time: 8_157_000 picoseconds. - Weight::from_parts(8_503_000, 4032) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 11_673_000 picoseconds. + Weight::from_parts(12_167_000, 4088) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) fn seal_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `3868` - // Minimum execution time: 9_210_000 picoseconds. - Weight::from_parts(9_940_000, 3868) + // Measured: `473` + // Estimated: `3938` + // Minimum execution time: 10_033_000 picoseconds. + Weight::from_parts(10_359_000, 3938) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `436` // Estimated: `0` - // Minimum execution time: 7_167_000 picoseconds. - Weight::from_parts(7_441_000, 0) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(10_001_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -552,53 +570,53 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) fn seal_code_size() -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `3940` - // Minimum execution time: 13_179_000 picoseconds. - Weight::from_parts(13_523_000, 3940) + // Measured: `545` + // Estimated: `4010` + // Minimum execution time: 13_321_000 picoseconds. + Weight::from_parts(14_121_000, 4010) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_091_000 picoseconds. - Weight::from_parts(1_180_000, 0) + // Minimum execution time: 1_173_000 picoseconds. + Weight::from_parts(1_320_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_111_000 picoseconds. - Weight::from_parts(1_215_000, 0) + // Minimum execution time: 1_099_000 picoseconds. + Weight::from_parts(1_213_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 293_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 376_000 picoseconds. + Weight::from_parts(427_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_037_000 picoseconds. - Weight::from_parts(1_134_000, 0) + // Minimum execution time: 1_116_000 picoseconds. + Weight::from_parts(1_231_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `140` // Estimated: `0` - // Minimum execution time: 294_000 picoseconds. - Weight::from_parts(329_000, 0) + // Minimum execution time: 5_597_000 picoseconds. + Weight::from_parts(6_200_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `540` + // Measured: `576` // Estimated: `0` - // Minimum execution time: 13_035_000 picoseconds. - Weight::from_parts(13_690_000, 0) + // Minimum execution time: 13_317_000 picoseconds. + Weight::from_parts(13_904_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -608,10 +626,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) fn seal_balance_of() -> Weight { // Proof Size summary in bytes: - // Measured: `824` - // Estimated: `4289` - // Minimum execution time: 19_107_000 picoseconds. - Weight::from_parts(19_609_000, 4289) + // Measured: `884` + // Estimated: `4349` + // Minimum execution time: 20_768_000 picoseconds. + Weight::from_parts(21_280_000, 4349) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -619,12 +637,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 4096]`. fn seal_get_immutable_data(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `271 + n * (1 ±0)` - // Estimated: `3736 + n * (1 ±0)` - // Minimum execution time: 5_970_000 picoseconds. - Weight::from_parts(6_876_179, 3736) + // Measured: `304 + n * (1 ±0)` + // Estimated: `3769 + n * (1 ±0)` + // Minimum execution time: 6_097_000 picoseconds. + Weight::from_parts(6_894_383, 3769) // Standard Error: 5 - .saturating_add(Weight::from_parts(494, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(508, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -635,67 +653,67 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_125_000 picoseconds. - Weight::from_parts(2_353_652, 0) + // Minimum execution time: 2_172_000 picoseconds. + Weight::from_parts(2_407_814, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(520, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 287_000 picoseconds. - Weight::from_parts(336_000, 0) + // Minimum execution time: 299_000 picoseconds. + Weight::from_parts(349_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_335_000 picoseconds. - Weight::from_parts(1_439_000, 0) + // Minimum execution time: 1_342_000 picoseconds. + Weight::from_parts(1_468_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 265_000 picoseconds. - Weight::from_parts(300_000, 0) + // Minimum execution time: 276_000 picoseconds. + Weight::from_parts(316_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 269_000 picoseconds. - Weight::from_parts(325_000, 0) + // Minimum execution time: 291_000 picoseconds. + Weight::from_parts(337_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 463_000 picoseconds. - Weight::from_parts(522_000, 0) + // Minimum execution time: 1_825_000 picoseconds. + Weight::from_parts(1_937_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 251_000 picoseconds. - Weight::from_parts(310_000, 0) + // Minimum execution time: 1_064_000 picoseconds. + Weight::from_parts(1_167_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 275_000 picoseconds. - Weight::from_parts(298_000, 0) + // Minimum execution time: 1_087_000 picoseconds. + Weight::from_parts(1_200_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 235_000 picoseconds. - Weight::from_parts(308_000, 0) + // Minimum execution time: 318_000 picoseconds. + Weight::from_parts(335_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -703,105 +721,105 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 22_421_000 picoseconds. - Weight::from_parts(22_893_000, 1626) + // Minimum execution time: 21_581_000 picoseconds. + Weight::from_parts(22_001_000, 1626) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// Storage: `System::BlockHash` (r:1 w:0) - /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:0) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `30` - // Estimated: `3495` - // Minimum execution time: 3_655_000 picoseconds. - Weight::from_parts(3_971_000, 3495) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 6_279_000 picoseconds. + Weight::from_parts(6_786_000, 3813) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(348_000, 0) + // Minimum execution time: 359_000 picoseconds. + Weight::from_parts(384_000, 0) } - /// The range of component `n` is `[0, 262140]`. + /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(172_085, 0) + // Minimum execution time: 470_000 picoseconds. + Weight::from_parts(232_156, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 260_000 picoseconds. - Weight::from_parts(305_000, 0) + // Minimum execution time: 302_000 picoseconds. + Weight::from_parts(314_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 245_000 picoseconds. - Weight::from_parts(551_388, 0) + // Minimum execution time: 272_000 picoseconds. + Weight::from_parts(289_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(115, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 317_000 picoseconds. - Weight::from_parts(478_137, 0) + // Minimum execution time: 318_000 picoseconds. + Weight::from_parts(601_069, 0) // Standard Error: 0 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { + fn seal_terminate(_r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_508_000 picoseconds. - Weight::from_parts(7_066_673, 0) - // Standard Error: 28_385 - .saturating_add(Weight::from_parts(6_926, 0).saturating_mul(r.into())) + // Minimum execution time: 917_000 picoseconds. + Weight::from_parts(1_052_418, 0) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::DeletionQueue` (r:0 w:1) /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) + /// Storage: `Revive::PristineCode` (r:0 w:1) + /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Revive::ImmutableDataOf` (r:0 w:1) /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`) fn seal_terminate_logic() -> Weight { // Proof Size summary in bytes: - // Measured: `651` - // Estimated: `4116` - // Minimum execution time: 46_417_000 picoseconds. - Weight::from_parts(47_610_000, 4116) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `1016` + // Estimated: `6956` + // Minimum execution time: 117_278_000 picoseconds. + Weight::from_parts(118_690_000, 6956) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// The range of component `t` is `[0, 4]`. - /// The range of component `n` is `[0, 416]`. - fn seal_deposit_event(t: u32, n: u32, ) -> Weight { + /// The range of component `n` is `[0, 65536]`. + fn seal_deposit_event(_t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_474_000 picoseconds. - Weight::from_parts(4_393_233, 0) - // Standard Error: 3_393 - .saturating_add(Weight::from_parts(267_475, 0).saturating_mul(t.into())) - // Standard Error: 37 - .saturating_add(Weight::from_parts(1_332, 0).saturating_mul(n.into())) + // Minimum execution time: 5_192_000 picoseconds. + Weight::from_parts(5_302_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_191, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -809,8 +827,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 7_174_000 picoseconds. - Weight::from_parts(7_829_000, 648) + // Minimum execution time: 7_311_000 picoseconds. + Weight::from_parts(7_658_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -819,8 +837,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_844_000 picoseconds. - Weight::from_parts(43_207_000, 10658) + // Minimum execution time: 41_596_000 picoseconds. + Weight::from_parts(43_194_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -829,8 +847,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_774_000 picoseconds. - Weight::from_parts(9_172_000, 648) + // Minimum execution time: 8_551_000 picoseconds. + Weight::from_parts(9_073_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -840,8 +858,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 43_524_000 picoseconds. - Weight::from_parts(45_070_000, 10658) + // Minimum execution time: 43_013_000 picoseconds. + Weight::from_parts(44_438_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -853,12 +871,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 8_957_000 picoseconds. - Weight::from_parts(9_791_356, 247) - // Standard Error: 60 - .saturating_add(Weight::from_parts(426, 0).saturating_mul(n.into())) - // Standard Error: 60 - .saturating_add(Weight::from_parts(825, 0).saturating_mul(o.into())) + // Minimum execution time: 9_312_000 picoseconds. + Weight::from_parts(10_036_819, 247) + // Standard Error: 82 + .saturating_add(Weight::from_parts(504, 0).saturating_mul(n.into())) + // Standard Error: 82 + .saturating_add(Weight::from_parts(416, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -866,17 +884,14 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn clear_storage(n: u32, ) -> Weight { + fn clear_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_805_000 picoseconds. - Weight::from_parts(9_670_990, 247) - // Standard Error: 75 - .saturating_add(Weight::from_parts(809, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 10_871_000 picoseconds. + Weight::from_parts(12_051_402, 376) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -885,10 +900,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_057_000 picoseconds. - Weight::from_parts(9_245_514, 247) - // Standard Error: 80 - .saturating_add(Weight::from_parts(1_894, 0).saturating_mul(n.into())) + // Minimum execution time: 8_673_000 picoseconds. + Weight::from_parts(9_698_114, 247) + // Standard Error: 113 + .saturating_add(Weight::from_parts(745, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -897,64 +912,61 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 416]`. fn contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 7_704_000 picoseconds. - Weight::from_parts(8_564_996, 247) - // Standard Error: 66 - .saturating_add(Weight::from_parts(943, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_092_000 picoseconds. + Weight::from_parts(3_468_584, 0) + // Standard Error: 32 + .saturating_add(Weight::from_parts(6, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. fn take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 9_314_000 picoseconds. - Weight::from_parts(10_433_419, 247) - // Standard Error: 88 - .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 11_547_000 picoseconds. + Weight::from_parts(12_649_177, 376) + // Standard Error: 188 + .saturating_add(Weight::from_parts(401, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } fn set_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_563_000 picoseconds. - Weight::from_parts(1_683_000, 0) + // Minimum execution time: 1_755_000 picoseconds. + Weight::from_parts(1_873_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_051_000 picoseconds. - Weight::from_parts(2_160_000, 0) + // Minimum execution time: 2_056_000 picoseconds. + Weight::from_parts(2_169_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_676_000 picoseconds. - Weight::from_parts(1_761_000, 0) + // Minimum execution time: 1_537_000 picoseconds. + Weight::from_parts(1_668_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_829_000 picoseconds. - Weight::from_parts(1_952_000, 0) + // Minimum execution time: 1_738_000 picoseconds. + Weight::from_parts(1_837_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_275_000 picoseconds. - Weight::from_parts(1_375_000, 0) + // Minimum execution time: 1_263_000 picoseconds. + Weight::from_parts(1_354_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -962,50 +974,48 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_349_000 picoseconds. - Weight::from_parts(2_395_814, 0) - // Standard Error: 103 - .saturating_add(Weight::from_parts(1_114, 0).saturating_mul(n.into())) - // Standard Error: 103 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(o.into())) + // Minimum execution time: 2_528_000 picoseconds. + Weight::from_parts(2_677_536, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(363, 0).saturating_mul(n.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(355, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(n: u32, ) -> Weight { + fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_195_000 picoseconds. - Weight::from_parts(2_629_931, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(261, 0).saturating_mul(n.into())) + // Minimum execution time: 3_772_000 picoseconds. + Weight::from_parts(4_203_781, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_006_000 picoseconds. - Weight::from_parts(2_323_107, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(320, 0).saturating_mul(n.into())) + // Minimum execution time: 2_045_000 picoseconds. + Weight::from_parts(2_320_280, 0) + // Standard Error: 25 + .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_contains_transient_storage(n: u32, ) -> Weight { + fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_868_000 picoseconds. - Weight::from_parts(2_154_351, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(162, 0).saturating_mul(n.into())) + // Minimum execution time: 3_197_000 picoseconds. + Weight::from_parts(3_586_989, 0) } /// The range of component `n` is `[0, 416]`. - fn seal_take_transient_storage(_n: u32, ) -> Weight { + fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_764_000 picoseconds. - Weight::from_parts(3_061_726, 0) + // Minimum execution time: 4_150_000 picoseconds. + Weight::from_parts(4_500_362, 0) + // Standard Error: 34 + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1022,16 +1032,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1998` - // Estimated: `5463` - // Minimum execution time: 91_282_000 picoseconds. - Weight::from_parts(70_457_000, 5463) - // Standard Error: 179_620 - .saturating_add(Weight::from_parts(20_096_022, 0).saturating_mul(t.into())) - // Standard Error: 179_620 - .saturating_add(Weight::from_parts(26_414_175, 0).saturating_mul(d.into())) + // Measured: `2045` + // Estimated: `5510` + // Minimum execution time: 94_217_000 picoseconds. + Weight::from_parts(75_398_236, 5510) + // Standard Error: 205_300 + .saturating_add(Weight::from_parts(19_476_506, 0).saturating_mul(t.into())) + // Standard Error: 205_300 + .saturating_add(Weight::from_parts(25_709_414, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -1044,17 +1054,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 130972]`. fn seal_call_precompile(d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + d * (212 ±0)` - // Estimated: `2021 + d * (2021 ±0)` - // Minimum execution time: 24_929_000 picoseconds. - Weight::from_parts(11_931_852, 2021) - // Standard Error: 56_823 - .saturating_add(Weight::from_parts(14_427_014, 0).saturating_mul(d.into())) - // Standard Error: 0 + // Measured: `436 + d * (212 ±0)` + // Estimated: `2056 + d * (2056 ±0)` + // Minimum execution time: 25_801_000 picoseconds. + Weight::from_parts(15_183_786, 2056) + // Standard Error: 95_510 + .saturating_add(Weight::from_parts(12_652_315, 0).saturating_mul(d.into())) + // Standard Error: 1 .saturating_add(Weight::from_parts(324, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2021).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into())) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1064,10 +1074,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1363` - // Estimated: `4828` - // Minimum execution time: 33_181_000 picoseconds. - Weight::from_parts(33_640_000, 4828) + // Measured: `1434` + // Estimated: `4899` + // Minimum execution time: 33_640_000 picoseconds. + Weight::from_parts(34_687_000, 4899) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1083,141 +1093,143 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 131072]`. fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508` - // Estimated: `5012` - // Minimum execution time: 153_430_000 picoseconds. - Weight::from_parts(108_979_481, 5012) - // Standard Error: 520_268 - .saturating_add(Weight::from_parts(21_150_070, 0).saturating_mul(t.into())) - // Standard Error: 520_268 - .saturating_add(Weight::from_parts(29_618_093, 0).saturating_mul(d.into())) + // Measured: `1450` + // Estimated: `4889 + d * (31 ±1) + t * (31 ±1)` + // Minimum execution time: 151_989_000 picoseconds. + Weight::from_parts(101_136_208, 4889) + // Standard Error: 577_926 + .saturating_add(Weight::from_parts(26_263_084, 0).saturating_mul(t.into())) + // Standard Error: 577_926 + .saturating_add(Weight::from_parts(31_554_845, 0).saturating_mul(d.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(3_943, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(3_984, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 31).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 31).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_264_000 picoseconds. - Weight::from_parts(12_347_788, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_240, 0).saturating_mul(n.into())) + // Minimum execution time: 1_334_000 picoseconds. + Weight::from_parts(6_964_156, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 770_000 picoseconds. - Weight::from_parts(642_533, 0) + // Minimum execution time: 841_000 picoseconds. + Weight::from_parts(198_121, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(115, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_286_000 picoseconds. - Weight::from_parts(9_970_063, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(3_725, 0).saturating_mul(n.into())) + // Minimum execution time: 1_281_000 picoseconds. + Weight::from_parts(1_383_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_752, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_124_000 picoseconds. - Weight::from_parts(13_357_663, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_531, 0).saturating_mul(n.into())) + // Minimum execution time: 1_147_000 picoseconds. + Weight::from_parts(1_178_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_644, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_677_000 picoseconds. - Weight::from_parts(9_709_495, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_414, 0).saturating_mul(n.into())) + // Minimum execution time: 1_824_000 picoseconds. + Weight::from_parts(3_591_552, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_443, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_699_000 picoseconds. - Weight::from_parts(15_011_703, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_409, 0).saturating_mul(n.into())) + // Minimum execution time: 1_745_000 picoseconds. + Weight::from_parts(5_053_275, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_435, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_819_000 picoseconds. - Weight::from_parts(82_493_763, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(4_898, 0).saturating_mul(n.into())) + // Minimum execution time: 44_265_000 picoseconds. + Weight::from_parts(70_314_378, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(5_082, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_437_000 picoseconds. - Weight::from_parts(46_428_000, 0) + // Minimum execution time: 46_298_000 picoseconds. + Weight::from_parts(47_161_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_765_000 picoseconds. - Weight::from_parts(15_633_000, 0) + // Minimum execution time: 14_862_000 picoseconds. + Weight::from_parts(15_799_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 983_615_000 picoseconds. - Weight::from_parts(993_428_000, 0) + // Minimum execution time: 982_770_000 picoseconds. + Weight::from_parts(986_711_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 888_000 picoseconds. - Weight::from_parts(4_943_399_071, 0) - // Standard Error: 10_458_564 - .saturating_add(Weight::from_parts(5_972_338_278, 0).saturating_mul(n.into())) + // Minimum execution time: 898_000 picoseconds. + Weight::from_parts(4_996_792_510, 0) + // Standard Error: 10_610_258 + .saturating_add(Weight::from_parts(5_987_822_389, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 957_000 picoseconds. - Weight::from_parts(1_298_448, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(28_740, 0).saturating_mul(n.into())) + // Minimum execution time: 1_019_000 picoseconds. + Weight::from_parts(1_241_088, 0) + // Standard Error: 92 + .saturating_add(Weight::from_parts(29_291, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_144_000 picoseconds. - Weight::from_parts(13_234_000, 0) + // Minimum execution time: 13_460_000 picoseconds. + Weight::from_parts(13_651_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) @@ -1225,59 +1237,59 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 1]`. fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + r * (401 ±0)` - // Estimated: `6331 + r * (2129 ±0)` - // Minimum execution time: 15_245_000 picoseconds. - Weight::from_parts(16_236_973, 6331) - // Standard Error: 51_905 - .saturating_add(Weight::from_parts(46_482_926, 0).saturating_mul(r.into())) + // Measured: `424 + r * (434 ±0)` + // Estimated: `6364 + r * (2162 ±0)` + // Minimum execution time: 15_031_000 picoseconds. + Weight::from_parts(16_061_873, 6364) + // Standard Error: 56_120 + .saturating_add(Weight::from_parts(46_399_626, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2129).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2162).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn evm_opcode(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_159_000 picoseconds. - Weight::from_parts(1_805_350, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(6_829, 0).saturating_mul(r.into())) + // Minimum execution time: 653_000 picoseconds. + Weight::from_parts(849_294, 0) + // Standard Error: 27 + .saturating_add(Weight::from_parts(14_604, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_932_000 picoseconds. - Weight::from_parts(45_910_362, 0) - // Standard Error: 389 - .saturating_add(Weight::from_parts(106_195, 0).saturating_mul(r.into())) + // Minimum execution time: 13_784_000 picoseconds. + Weight::from_parts(86_900_025, 0) + // Standard Error: 340 + .saturating_add(Weight::from_parts(146_110, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_350_000 picoseconds. - Weight::from_parts(5_189_068, 0) - // Standard Error: 122 - .saturating_add(Weight::from_parts(71_652, 0).saturating_mul(r.into())) + // Minimum execution time: 3_386_000 picoseconds. + Weight::from_parts(3_525_675, 0) + // Standard Error: 43 + .saturating_add(Weight::from_parts(74_163, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1000, 10000]`. fn extcodecopy(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `457 + n * (1 ±0)` - // Estimated: `3922 + n * (1 ±0)` - // Minimum execution time: 14_047_000 picoseconds. - Weight::from_parts(13_896_558, 3922) - // Standard Error: 4 - .saturating_add(Weight::from_parts(742, 0).saturating_mul(n.into())) + // Measured: `527 + n * (1 ±0)` + // Estimated: `3992 + n * (1 ±0)` + // Minimum execution time: 14_852_000 picoseconds. + Weight::from_parts(14_796_814, 3992) + // Standard Error: 7 + .saturating_add(Weight::from_parts(777, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1287,10 +1299,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn v1_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `316` - // Estimated: `6256` - // Minimum execution time: 12_469_000 picoseconds. - Weight::from_parts(13_089_000, 6256) + // Measured: `382` + // Estimated: `6322` + // Minimum execution time: 12_200_000 picoseconds. + Weight::from_parts(12_443_000, 6322) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1299,45 +1311,49 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Revive::CodeInfoOf` (r:2 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `MaxEncodedLen`) fn v2_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `6794` - // Minimum execution time: 65_203_000 picoseconds. - Weight::from_parts(67_117_000, 6794) + // Measured: `505` + // Estimated: `6866` + // Minimum execution time: 63_183_000 picoseconds. + Weight::from_parts(64_814_000, 6866) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 200]`. fn on_finalize_per_transaction(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2897 + n * (65 ±0)` - // Estimated: `6196 + n * (67 ±0)` - // Minimum execution time: 26_105_000 picoseconds. - Weight::from_parts(52_946_787, 6196) - // Standard Error: 4_176 - .saturating_add(Weight::from_parts(406_449, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(n.into())) + // Measured: `2979 + n * (65 ±0)` + // Estimated: `6275 + n * (72 ±0)` + // Minimum execution time: 29_626_000 picoseconds. + Weight::from_parts(67_584_092, 6275) + // Standard Error: 5_560 + .saturating_add(Weight::from_parts(391_615, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(0, 72).saturating_mul(n.into())) } + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -1345,24 +1361,26 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 1000]`. fn on_finalize_per_transaction_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3153 + d * (3 ±0)` - // Estimated: `6612 + d * (3 ±0)` - // Minimum execution time: 56_634_000 picoseconds. - Weight::from_parts(58_329_844, 6612) - // Standard Error: 143 - .saturating_add(Weight::from_parts(13_211, 0).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `3223 + d * (3 ±0)` + // Estimated: `6682 + d * (3 ±0)` + // Minimum execution time: 69_461_000 picoseconds. + Weight::from_parts(71_717_131, 6682) + // Standard Error: 238 + .saturating_add(Weight::from_parts(13_123, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -1370,38 +1388,38 @@ impl WeightInfo for SubstrateWeight { /// The range of component `e` is `[0, 100]`. fn on_finalize_per_event(e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_063_000 picoseconds. - Weight::from_parts(45_157_808, 4842) - // Standard Error: 945 - .saturating_add(Weight::from_parts(1_823, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 48_397_000 picoseconds. + Weight::from_parts(50_741_898, 4945) + // Standard Error: 1_182 + .saturating_add(Weight::from_parts(2_982, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(d: u32, ) -> Weight { + fn on_finalize_per_event_data(_d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_443_000 picoseconds. - Weight::from_parts(45_235_925, 4842) - // Standard Error: 6 - .saturating_add(Weight::from_parts(32, 0).saturating_mul(d.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 48_592_000 picoseconds. + Weight::from_parts(51_942_832, 4945) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } @@ -1411,10 +1429,10 @@ impl WeightInfo for () { /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) fn on_process_deletion_queue_batch() -> Weight { // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `1632` - // Minimum execution time: 3_172_000 picoseconds. - Weight::from_parts(3_366_000, 1632) + // Measured: `213` + // Estimated: `1698` + // Minimum execution time: 3_334_000 picoseconds. + Weight::from_parts(3_403_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1422,12 +1440,12 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `458 + k * (69 ±0)` - // Estimated: `448 + k * (70 ±0)` - // Minimum execution time: 14_716_000 picoseconds. - Weight::from_parts(1_865_927, 448) - // Standard Error: 1_184 - .saturating_add(Weight::from_parts(1_211_741, 0).saturating_mul(k.into())) + // Measured: `491 + k * (69 ±0)` + // Estimated: `481 + k * (70 ±0)` + // Minimum execution time: 14_528_000 picoseconds. + Weight::from_parts(15_061_000, 481) + // Standard Error: 2_727 + .saturating_add(Weight::from_parts(1_340_732, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1449,12 +1467,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 102400]`. fn call_with_pvm_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1172 + c * (1 ±0)` - // Estimated: `7107 + c * (1 ±0)` - // Minimum execution time: 89_748_000 picoseconds. - Weight::from_parts(128_346_732, 7107) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_255, 0).saturating_mul(c.into())) + // Measured: `1265 + c * (1 ±0)` + // Estimated: `7200 + c * (1 ±0)` + // Minimum execution time: 91_083_000 picoseconds. + Weight::from_parts(136_606_669, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_706, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1474,12 +1492,12 @@ impl WeightInfo for () { /// The range of component `c` is `[1, 10240]`. fn call_with_evm_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1112` - // Estimated: `7051` - // Minimum execution time: 84_280_000 picoseconds. - Weight::from_parts(88_997_361, 7051) - // Standard Error: 23 - .saturating_add(Weight::from_parts(29, 0).saturating_mul(c.into())) + // Measured: `1205` + // Estimated: `7144` + // Minimum execution time: 85_802_000 picoseconds. + Weight::from_parts(89_962_861, 7144) + // Standard Error: 19 + .saturating_add(Weight::from_parts(46, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1496,12 +1514,14 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `b` is `[0, 1]`. - fn basic_block_compilation(_b: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `4516` - // Estimated: `10456` - // Minimum execution time: 127_879_000 picoseconds. - Weight::from_parts(132_688_414, 10456) + fn basic_block_compilation(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `4609` + // Estimated: `10549` + // Minimum execution time: 136_745_000 picoseconds. + Weight::from_parts(141_828_434, 10549) + // Standard Error: 601_709 + .saturating_add(Weight::from_parts(7_124_265, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1510,7 +1530,7 @@ impl WeightInfo for () { /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) @@ -1523,14 +1543,14 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 131072]`. fn instantiate_with_code(c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `6811` - // Minimum execution time: 760_891_000 picoseconds. - Weight::from_parts(80_916_401, 6811) - // Standard Error: 40 - .saturating_add(Weight::from_parts(19_536, 0).saturating_mul(c.into())) - // Standard Error: 31 - .saturating_add(Weight::from_parts(4_870, 0).saturating_mul(i.into())) + // Measured: `1024` + // Estimated: `6954` + // Minimum execution time: 762_375_000 picoseconds. + Weight::from_parts(40_954_679, 6954) + // Standard Error: 35 + .saturating_add(Weight::from_parts(21_040, 0).saturating_mul(c.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(5_378, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1539,13 +1559,17 @@ impl WeightInfo for () { /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 102400]`. @@ -1553,20 +1577,27 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 1]`. fn eth_instantiate_with_code(c: u32, i: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `881` - // Estimated: `6821` - // Minimum execution time: 287_281_000 picoseconds. - Weight::from_parts(188_988_937, 6821) - // Standard Error: 17 - .saturating_add(Weight::from_parts(14_406, 0).saturating_mul(c.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(455, 0).saturating_mul(i.into())) - // Standard Error: 1_169_772 - .saturating_add(Weight::from_parts(34_956_293, 0).saturating_mul(d.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + // Measured: `1024` + // Estimated: `6964` + // Minimum execution time: 333_951_000 picoseconds. + Weight::from_parts(177_697_819, 6964) + // Standard Error: 33 + .saturating_add(Weight::from_parts(16_374, 0).saturating_mul(c.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(815, 0).saturating_mul(i.into())) + // Standard Error: 2_163_326 + .saturating_add(Weight::from_parts(54_012_806, 0).saturating_mul(d.into())) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) } + fn deposit_eth_extrinsic_revert_event() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_055_000 picoseconds. + Weight::from_parts(3_323_000, 0) + } /// Storage: `Revive::AccountInfoOf` (r:2 w:1) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1580,16 +1611,16 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// The range of component `i` is `[0, 131072]`. fn instantiate(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1610` - // Estimated: `7553` - // Minimum execution time: 178_541_000 picoseconds. - Weight::from_parts(183_113_115, 7553) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_171, 0).saturating_mul(i.into())) + // Measured: `1752` + // Estimated: `7694` + // Minimum execution time: 181_697_000 picoseconds. + Weight::from_parts(186_030_984, 7694) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_160, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1607,10 +1638,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `1831` - // Estimated: `7771` - // Minimum execution time: 94_101_000 picoseconds. - Weight::from_parts(97_247_000, 7771) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 96_928_000 picoseconds. + Weight::from_parts(100_197_000, 7902) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1626,49 +1657,53 @@ impl WeightInfo for () { /// 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: `Measured`) + /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:0 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 1]`. fn eth_call(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1831` - // Estimated: `7771` - // Minimum execution time: 91_981_000 picoseconds. - Weight::from_parts(95_667_365, 7771) - // Standard Error: 354_322 - .saturating_add(Weight::from_parts(26_844_334, 0).saturating_mul(d.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 115_344_000 picoseconds. + Weight::from_parts(122_004_312, 7902) + // Standard Error: 819_369 + .saturating_add(Weight::from_parts(27_684_587, 0).saturating_mul(d.into())) + .saturating_add(RocksDbWeight::get().reads(9_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 102400]`. fn upload_code(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `303` - // Estimated: `3768` - // Minimum execution time: 56_823_000 picoseconds. - Weight::from_parts(50_899_286, 3768) - // Standard Error: 17 - .saturating_add(Weight::from_parts(13_871, 0).saturating_mul(c.into())) + // Measured: `369` + // Estimated: `3834` + // Minimum execution time: 56_937_000 picoseconds. + Weight::from_parts(46_649_814, 3834) + // Standard Error: 55 + .saturating_add(Weight::from_parts(14_791, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_code() -> Weight { // Proof Size summary in bytes: - // Measured: `458` - // Estimated: `3923` - // Minimum execution time: 53_007_000 picoseconds. - Weight::from_parts(54_163_000, 3923) + // Measured: `524` + // Estimated: `3989` + // Minimum execution time: 53_168_000 picoseconds. + Weight::from_parts(55_143_000, 3989) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1677,43 +1712,43 @@ impl WeightInfo for () { /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `797` - // Estimated: `6737` - // Minimum execution time: 67_293_000 picoseconds. - Weight::from_parts(69_420_000, 6737) + // Measured: `867` + // Estimated: `6807` + // Minimum execution time: 68_675_000 picoseconds. + Weight::from_parts(71_006_000, 6807) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Revive::OriginalAccount` (r:1 w:1) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) fn map_account() -> Weight { // Proof Size summary in bytes: - // Measured: `510` - // Estimated: `3975` - // Minimum execution time: 56_104_000 picoseconds. - Weight::from_parts(57_331_000, 3975) + // Measured: `600` + // Estimated: `4065` + // Minimum execution time: 57_159_000 picoseconds. + Weight::from_parts(58_433_000, 4065) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `Revive::OriginalAccount` (r:0 w:1) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) fn unmap_account() -> Weight { // Proof Size summary in bytes: // Measured: `93` // Estimated: `3558` - // Minimum execution time: 39_974_000 picoseconds. - Weight::from_parts(41_089_000, 3558) + // Minimum execution time: 40_097_000 picoseconds. + Weight::from_parts(41_229_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1725,8 +1760,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 13_328_000 picoseconds. - Weight::from_parts(13_677_000, 3610) + // Minimum execution time: 13_065_000 picoseconds. + Weight::from_parts(13_482_000, 3610) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1734,51 +1769,51 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_446_000 picoseconds. - Weight::from_parts(7_434_791, 0) - // Standard Error: 313 - .saturating_add(Weight::from_parts(180_281, 0).saturating_mul(r.into())) + // Minimum execution time: 7_839_000 picoseconds. + Weight::from_parts(9_500_376, 0) + // Standard Error: 248 + .saturating_add(Weight::from_parts(176_114, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 343_000 picoseconds. - Weight::from_parts(364_000, 0) + // Minimum execution time: 354_000 picoseconds. + Weight::from_parts(378_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 294_000 picoseconds. - Weight::from_parts(351_000, 0) + // Minimum execution time: 359_000 picoseconds. + Weight::from_parts(388_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) fn to_account_id() -> Weight { // Proof Size summary in bytes: - // Measured: `567` - // Estimated: `4032` - // Minimum execution time: 8_157_000 picoseconds. - Weight::from_parts(8_503_000, 4032) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 11_673_000 picoseconds. + Weight::from_parts(12_167_000, 4088) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) fn seal_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `3868` - // Minimum execution time: 9_210_000 picoseconds. - Weight::from_parts(9_940_000, 3868) + // Measured: `473` + // Estimated: `3938` + // Minimum execution time: 10_033_000 picoseconds. + Weight::from_parts(10_359_000, 3938) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn own_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `436` // Estimated: `0` - // Minimum execution time: 7_167_000 picoseconds. - Weight::from_parts(7_441_000, 0) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(10_001_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1786,53 +1821,53 @@ impl WeightInfo for () { /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) fn seal_code_size() -> Weight { // Proof Size summary in bytes: - // Measured: `475` - // Estimated: `3940` - // Minimum execution time: 13_179_000 picoseconds. - Weight::from_parts(13_523_000, 3940) + // Measured: `545` + // Estimated: `4010` + // Minimum execution time: 13_321_000 picoseconds. + Weight::from_parts(14_121_000, 4010) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_091_000 picoseconds. - Weight::from_parts(1_180_000, 0) + // Minimum execution time: 1_173_000 picoseconds. + Weight::from_parts(1_320_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_111_000 picoseconds. - Weight::from_parts(1_215_000, 0) + // Minimum execution time: 1_099_000 picoseconds. + Weight::from_parts(1_213_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 293_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 376_000 picoseconds. + Weight::from_parts(427_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_037_000 picoseconds. - Weight::from_parts(1_134_000, 0) + // Minimum execution time: 1_116_000 picoseconds. + Weight::from_parts(1_231_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `140` // Estimated: `0` - // Minimum execution time: 294_000 picoseconds. - Weight::from_parts(329_000, 0) + // Minimum execution time: 5_597_000 picoseconds. + Weight::from_parts(6_200_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `540` + // Measured: `576` // Estimated: `0` - // Minimum execution time: 13_035_000 picoseconds. - Weight::from_parts(13_690_000, 0) + // Minimum execution time: 13_317_000 picoseconds. + Weight::from_parts(13_904_000, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1842,10 +1877,10 @@ impl WeightInfo for () { /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) fn seal_balance_of() -> Weight { // Proof Size summary in bytes: - // Measured: `824` - // Estimated: `4289` - // Minimum execution time: 19_107_000 picoseconds. - Weight::from_parts(19_609_000, 4289) + // Measured: `884` + // Estimated: `4349` + // Minimum execution time: 20_768_000 picoseconds. + Weight::from_parts(21_280_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1853,12 +1888,12 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 4096]`. fn seal_get_immutable_data(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `271 + n * (1 ±0)` - // Estimated: `3736 + n * (1 ±0)` - // Minimum execution time: 5_970_000 picoseconds. - Weight::from_parts(6_876_179, 3736) + // Measured: `304 + n * (1 ±0)` + // Estimated: `3769 + n * (1 ±0)` + // Minimum execution time: 6_097_000 picoseconds. + Weight::from_parts(6_894_383, 3769) // Standard Error: 5 - .saturating_add(Weight::from_parts(494, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(508, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1869,67 +1904,67 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_125_000 picoseconds. - Weight::from_parts(2_353_652, 0) + // Minimum execution time: 2_172_000 picoseconds. + Weight::from_parts(2_407_814, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(520, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 287_000 picoseconds. - Weight::from_parts(336_000, 0) + // Minimum execution time: 299_000 picoseconds. + Weight::from_parts(349_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_335_000 picoseconds. - Weight::from_parts(1_439_000, 0) + // Minimum execution time: 1_342_000 picoseconds. + Weight::from_parts(1_468_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 265_000 picoseconds. - Weight::from_parts(300_000, 0) + // Minimum execution time: 276_000 picoseconds. + Weight::from_parts(316_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 269_000 picoseconds. - Weight::from_parts(325_000, 0) + // Minimum execution time: 291_000 picoseconds. + Weight::from_parts(337_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 463_000 picoseconds. - Weight::from_parts(522_000, 0) + // Minimum execution time: 1_825_000 picoseconds. + Weight::from_parts(1_937_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 251_000 picoseconds. - Weight::from_parts(310_000, 0) + // Minimum execution time: 1_064_000 picoseconds. + Weight::from_parts(1_167_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 275_000 picoseconds. - Weight::from_parts(298_000, 0) + // Minimum execution time: 1_087_000 picoseconds. + Weight::from_parts(1_200_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 235_000 picoseconds. - Weight::from_parts(308_000, 0) + // Minimum execution time: 318_000 picoseconds. + Weight::from_parts(335_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -1937,105 +1972,105 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 22_421_000 picoseconds. - Weight::from_parts(22_893_000, 1626) + // Minimum execution time: 21_581_000 picoseconds. + Weight::from_parts(22_001_000, 1626) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// Storage: `System::BlockHash` (r:1 w:0) - /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) + /// Storage: `Revive::BlockHash` (r:1 w:0) + /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `30` - // Estimated: `3495` - // Minimum execution time: 3_655_000 picoseconds. - Weight::from_parts(3_971_000, 3495) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 6_279_000 picoseconds. + Weight::from_parts(6_786_000, 3813) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(348_000, 0) + // Minimum execution time: 359_000 picoseconds. + Weight::from_parts(384_000, 0) } - /// The range of component `n` is `[0, 262140]`. + /// The range of component `n` is `[0, 1048572]`. fn seal_copy_to_contract(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(172_085, 0) + // Minimum execution time: 470_000 picoseconds. + Weight::from_parts(232_156, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into())) } fn seal_call_data_load() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 260_000 picoseconds. - Weight::from_parts(305_000, 0) + // Minimum execution time: 302_000 picoseconds. + Weight::from_parts(314_000, 0) } /// The range of component `n` is `[0, 1048576]`. fn seal_call_data_copy(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 245_000 picoseconds. - Weight::from_parts(551_388, 0) + // Minimum execution time: 272_000 picoseconds. + Weight::from_parts(289_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(115, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 131072]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 317_000 picoseconds. - Weight::from_parts(478_137, 0) + // Minimum execution time: 318_000 picoseconds. + Weight::from_parts(601_069, 0) // Standard Error: 0 .saturating_add(Weight::from_parts(200, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { + fn seal_terminate(_r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366` + // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_508_000 picoseconds. - Weight::from_parts(7_066_673, 0) - // Standard Error: 28_385 - .saturating_add(Weight::from_parts(6_926, 0).saturating_mul(r.into())) + // Minimum execution time: 917_000 picoseconds. + Weight::from_parts(1_052_418, 0) } /// Storage: `Revive::DeletionQueueCounter` (r:1 w:1) /// Proof: `Revive::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::CodeInfoOf` (r:1 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::DeletionQueue` (r:0 w:1) /// Proof: `Revive::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) + /// Storage: `Revive::PristineCode` (r:0 w:1) + /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Revive::ImmutableDataOf` (r:0 w:1) /// Proof: `Revive::ImmutableDataOf` (`max_values`: None, `max_size`: Some(4118), added: 6593, mode: `Measured`) fn seal_terminate_logic() -> Weight { // Proof Size summary in bytes: - // Measured: `651` - // Estimated: `4116` - // Minimum execution time: 46_417_000 picoseconds. - Weight::from_parts(47_610_000, 4116) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `1016` + // Estimated: `6956` + // Minimum execution time: 117_278_000 picoseconds. + Weight::from_parts(118_690_000, 6956) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// The range of component `t` is `[0, 4]`. - /// The range of component `n` is `[0, 416]`. - fn seal_deposit_event(t: u32, n: u32, ) -> Weight { + /// The range of component `n` is `[0, 65536]`. + fn seal_deposit_event(_t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_474_000 picoseconds. - Weight::from_parts(4_393_233, 0) - // Standard Error: 3_393 - .saturating_add(Weight::from_parts(267_475, 0).saturating_mul(t.into())) - // Standard Error: 37 - .saturating_add(Weight::from_parts(1_332, 0).saturating_mul(n.into())) + // Minimum execution time: 5_192_000 picoseconds. + Weight::from_parts(5_302_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_191, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2043,8 +2078,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 7_174_000 picoseconds. - Weight::from_parts(7_829_000, 648) + // Minimum execution time: 7_311_000 picoseconds. + Weight::from_parts(7_658_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2053,8 +2088,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_844_000 picoseconds. - Weight::from_parts(43_207_000, 10658) + // Minimum execution time: 41_596_000 picoseconds. + Weight::from_parts(43_194_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2063,8 +2098,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_774_000 picoseconds. - Weight::from_parts(9_172_000, 648) + // Minimum execution time: 8_551_000 picoseconds. + Weight::from_parts(9_073_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2074,8 +2109,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 43_524_000 picoseconds. - Weight::from_parts(45_070_000, 10658) + // Minimum execution time: 43_013_000 picoseconds. + Weight::from_parts(44_438_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2087,12 +2122,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 8_957_000 picoseconds. - Weight::from_parts(9_791_356, 247) - // Standard Error: 60 - .saturating_add(Weight::from_parts(426, 0).saturating_mul(n.into())) - // Standard Error: 60 - .saturating_add(Weight::from_parts(825, 0).saturating_mul(o.into())) + // Minimum execution time: 9_312_000 picoseconds. + Weight::from_parts(10_036_819, 247) + // Standard Error: 82 + .saturating_add(Weight::from_parts(504, 0).saturating_mul(n.into())) + // Standard Error: 82 + .saturating_add(Weight::from_parts(416, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -2100,17 +2135,14 @@ impl WeightInfo for () { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn clear_storage(n: u32, ) -> Weight { + fn clear_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_805_000 picoseconds. - Weight::from_parts(9_670_990, 247) - // Standard Error: 75 - .saturating_add(Weight::from_parts(809, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 10_871_000 picoseconds. + Weight::from_parts(12_051_402, 376) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2119,10 +2151,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_057_000 picoseconds. - Weight::from_parts(9_245_514, 247) - // Standard Error: 80 - .saturating_add(Weight::from_parts(1_894, 0).saturating_mul(n.into())) + // Minimum execution time: 8_673_000 picoseconds. + Weight::from_parts(9_698_114, 247) + // Standard Error: 113 + .saturating_add(Weight::from_parts(745, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2131,64 +2163,61 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 416]`. fn contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 7_704_000 picoseconds. - Weight::from_parts(8_564_996, 247) - // Standard Error: 66 - .saturating_add(Weight::from_parts(943, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_092_000 picoseconds. + Weight::from_parts(3_468_584, 0) + // Standard Error: 32 + .saturating_add(Weight::from_parts(6, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. fn take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 9_314_000 picoseconds. - Weight::from_parts(10_433_419, 247) - // Standard Error: 88 - .saturating_add(Weight::from_parts(1_436, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 11_547_000 picoseconds. + Weight::from_parts(12_649_177, 376) + // Standard Error: 188 + .saturating_add(Weight::from_parts(401, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } fn set_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_563_000 picoseconds. - Weight::from_parts(1_683_000, 0) + // Minimum execution time: 1_755_000 picoseconds. + Weight::from_parts(1_873_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_051_000 picoseconds. - Weight::from_parts(2_160_000, 0) + // Minimum execution time: 2_056_000 picoseconds. + Weight::from_parts(2_169_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_676_000 picoseconds. - Weight::from_parts(1_761_000, 0) + // Minimum execution time: 1_537_000 picoseconds. + Weight::from_parts(1_668_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_829_000 picoseconds. - Weight::from_parts(1_952_000, 0) + // Minimum execution time: 1_738_000 picoseconds. + Weight::from_parts(1_837_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_275_000 picoseconds. - Weight::from_parts(1_375_000, 0) + // Minimum execution time: 1_263_000 picoseconds. + Weight::from_parts(1_354_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -2196,50 +2225,48 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_349_000 picoseconds. - Weight::from_parts(2_395_814, 0) - // Standard Error: 103 - .saturating_add(Weight::from_parts(1_114, 0).saturating_mul(n.into())) - // Standard Error: 103 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(o.into())) + // Minimum execution time: 2_528_000 picoseconds. + Weight::from_parts(2_677_536, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(363, 0).saturating_mul(n.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(355, 0).saturating_mul(o.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_clear_transient_storage(n: u32, ) -> Weight { + fn seal_clear_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_195_000 picoseconds. - Weight::from_parts(2_629_931, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(261, 0).saturating_mul(n.into())) + // Minimum execution time: 3_772_000 picoseconds. + Weight::from_parts(4_203_781, 0) } /// The range of component `n` is `[0, 416]`. fn seal_get_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_006_000 picoseconds. - Weight::from_parts(2_323_107, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(320, 0).saturating_mul(n.into())) + // Minimum execution time: 2_045_000 picoseconds. + Weight::from_parts(2_320_280, 0) + // Standard Error: 25 + .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 416]`. - fn seal_contains_transient_storage(n: u32, ) -> Weight { + fn seal_contains_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_868_000 picoseconds. - Weight::from_parts(2_154_351, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(162, 0).saturating_mul(n.into())) + // Minimum execution time: 3_197_000 picoseconds. + Weight::from_parts(3_586_989, 0) } /// The range of component `n` is `[0, 416]`. - fn seal_take_transient_storage(_n: u32, ) -> Weight { + fn seal_take_transient_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_764_000 picoseconds. - Weight::from_parts(3_061_726, 0) + // Minimum execution time: 4_150_000 picoseconds. + Weight::from_parts(4_500_362, 0) + // Standard Error: 34 + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -2256,16 +2283,16 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1998` - // Estimated: `5463` - // Minimum execution time: 91_282_000 picoseconds. - Weight::from_parts(70_457_000, 5463) - // Standard Error: 179_620 - .saturating_add(Weight::from_parts(20_096_022, 0).saturating_mul(t.into())) - // Standard Error: 179_620 - .saturating_add(Weight::from_parts(26_414_175, 0).saturating_mul(d.into())) + // Measured: `2045` + // Estimated: `5510` + // Minimum execution time: 94_217_000 picoseconds. + Weight::from_parts(75_398_236, 5510) + // Standard Error: 205_300 + .saturating_add(Weight::from_parts(19_476_506, 0).saturating_mul(t.into())) + // Standard Error: 205_300 + .saturating_add(Weight::from_parts(25_709_414, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -2278,17 +2305,17 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 130972]`. fn seal_call_precompile(d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `366 + d * (212 ±0)` - // Estimated: `2021 + d * (2021 ±0)` - // Minimum execution time: 24_929_000 picoseconds. - Weight::from_parts(11_931_852, 2021) - // Standard Error: 56_823 - .saturating_add(Weight::from_parts(14_427_014, 0).saturating_mul(d.into())) - // Standard Error: 0 + // Measured: `436 + d * (212 ±0)` + // Estimated: `2056 + d * (2056 ±0)` + // Minimum execution time: 25_801_000 picoseconds. + Weight::from_parts(15_183_786, 2056) + // Standard Error: 95_510 + .saturating_add(Weight::from_parts(12_652_315, 0).saturating_mul(d.into())) + // Standard Error: 1 .saturating_add(Weight::from_parts(324, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(d.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(d.into()))) - .saturating_add(Weight::from_parts(0, 2021).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 2056).saturating_mul(d.into())) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -2298,10 +2325,10 @@ impl WeightInfo for () { /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1363` - // Estimated: `4828` - // Minimum execution time: 33_181_000 picoseconds. - Weight::from_parts(33_640_000, 4828) + // Measured: `1434` + // Estimated: `4899` + // Minimum execution time: 33_640_000 picoseconds. + Weight::from_parts(34_687_000, 4899) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -2317,141 +2344,143 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 131072]`. fn seal_instantiate(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1508` - // Estimated: `5012` - // Minimum execution time: 153_430_000 picoseconds. - Weight::from_parts(108_979_481, 5012) - // Standard Error: 520_268 - .saturating_add(Weight::from_parts(21_150_070, 0).saturating_mul(t.into())) - // Standard Error: 520_268 - .saturating_add(Weight::from_parts(29_618_093, 0).saturating_mul(d.into())) + // Measured: `1450` + // Estimated: `4889 + d * (31 ±1) + t * (31 ±1)` + // Minimum execution time: 151_989_000 picoseconds. + Weight::from_parts(101_136_208, 4889) + // Standard Error: 577_926 + .saturating_add(Weight::from_parts(26_263_084, 0).saturating_mul(t.into())) + // Standard Error: 577_926 + .saturating_add(Weight::from_parts(31_554_845, 0).saturating_mul(d.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(3_943, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(3_984, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 31).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 31).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_264_000 picoseconds. - Weight::from_parts(12_347_788, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_240, 0).saturating_mul(n.into())) + // Minimum execution time: 1_334_000 picoseconds. + Weight::from_parts(6_964_156, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_259, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn identity(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 770_000 picoseconds. - Weight::from_parts(642_533, 0) + // Minimum execution time: 841_000 picoseconds. + Weight::from_parts(198_121, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(115, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_286_000 picoseconds. - Weight::from_parts(9_970_063, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(3_725, 0).saturating_mul(n.into())) + // Minimum execution time: 1_281_000 picoseconds. + Weight::from_parts(1_383_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_752, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_124_000 picoseconds. - Weight::from_parts(13_357_663, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_531, 0).saturating_mul(n.into())) + // Minimum execution time: 1_147_000 picoseconds. + Weight::from_parts(1_178_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_644, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_677_000 picoseconds. - Weight::from_parts(9_709_495, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_414, 0).saturating_mul(n.into())) + // Minimum execution time: 1_824_000 picoseconds. + Weight::from_parts(3_591_552, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_443, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_699_000 picoseconds. - Weight::from_parts(15_011_703, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_409, 0).saturating_mul(n.into())) + // Minimum execution time: 1_745_000 picoseconds. + Weight::from_parts(5_053_275, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_435, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048321]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_819_000 picoseconds. - Weight::from_parts(82_493_763, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(4_898, 0).saturating_mul(n.into())) + // Minimum execution time: 44_265_000 picoseconds. + Weight::from_parts(70_314_378, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(5_082, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_437_000 picoseconds. - Weight::from_parts(46_428_000, 0) + // Minimum execution time: 46_298_000 picoseconds. + Weight::from_parts(47_161_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_765_000 picoseconds. - Weight::from_parts(15_633_000, 0) + // Minimum execution time: 14_862_000 picoseconds. + Weight::from_parts(15_799_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 983_615_000 picoseconds. - Weight::from_parts(993_428_000, 0) + // Minimum execution time: 982_770_000 picoseconds. + Weight::from_parts(986_711_000, 0) } /// The range of component `n` is `[0, 20]`. fn bn128_pairing(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 888_000 picoseconds. - Weight::from_parts(4_943_399_071, 0) - // Standard Error: 10_458_564 - .saturating_add(Weight::from_parts(5_972_338_278, 0).saturating_mul(n.into())) + // Minimum execution time: 898_000 picoseconds. + Weight::from_parts(4_996_792_510, 0) + // Standard Error: 10_610_258 + .saturating_add(Weight::from_parts(5_987_822_389, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 957_000 picoseconds. - Weight::from_parts(1_298_448, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(28_740, 0).saturating_mul(n.into())) + // Minimum execution time: 1_019_000 picoseconds. + Weight::from_parts(1_241_088, 0) + // Standard Error: 92 + .saturating_add(Weight::from_parts(29_291, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_144_000 picoseconds. - Weight::from_parts(13_234_000, 0) + // Minimum execution time: 13_460_000 picoseconds. + Weight::from_parts(13_651_000, 0) } /// Storage: `Revive::CodeInfoOf` (r:2 w:2) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `Measured`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Revive::PristineCode` (r:0 w:1) @@ -2459,59 +2488,59 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 1]`. fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + r * (401 ±0)` - // Estimated: `6331 + r * (2129 ±0)` - // Minimum execution time: 15_245_000 picoseconds. - Weight::from_parts(16_236_973, 6331) - // Standard Error: 51_905 - .saturating_add(Weight::from_parts(46_482_926, 0).saturating_mul(r.into())) + // Measured: `424 + r * (434 ±0)` + // Estimated: `6364 + r * (2162 ±0)` + // Minimum execution time: 15_031_000 picoseconds. + Weight::from_parts(16_061_873, 6364) + // Standard Error: 56_120 + .saturating_add(Weight::from_parts(46_399_626, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2129).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2162).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn evm_opcode(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_159_000 picoseconds. - Weight::from_parts(1_805_350, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(6_829, 0).saturating_mul(r.into())) + // Minimum execution time: 653_000 picoseconds. + Weight::from_parts(849_294, 0) + // Standard Error: 27 + .saturating_add(Weight::from_parts(14_604, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_932_000 picoseconds. - Weight::from_parts(45_910_362, 0) - // Standard Error: 389 - .saturating_add(Weight::from_parts(106_195, 0).saturating_mul(r.into())) + // Minimum execution time: 13_784_000 picoseconds. + Weight::from_parts(86_900_025, 0) + // Standard Error: 340 + .saturating_add(Weight::from_parts(146_110, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr_empty_loop(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_350_000 picoseconds. - Weight::from_parts(5_189_068, 0) - // Standard Error: 122 - .saturating_add(Weight::from_parts(71_652, 0).saturating_mul(r.into())) + // Minimum execution time: 3_386_000 picoseconds. + Weight::from_parts(3_525_675, 0) + // Standard Error: 43 + .saturating_add(Weight::from_parts(74_163, 0).saturating_mul(r.into())) } /// Storage: `Revive::PristineCode` (r:1 w:0) /// Proof: `Revive::PristineCode` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[1000, 10000]`. fn extcodecopy(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `457 + n * (1 ±0)` - // Estimated: `3922 + n * (1 ±0)` - // Minimum execution time: 14_047_000 picoseconds. - Weight::from_parts(13_896_558, 3922) - // Standard Error: 4 - .saturating_add(Weight::from_parts(742, 0).saturating_mul(n.into())) + // Measured: `527 + n * (1 ±0)` + // Estimated: `3992 + n * (1 ±0)` + // Minimum execution time: 14_852_000 picoseconds. + Weight::from_parts(14_796_814, 3992) + // Standard Error: 7 + .saturating_add(Weight::from_parts(777, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2521,10 +2550,10 @@ impl WeightInfo for () { /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) fn v1_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `316` - // Estimated: `6256` - // Minimum execution time: 12_469_000 picoseconds. - Weight::from_parts(13_089_000, 6256) + // Measured: `382` + // Estimated: `6322` + // Minimum execution time: 12_200_000 picoseconds. + Weight::from_parts(12_443_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2533,45 +2562,49 @@ impl WeightInfo for () { /// Storage: `Revive::CodeInfoOf` (r:2 w:1) /// Proof: `Revive::CodeInfoOf` (`max_values`: None, `max_size`: Some(97), added: 2572, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:2 w:2) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(463), added: 2938, mode: `MaxEncodedLen`) fn v2_migration_step() -> Weight { // Proof Size summary in bytes: - // Measured: `439` - // Estimated: `6794` - // Minimum execution time: 65_203_000 picoseconds. - Weight::from_parts(67_117_000, 6794) + // Measured: `505` + // Estimated: `6866` + // Minimum execution time: 63_183_000 picoseconds. + Weight::from_parts(64_814_000, 6866) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 200]`. fn on_finalize_per_transaction(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2897 + n * (65 ±0)` - // Estimated: `6196 + n * (67 ±0)` - // Minimum execution time: 26_105_000 picoseconds. - Weight::from_parts(52_946_787, 6196) - // Standard Error: 4_176 - .saturating_add(Weight::from_parts(406_449, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 67).saturating_mul(n.into())) + // Measured: `2979 + n * (65 ±0)` + // Estimated: `6275 + n * (72 ±0)` + // Minimum execution time: 29_626_000 picoseconds. + Weight::from_parts(67_584_092, 6275) + // Standard Error: 5_560 + .saturating_add(Weight::from_parts(391_615, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) + .saturating_add(Weight::from_parts(0, 72).saturating_mul(n.into())) } + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -2579,24 +2612,26 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 1000]`. fn on_finalize_per_transaction_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3153 + d * (3 ±0)` - // Estimated: `6612 + d * (3 ±0)` - // Minimum execution time: 56_634_000 picoseconds. - Weight::from_parts(58_329_844, 6612) - // Standard Error: 143 - .saturating_add(Weight::from_parts(13_211, 0).saturating_mul(d.into())) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `3223 + d * (3 ±0)` + // Estimated: `6682 + d * (3 ±0)` + // Minimum execution time: 69_461_000 picoseconds. + Weight::from_parts(71_717_131, 6682) + // Standard Error: 238 + .saturating_add(Weight::from_parts(13_123, 0).saturating_mul(d.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(d.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) @@ -2604,37 +2639,37 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 100]`. fn on_finalize_per_event(e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_063_000 picoseconds. - Weight::from_parts(45_157_808, 4842) - // Standard Error: 945 - .saturating_add(Weight::from_parts(1_823, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 48_397_000 picoseconds. + Weight::from_parts(50_741_898, 4945) + // Standard Error: 1_182 + .saturating_add(Weight::from_parts(2_982, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Revive::BlockHash` (r:1 w:1) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) /// Storage: `Revive::EthBlockBuilderIR` (r:1 w:1) /// Proof: `Revive::EthBlockBuilderIR` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) + /// Storage: `Revive::EthBlockBuilderFirstValues` (r:1 w:1) + /// Proof: `Revive::EthBlockBuilderFirstValues` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::EthereumBlock` (r:0 w:1) /// Proof: `Revive::EthereumBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Revive::ReceiptInfoData` (r:0 w:1) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `d` is `[0, 16384]`. - fn on_finalize_per_event_data(d: u32, ) -> Weight { + fn on_finalize_per_event_data(_d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_443_000 picoseconds. - Weight::from_parts(45_235_925, 4842) - // Standard Error: 6 - .saturating_add(Weight::from_parts(32, 0).saturating_mul(d.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 48_592_000 picoseconds. + Weight::from_parts(51_942_832, 4945) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } }