From 101532f5ff8a375d0411b278c3b6c98ba26306f3 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 10:56:06 +0100 Subject: [PATCH 01/16] Update test with failing transaction --- .../revive/src/evm/block_hash/block_builder.rs | 2 +- substrate/frame/revive/src/tests/block_hash.rs | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) 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..bf444437917d8 100644 --- a/substrate/frame/revive/src/evm/block_hash/block_builder.rs +++ b/substrate/frame/revive/src/evm/block_hash/block_builder.rs @@ -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/tests/block_hash.rs b/substrate/frame/revive/src/tests/block_hash.rs index 7b3406639a8f2..ceac3c00e449c 100644 --- a/substrate/frame/revive/src/tests/block_hash.rs +++ b/substrate/frame/revive/src/tests/block_hash.rs @@ -21,9 +21,10 @@ use crate::{ evm::{block_hash::EthereumBlockBuilder, fees::InfoT, Block, TransactionSigned}, test_utils::{builder::Contract, deposit_limit, ALICE}, tests::{assert_ok, builder, Contracts, ExtBuilder, RuntimeOrigin, Test}, - BalanceWithDust, Code, Config, EthBlock, EthBlockBuilderFirstValues, EthBlockBuilderIR, + BalanceWithDust, Code, Config, Error, EthBlock, EthBlockBuilderFirstValues, EthBlockBuilderIR, EthereumBlock, Pallet, ReceiptGasInfo, ReceiptInfoData, }; +use frame_support::assert_err_ignore_postinfo; use frame_support::traits::{ fungible::{Balanced, Mutate}, @@ -64,6 +65,8 @@ 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)); @@ -71,15 +74,17 @@ fn transactions_are_captured() { assert_ok!(builder::eth_call(addr).value(balance).build()); assert_ok!(builder::eth_instantiate_with_code(binary).value(balance).build()); + assert_err_ignore_postinfo!(builder::eth_call(addr2).build(), Error::::OutOfGas); - // 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])) + .value(1) + .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. From 80a5378794b3dce53ec97c0990da352dbacb0683 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 11:33:09 +0100 Subject: [PATCH 02/16] update evm-test-suite as well --- .github/workflows/tests-evm.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 From 9e5893d851a6a8fa20264ee1875aadd8fa03fdae Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 16:52:28 +0100 Subject: [PATCH 03/16] wip --- .../frame/revive/rpc/src/receipt_extractor.rs | 10 ++-- substrate/frame/revive/src/benchmarking.rs | 8 +-- .../frame/revive/src/evm/block_storage.rs | 53 +++++++++++++++--- substrate/frame/revive/src/lib.rs | 54 +++++++++---------- .../frame/revive/src/tests/block_hash.rs | 33 +++++------- 5 files changed, 94 insertions(+), 64 deletions(-) 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 887cc8e4ce610..f2838ae8dc999 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -2698,7 +2698,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(); @@ -2771,7 +2771,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(); @@ -2836,7 +2836,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(); @@ -2898,7 +2898,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_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 650c0d8f3f9b9..965b991e72a82 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -14,16 +14,17 @@ // 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, + BlockHash, Config, EthBlockBuilderIR, EthereumBlock, Event, Pallet, ReceiptInfoData, + UniqueSaturatedInto, H160, H256, LOG_TARGET, +}; +use frame_support::{ + pallet_prelude::{DispatchError, DispatchResultWithPostInfo}, + weights::Weight, }; - -use frame_support::weights::Weight; pub use sp_core::U256; use alloc::vec::Vec; @@ -60,12 +61,48 @@ 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 the Post +/// info details +pub fn with_ethereum_context( + transaction_encoded: Vec, + call: impl FnOnce() -> (Weight, DispatchResultWithPostInfo), +) -> DispatchResultWithPostInfo { + use frame_support::storage::with_transaction; + use sp_runtime::TransactionOutcome; + let (err, gas_consumed, post_info) = receipt::using(&mut AccumulateReceipt::new(), || { + 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))), + } + }) + })?; + + let success = if let Some(dispatch_error) = err { + log::debug!( + target: LOG_TARGET, + "Ethereum extrinsic reverted with error: {dispatch_error:?}", + ); + Pallet::::deposit_event(Event::::EthExtrinsicRevert { dispatch_error }); + false + } else { + true + }; + crate::block_storage::process_transaction::(transaction_encoded, success, gas_consumed); + Ok(post_info) +} + /// 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..61d3e7c86fb98 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] @@ -1194,6 +1202,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 +1230,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 +1252,14 @@ pub mod pallet { } } - block_storage::process_transaction::( - transaction_encoded, - output.result.is_ok(), - output.gas_consumed, - ); - + let gas_consumed = output.gas_consumed; let result = dispatch_result( output.result.map(|result| result.result), - output.gas_consumed, + 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); + (gas_consumed, result) }) } @@ -1291,7 +1296,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 +1317,11 @@ 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 gas_consumed = output.gas_consumed; + let result = + dispatch_result(output.result, output.gas_consumed, base_info.call_weight); + let result = T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result); + (gas_consumed, result) }) } @@ -1572,7 +1566,7 @@ impl Pallet { let executable = ContractBlob::from_evm_init_code(code, origin)?; (executable, Default::default()) } else { - return Err(>::CodeRejected.into()) + return Err(>::CodeRejected.into()); }, Code::Existing(code_hash) => (ContractBlob::from_storage(code_hash, &mut gas_meter)?, Default::default()), @@ -2136,7 +2130,9 @@ impl Pallet { origin: &OriginFor, ) -> Result<(), ContractResult>> { use crate::exec::is_precompile; - let Ok(who) = ensure_signed(origin.clone()) else { return Ok(()) }; + let Ok(who) = ensure_signed(origin.clone()) else { + return Ok(()); + }; let address = >::to_address(&who); // EIP_1052: precompile can never be used as EOA. @@ -2197,7 +2193,7 @@ impl Pallet { pub fn code(address: &H160) -> Vec { use precompiles::{All, Precompiles}; if let Some(code) = >::code(address.as_fixed_bytes()) { - return code.into() + return code.into(); } AccountInfo::::load_contract(&address) .and_then(|contract| >::get(contract.code_hash)) diff --git a/substrate/frame/revive/src/tests/block_hash.rs b/substrate/frame/revive/src/tests/block_hash.rs index ceac3c00e449c..33cb816924801 100644 --- a/substrate/frame/revive/src/tests/block_hash.rs +++ b/substrate/frame/revive/src/tests/block_hash.rs @@ -21,20 +21,17 @@ use crate::{ evm::{block_hash::EthereumBlockBuilder, fees::InfoT, Block, TransactionSigned}, test_utils::{builder::Contract, deposit_limit, ALICE}, tests::{assert_ok, builder, Contracts, ExtBuilder, RuntimeOrigin, Test}, - BalanceWithDust, Code, Config, Error, EthBlock, EthBlockBuilderFirstValues, EthBlockBuilderIR, + BalanceWithDust, Code, Config, EthBlock, EthBlockBuilderFirstValues, EthBlockBuilderIR, EthereumBlock, Pallet, ReceiptGasInfo, ReceiptInfoData, }; -use frame_support::assert_err_ignore_postinfo; - +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(|| { @@ -72,26 +69,22 @@ fn transactions_are_captured() { ::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()); - assert_err_ignore_postinfo!(builder::eth_call(addr2).build(), Error::::OutOfGas); + // 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()); // non-eth calls are not captured. assert_ok!(builder::call(addr).value(1).build()); - assert_ok!(builder::instantiate_with_code(gas_binary) - .salt(Some([1u8; 32])) - .value(1) - .build()); + assert_ok!(builder::instantiate_with_code(gas_binary).salt(Some([1u8; 32])).build()); let block_builder = EthBlockBuilderIR::::get(); 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. @@ -105,6 +98,8 @@ fn transactions_are_captured() { Contracts::on_finalize(0); + println!("Block: {:?}", crate::EthereumBlock::::get()); + // Builder is killed on finalize. let block_builder = EthBlockBuilderIR::::get(); assert_eq!(block_builder.gas_info.len(), 0); From d8a9082ee7e2b4b5f07e9658bc27336d8f12fe86 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 16:58:49 +0100 Subject: [PATCH 04/16] fix doc --- substrate/frame/revive/src/evm/block_storage.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 965b991e72a82..201fdc90e228a 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -70,8 +70,7 @@ pub fn bench_with_ethereum_context(f: impl FnOnce() -> R) -> R { /// /// # Parameters /// - transaction_encoded: The RLP encoded transaction bytes. -/// - call: A closure that executes the transaction logic and returns the gas consumed and the Post -/// info details +/// - 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), From ce2f63bf83db5ef5a1f9a74f3e5b15793abbedfe Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 17:02:20 +0100 Subject: [PATCH 05/16] rm print --- substrate/frame/revive/src/tests/block_hash.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/frame/revive/src/tests/block_hash.rs b/substrate/frame/revive/src/tests/block_hash.rs index 33cb816924801..2fafa4cac7fb8 100644 --- a/substrate/frame/revive/src/tests/block_hash.rs +++ b/substrate/frame/revive/src/tests/block_hash.rs @@ -97,8 +97,7 @@ fn transactions_are_captured() { assert_eq!(tx_root, expected_tx_root.0.into()); Contracts::on_finalize(0); - - println!("Block: {:?}", crate::EthereumBlock::::get()); + assert_eq!(crate::EthereumBlock::::get().transactions.len(), 3); // Builder is killed on finalize. let block_builder = EthBlockBuilderIR::::get(); From b89672b51b893f90b1d8d0e16790b592af7515b8 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 18:03:41 +0100 Subject: [PATCH 06/16] Fix bench --- substrate/frame/revive/src/benchmarking.rs | 10 ++++++ .../frame/revive/src/evm/block_storage.rs | 35 ++++++++++++------- substrate/frame/revive/src/lib.rs | 4 +++ substrate/frame/revive/src/weights.rs | 1 + 4 files changed, 37 insertions(+), 13 deletions(-) diff --git a/substrate/frame/revive/src/benchmarking.rs b/substrate/frame/revive/src/benchmarking.rs index f2838ae8dc999..27615d5b6bdea 100644 --- a/substrate/frame/revive/src/benchmarking.rs +++ b/substrate/frame/revive/src/benchmarking.rs @@ -345,6 +345,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)] diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 201fdc90e228a..5bb997dd900db 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -18,8 +18,9 @@ use crate::{ evm::block_hash::{AccumulateReceipt, EthereumBlockBuilder, LogsBloom}, limits, sp_runtime::traits::One, + weights::WeightInfo, BlockHash, Config, EthBlockBuilderIR, EthereumBlock, Event, Pallet, ReceiptInfoData, - UniqueSaturatedInto, H160, H256, LOG_TARGET, + UniqueSaturatedInto, H160, H256, }; use frame_support::{ pallet_prelude::{DispatchError, DispatchResultWithPostInfo}, @@ -77,7 +78,7 @@ pub fn with_ethereum_context( ) -> DispatchResultWithPostInfo { use frame_support::storage::with_transaction; use sp_runtime::TransactionOutcome; - let (err, gas_consumed, post_info) = receipt::using(&mut AccumulateReceipt::new(), || { + let (err, gas_consumed, mut post_info) = receipt::using(&mut AccumulateReceipt::new(), || { with_transaction(|| -> TransactionOutcome> { let (gas_consumed, result) = call(); match result { @@ -88,18 +89,26 @@ pub fn with_ethereum_context( }) })?; - let success = if let Some(dispatch_error) = err { - log::debug!( - target: LOG_TARGET, - "Ethereum extrinsic reverted with error: {dispatch_error:?}", - ); - Pallet::::deposit_event(Event::::EthExtrinsicRevert { dispatch_error }); - false + 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 { - true - }; - crate::block_storage::process_transaction::(transaction_encoded, success, gas_consumed); - Ok(post_info) + // 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_sub(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. diff --git a/substrate/frame/revive/src/lib.rs b/substrate/frame/revive/src/lib.rs index 61d3e7c86fb98..21b4eda4485f2 100644 --- a/substrate/frame/revive/src/lib.rs +++ b/substrate/frame/revive/src/lib.rs @@ -562,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. diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index 76557640e24d4..ebf432918c8c3 100644 --- a/substrate/frame/revive/src/weights.rs +++ b/substrate/frame/revive/src/weights.rs @@ -71,6 +71,7 @@ use core::marker::PhantomData; /// Weight functions needed for `pallet_revive`. pub trait WeightInfo { + fn deposit_eth_extrinsic_revert_event() -> Weight { Default::default() } fn on_process_deletion_queue_batch() -> Weight; fn on_initialize_per_trie_key(k: u32, ) -> Weight; fn call_with_pvm_code_per_byte(c: u32, ) -> Weight; From 0c26a6c7f79fa0865d6a6f301a3ad5743a7e2af7 Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:06:59 +0000 Subject: [PATCH 07/16] Update from github-actions[bot] running command 'prdoc --audience runtime_dev --bump patch' --- prdoc/pr_10120.prdoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 prdoc/pr_10120.prdoc diff --git a/prdoc/pr_10120.prdoc b/prdoc/pr_10120.prdoc new file mode 100644 index 0000000000000..d310ea7e4c3cb --- /dev/null +++ b/prdoc/pr_10120.prdoc @@ -0,0 +1,14 @@ +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 + + TODO + - [ ] Update the the weights +crates: +- name: pallet-revive + bump: patch +- name: pallet-revive-eth-rpc + bump: patch From e2c4ffe8e422491252a702cd8dba3a2f9c3337f0 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 18:44:38 +0100 Subject: [PATCH 08/16] fix prdoc --- prdoc/pr_10120.prdoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/prdoc/pr_10120.prdoc b/prdoc/pr_10120.prdoc index d310ea7e4c3cb..43a5469fcf6b4 100644 --- a/prdoc/pr_10120.prdoc +++ b/prdoc/pr_10120.prdoc @@ -4,9 +4,6 @@ doc: 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 - - TODO - - [ ] Update the the weights crates: - name: pallet-revive bump: patch From ef879d08bcb1d634f5525258ef409bc1cca135d2 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 18:51:41 +0100 Subject: [PATCH 09/16] move --- .../frame/revive/src/evm/block_storage.rs | 67 +++++++++++-------- 1 file changed, 38 insertions(+), 29 deletions(-) diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 5bb997dd900db..141bb01d5de53 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -24,9 +24,11 @@ use crate::{ }; use frame_support::{ pallet_prelude::{DispatchError, DispatchResultWithPostInfo}, + storage::with_transaction, weights::Weight, }; pub use sp_core::U256; +use sp_runtime::TransactionOutcome; use alloc::vec::Vec; use environmental::environmental; @@ -76,35 +78,42 @@ pub fn with_ethereum_context( transaction_encoded: Vec, call: impl FnOnce() -> (Weight, DispatchResultWithPostInfo), ) -> DispatchResultWithPostInfo { - use frame_support::storage::with_transaction; - use sp_runtime::TransactionOutcome; - let (err, gas_consumed, mut post_info) = receipt::using(&mut AccumulateReceipt::new(), || { - 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_sub(T::WeightInfo::deposit_eth_extrinsic_revert_event())); - Ok(post_info) - } + 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_sub(T::WeightInfo::deposit_eth_extrinsic_revert_event())); + Ok(post_info) + } + }) } fn deposit_eth_extrinsic_revert_event(dispatch_error: DispatchError) { From 1b69ed3b0a679de5474b479a27a25c40a1da2a43 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 18:56:25 +0100 Subject: [PATCH 10/16] debug -> trace --- substrate/frame/revive/src/evm/block_hash/block_builder.rs | 4 ++-- substrate/frame/revive/src/evm/block_hash/hash_builder.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 bf444437917d8..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 { 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); From bf9c7441e96d0e2a3b3507d09d87fb66b41e5ed1 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 19:05:53 +0100 Subject: [PATCH 11/16] fix --- substrate/frame/revive/src/evm/block_storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 141bb01d5de53..756e0efdb076a 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -110,7 +110,7 @@ pub fn with_ethereum_context( post_info .actual_weight .as_mut() - .map(|w| w.saturating_sub(T::WeightInfo::deposit_eth_extrinsic_revert_event())); + .map(|w| w.saturating_reduce(T::WeightInfo::deposit_eth_extrinsic_revert_event())); Ok(post_info) } }) From e65dc2706f4f8997f9be497a3ee635c2a1e0ee2e Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 19:08:02 +0100 Subject: [PATCH 12/16] fix use --- substrate/frame/revive/src/evm/block_storage.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/substrate/frame/revive/src/evm/block_storage.rs b/substrate/frame/revive/src/evm/block_storage.rs index 756e0efdb076a..04451f1e46da8 100644 --- a/substrate/frame/revive/src/evm/block_storage.rs +++ b/substrate/frame/revive/src/evm/block_storage.rs @@ -22,17 +22,16 @@ use crate::{ BlockHash, Config, EthBlockBuilderIR, EthereumBlock, Event, Pallet, ReceiptInfoData, UniqueSaturatedInto, H160, H256, }; +use alloc::vec::Vec; +use environmental::environmental; use frame_support::{ pallet_prelude::{DispatchError, DispatchResultWithPostInfo}, storage::with_transaction, weights::Weight, }; -pub use sp_core::U256; +use sp_core::U256; use sp_runtime::TransactionOutcome; -use alloc::vec::Vec; -use environmental::environmental; - /// The maximum number of block hashes to keep in the history. /// /// Note: This might be made configurable in the future. From 9e4067a6cb9347aab447e16731f043d3a8c8fbc4 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 Oct 2025 19:11:50 +0100 Subject: [PATCH 13/16] fix --- substrate/frame/revive/src/lib.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/substrate/frame/revive/src/lib.rs b/substrate/frame/revive/src/lib.rs index 21b4eda4485f2..66670a0d0c762 100644 --- a/substrate/frame/revive/src/lib.rs +++ b/substrate/frame/revive/src/lib.rs @@ -1570,7 +1570,7 @@ impl Pallet { let executable = ContractBlob::from_evm_init_code(code, origin)?; (executable, Default::default()) } else { - return Err(>::CodeRejected.into()); + return Err(>::CodeRejected.into()) }, Code::Existing(code_hash) => (ContractBlob::from_storage(code_hash, &mut gas_meter)?, Default::default()), @@ -2134,9 +2134,7 @@ impl Pallet { origin: &OriginFor, ) -> Result<(), ContractResult>> { use crate::exec::is_precompile; - let Ok(who) = ensure_signed(origin.clone()) else { - return Ok(()); - }; + let Ok(who) = ensure_signed(origin.clone()) else { return Ok(()) }; let address = >::to_address(&who); // EIP_1052: precompile can never be used as EOA. @@ -2197,7 +2195,7 @@ impl Pallet { pub fn code(address: &H160) -> Vec { use precompiles::{All, Precompiles}; if let Some(code) = >::code(address.as_fixed_bytes()) { - return code.into(); + return code.into() } AccountInfo::::load_contract(&address) .and_then(|contract| >::get(contract.code_hash)) From 9f3572ebc292ea0e487d65d4fc134cabe652dbcd Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 18:48:16 +0000 Subject: [PATCH 14/16] Update from github-actions[bot] running command 'bench --runtime dev --pallet pallet_revive' --- substrate/frame/revive/src/weights.rs | 1672 +++++++++++++------------ 1 file changed, 841 insertions(+), 831 deletions(-) diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index ebf432918c8c3..8d15b620bdc54 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-09-25, 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: `881150ca8787`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `5db7c9927444`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -71,7 +71,6 @@ use core::marker::PhantomData; /// Weight functions needed for `pallet_revive`. pub trait WeightInfo { - fn deposit_eth_extrinsic_revert_event() -> Weight { Default::default() } fn on_process_deletion_queue_batch() -> Weight; fn on_initialize_per_trie_key(k: u32, ) -> Weight; fn call_with_pvm_code_per_byte(c: u32, ) -> Weight; @@ -79,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 +177,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_043_000 picoseconds. - Weight::from_parts(3_333_000, 1632) + // Measured: `213` + // Estimated: `1698` + // Minimum execution time: 3_202_000 picoseconds. + Weight::from_parts(3_448_000, 1698) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -188,12 +188,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_513_000 picoseconds. - Weight::from_parts(14_833_000, 448) - // Standard Error: 919 - .saturating_add(Weight::from_parts(1_192_693, 0).saturating_mul(k.into())) + // Measured: `491 + k * (69 ±0)` + // Estimated: `481 + k * (70 ±0)` + // Minimum execution time: 14_402_000 picoseconds. + Weight::from_parts(15_053_000, 481) + // Standard Error: 1_482 + .saturating_add(Weight::from_parts(1_203_320, 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 +215,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: 90_182_000 picoseconds. - Weight::from_parts(127_351_676, 7107) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(c.into())) + // Measured: `1265 + c * (1 ±0)` + // Estimated: `7200 + c * (1 ±0)` + // Minimum execution time: 92_576_000 picoseconds. + Weight::from_parts(133_236_136, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_489, 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 +240,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_859_000 picoseconds. - Weight::from_parts(88_351_086, 7051) - // Standard Error: 17 - .saturating_add(Weight::from_parts(105, 0).saturating_mul(c.into())) + // Measured: `1205` + // Estimated: `7144` + // Minimum execution time: 86_917_000 picoseconds. + Weight::from_parts(91_427_475, 7144) + // Standard Error: 32 + .saturating_add(Weight::from_parts(45, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -264,10 +264,10 @@ impl WeightInfo for SubstrateWeight { /// 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: 126_840_000 picoseconds. - Weight::from_parts(131_448_116, 10456) + // Measured: `4609` + // Estimated: `10549` + // Minimum execution time: 137_361_000 picoseconds. + Weight::from_parts(143_258_975, 10549) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -276,7 +276,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 +289,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: 759_864_000 picoseconds. - Weight::from_parts(61_804_765, 6811) - // Standard Error: 32 - .saturating_add(Weight::from_parts(19_995, 0).saturating_mul(c.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(5_090, 0).saturating_mul(i.into())) + // Measured: `1024` + // Estimated: `6954` + // Minimum execution time: 764_797_000 picoseconds. + Weight::from_parts(61_211_833, 6954) + // Standard Error: 39 + .saturating_add(Weight::from_parts(20_267, 0).saturating_mul(c.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(4_993, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -305,7 +305,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) @@ -314,6 +314,8 @@ impl WeightInfo for SubstrateWeight { /// 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]`. @@ -321,20 +323,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: 296_703_000 picoseconds. - Weight::from_parts(137_114_517, 6821) - // Standard Error: 41 - .saturating_add(Weight::from_parts(15_152, 0).saturating_mul(c.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(771, 0).saturating_mul(i.into())) - // Standard Error: 2_686_368 - .saturating_add(Weight::from_parts(45_575_803, 0).saturating_mul(d.into())) + // Measured: `1024` + // Estimated: `6964` + // Minimum execution time: 334_703_000 picoseconds. + Weight::from_parts(194_396_541, 6964) + // Standard Error: 43 + .saturating_add(Weight::from_parts(15_832, 0).saturating_mul(c.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(626, 0).saturating_mul(i.into())) + // Standard Error: 2_826_280 + .saturating_add(Weight::from_parts(38_453_000, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(7_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_145_000 picoseconds. + Weight::from_parts(3_272_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) @@ -348,16 +357,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: `1623` - // Estimated: `7552` - // Minimum execution time: 176_685_000 picoseconds. - Weight::from_parts(181_872_822, 7552) + // Measured: `1752` + // Estimated: `7694` + // Minimum execution time: 183_867_000 picoseconds. + Weight::from_parts(187_000_222, 7694) // Standard Error: 11 - .saturating_add(Weight::from_parts(4_273, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(4_141, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -375,10 +384,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: `1794` - // Estimated: `7734` - // Minimum execution time: 92_245_000 picoseconds. - Weight::from_parts(94_466_000, 7734) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 95_783_000 picoseconds. + Weight::from_parts(100_182_000, 7902) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -396,49 +405,51 @@ impl WeightInfo for SubstrateWeight { /// 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: `1794` - // Estimated: `7734` - // Minimum execution time: 97_723_000 picoseconds. - Weight::from_parts(101_795_926, 7734) - // Standard Error: 381_733 - .saturating_add(Weight::from_parts(26_168_673, 0).saturating_mul(d.into())) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 114_709_000 picoseconds. + Weight::from_parts(121_197_061, 7902) + // Standard Error: 588_160 + .saturating_add(Weight::from_parts(25_663_338, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(3_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: 55_275_000 picoseconds. - Weight::from_parts(45_495_493, 3768) + // Measured: `369` + // Estimated: `3834` + // Minimum execution time: 57_133_000 picoseconds. + Weight::from_parts(47_233_036, 3834) // Standard Error: 19 - .saturating_add(Weight::from_parts(14_273, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(14_162, 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: 52_330_000 picoseconds. - Weight::from_parts(53_410_000, 3923) + // Measured: `524` + // Estimated: `3989` + // Minimum execution time: 53_134_000 picoseconds. + Weight::from_parts(55_690_000, 3989) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -447,43 +458,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: 66_325_000 picoseconds. - Weight::from_parts(67_314_000, 6737) + // Measured: `867` + // Estimated: `6807` + // Minimum execution time: 68_810_000 picoseconds. + Weight::from_parts(70_686_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: 55_199_000 picoseconds. - Weight::from_parts(56_546_000, 3975) + // Measured: `600` + // Estimated: `4065` + // Minimum execution time: 58_354_000 picoseconds. + Weight::from_parts(59_808_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_793_000 picoseconds. - Weight::from_parts(40_493_000, 3558) + // Minimum execution time: 40_586_000 picoseconds. + Weight::from_parts(41_894_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -495,8 +506,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 13_187_000 picoseconds. - Weight::from_parts(13_527_000, 3610) + // Minimum execution time: 12_903_000 picoseconds. + Weight::from_parts(13_587_000, 3610) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -504,51 +515,51 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_332_000 picoseconds. - Weight::from_parts(8_687_708, 0) - // Standard Error: 209 - .saturating_add(Weight::from_parts(173_436, 0).saturating_mul(r.into())) + // Minimum execution time: 8_174_000 picoseconds. + Weight::from_parts(9_326_570, 0) + // Standard Error: 225 + .saturating_add(Weight::from_parts(171_784, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(367_000, 0) + // Minimum execution time: 389_000 picoseconds. + Weight::from_parts(459_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 346_000 picoseconds. + Weight::from_parts(371_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_199_000 picoseconds. - Weight::from_parts(8_624_000, 4032) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(12_249_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_064_000 picoseconds. - Weight::from_parts(9_747_000, 3868) + // Measured: `473` + // Estimated: `3938` + // Minimum execution time: 10_128_000 picoseconds. + Weight::from_parts(10_530_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: 6_919_000 picoseconds. - Weight::from_parts(7_280_000, 0) + // Minimum execution time: 9_558_000 picoseconds. + Weight::from_parts(10_149_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -556,53 +567,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: 12_795_000 picoseconds. - Weight::from_parts(13_452_000, 3940) + // Measured: `545` + // Estimated: `4010` + // Minimum execution time: 13_318_000 picoseconds. + Weight::from_parts(14_014_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_037_000 picoseconds. - Weight::from_parts(1_126_000, 0) + // Minimum execution time: 1_076_000 picoseconds. + Weight::from_parts(1_219_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_044_000 picoseconds. - Weight::from_parts(1_156_000, 0) + // Minimum execution time: 1_043_000 picoseconds. + Weight::from_parts(1_150_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 299_000 picoseconds. - Weight::from_parts(359_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(365_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_021_000 picoseconds. - Weight::from_parts(1_120_000, 0) + // Minimum execution time: 1_067_000 picoseconds. + Weight::from_parts(1_147_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `140` // Estimated: `0` - // Minimum execution time: 273_000 picoseconds. - Weight::from_parts(309_000, 0) + // Minimum execution time: 5_804_000 picoseconds. + Weight::from_parts(6_389_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `469` + // Measured: `576` // Estimated: `0` - // Minimum execution time: 12_068_000 picoseconds. - Weight::from_parts(12_792_000, 0) + // Minimum execution time: 13_298_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`) @@ -612,10 +623,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: `791` - // Estimated: `4256` - // Minimum execution time: 18_572_000 picoseconds. - Weight::from_parts(19_484_000, 4256) + // Measured: `884` + // Estimated: `4349` + // Minimum execution time: 20_146_000 picoseconds. + Weight::from_parts(20_912_000, 4349) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -623,12 +634,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: 6_028_000 picoseconds. - Weight::from_parts(6_828_577, 3736) + // Measured: `304 + n * (1 ±0)` + // Estimated: `3769 + n * (1 ±0)` + // Minimum execution time: 6_010_000 picoseconds. + Weight::from_parts(6_579_855, 3769) // Standard Error: 5 - .saturating_add(Weight::from_parts(559, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(540, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -639,67 +650,67 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_938_000 picoseconds. - Weight::from_parts(2_253_391, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(588, 0).saturating_mul(n.into())) + // Minimum execution time: 2_071_000 picoseconds. + Weight::from_parts(2_318_230, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(508, 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: 272_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 314_000 picoseconds. + Weight::from_parts(360_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_213_000 picoseconds. - Weight::from_parts(1_347_000, 0) + // Minimum execution time: 1_296_000 picoseconds. + Weight::from_parts(1_440_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 253_000 picoseconds. - Weight::from_parts(282_000, 0) + // Minimum execution time: 299_000 picoseconds. + Weight::from_parts(341_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 238_000 picoseconds. - Weight::from_parts(283_000, 0) + // Minimum execution time: 269_000 picoseconds. + Weight::from_parts(325_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 473_000 picoseconds. - Weight::from_parts(556_000, 0) + // Minimum execution time: 1_861_000 picoseconds. + Weight::from_parts(1_950_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 282_000 picoseconds. - Weight::from_parts(334_000, 0) + // Minimum execution time: 1_042_000 picoseconds. + Weight::from_parts(1_162_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 253_000 picoseconds. - Weight::from_parts(307_000, 0) + // Minimum execution time: 1_108_000 picoseconds. + Weight::from_parts(1_251_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 293_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(359_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -707,65 +718,63 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_772_000 picoseconds. - Weight::from_parts(22_449_000, 1626) + // Minimum execution time: 21_586_000 picoseconds. + Weight::from_parts(22_170_000, 1626) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) - /// Storage: `System::BlockHash` (r:1 w:0) - /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `295` - // Estimated: `3760` - // Minimum execution time: 8_286_000 picoseconds. - Weight::from_parts(8_872_000, 3760) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 6_301_000 picoseconds. + Weight::from_parts(6_634_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: 277_000 picoseconds. - Weight::from_parts(315_000, 0) + // Minimum execution time: 301_000 picoseconds. + Weight::from_parts(353_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: 428_000 picoseconds. - Weight::from_parts(41_583, 0) + // Minimum execution time: 480_000 picoseconds. + Weight::from_parts(50_042, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 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: 281_000 picoseconds. - Weight::from_parts(314_000, 0) + // Minimum execution time: 334_000 picoseconds. + Weight::from_parts(367_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: 257_000 picoseconds. - Weight::from_parts(222_536, 0) + // Minimum execution time: 302_000 picoseconds. + Weight::from_parts(327_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(114, 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: 286_000 picoseconds. - Weight::from_parts(606_042, 0) + // Minimum execution time: 287_000 picoseconds. + Weight::from_parts(570_831, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(235, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(203, 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`) @@ -774,7 +783,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: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::DeletionQueue` (r:0 w:1) @@ -786,30 +795,28 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + r * (368 ±0)` - // Estimated: `4048 + r * (2208 ±0)` - // Minimum execution time: 16_576_000 picoseconds. - Weight::from_parts(17_695_744, 4048) - // Standard Error: 56_646 - .saturating_add(Weight::from_parts(45_062_655, 0).saturating_mul(r.into())) + // Measured: `639 + r * (368 ±0)` + // Estimated: `4104 + r * (2236 ±0)` + // Minimum execution time: 17_959_000 picoseconds. + Weight::from_parts(19_301_326, 4104) + // Standard Error: 66_092 + .saturating_add(Weight::from_parts(46_601_373, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2208).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2236).saturating_mul(r.into())) } /// 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_442_000 picoseconds. - Weight::from_parts(4_542_144, 0) - // Standard Error: 3_564 - .saturating_add(Weight::from_parts(235_217, 0).saturating_mul(t.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(1_023, 0).saturating_mul(n.into())) + // Minimum execution time: 5_169_000 picoseconds. + Weight::from_parts(5_384_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -817,8 +824,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 7_336_000 picoseconds. - Weight::from_parts(7_748_000, 648) + // Minimum execution time: 7_393_000 picoseconds. + Weight::from_parts(7_654_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -827,8 +834,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_574_000 picoseconds. - Weight::from_parts(42_424_000, 10658) + // Minimum execution time: 41_989_000 picoseconds. + Weight::from_parts(43_026_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -837,8 +844,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_294_000 picoseconds. - Weight::from_parts(8_831_000, 648) + // Minimum execution time: 8_528_000 picoseconds. + Weight::from_parts(9_094_000, 648) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -848,8 +855,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 43_327_000 picoseconds. - Weight::from_parts(44_273_000, 10658) + // Minimum execution time: 43_438_000 picoseconds. + Weight::from_parts(45_254_000, 10658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -861,12 +868,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 8_947_000 picoseconds. - Weight::from_parts(9_408_356, 247) - // Standard Error: 62 - .saturating_add(Weight::from_parts(744, 0).saturating_mul(n.into())) - // Standard Error: 62 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(o.into())) + // Minimum execution time: 9_222_000 picoseconds. + Weight::from_parts(9_969_076, 247) + // Standard Error: 53 + .saturating_add(Weight::from_parts(329, 0).saturating_mul(n.into())) + // Standard Error: 53 + .saturating_add(Weight::from_parts(411, 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())) @@ -876,15 +883,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 416]`. 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_455_000 picoseconds. - Weight::from_parts(9_502_169, 247) - // Standard Error: 71 - .saturating_add(Weight::from_parts(822, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 10_930_000 picoseconds. + Weight::from_parts(11_933_439, 376) + // Standard Error: 86 + .saturating_add(Weight::from_parts(237, 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())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -893,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_067_000 picoseconds. - Weight::from_parts(9_250_525, 247) - // Standard Error: 84 - .saturating_add(Weight::from_parts(1_457, 0).saturating_mul(n.into())) + // Minimum execution time: 8_551_000 picoseconds. + Weight::from_parts(9_560_941, 247) + // Standard Error: 91 + .saturating_add(Weight::from_parts(927, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -905,64 +911,59 @@ 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_687_000 picoseconds. - Weight::from_parts(8_629_827, 247) - // Standard Error: 73 - .saturating_add(Weight::from_parts(711, 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_229_000 picoseconds. + Weight::from_parts(3_631_759, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(176, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn take_storage(n: u32, ) -> Weight { + fn take_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 9_123_000 picoseconds. - Weight::from_parts(10_077_753, 247) - // Standard Error: 82 - .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 11_718_000 picoseconds. + Weight::from_parts(12_881_844, 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())) } fn set_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_701_000, 0) + // Minimum execution time: 1_682_000 picoseconds. + Weight::from_parts(1_828_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_027_000 picoseconds. - Weight::from_parts(2_133_000, 0) + // Minimum execution time: 1_985_000 picoseconds. + Weight::from_parts(2_142_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_740_000, 0) + // Minimum execution time: 1_600_000 picoseconds. + Weight::from_parts(1_665_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_852_000 picoseconds. - Weight::from_parts(1_931_000, 0) + // Minimum execution time: 1_807_000 picoseconds. + Weight::from_parts(1_899_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_220_000 picoseconds. - Weight::from_parts(1_340_000, 0) + // Minimum execution time: 1_264_000 picoseconds. + Weight::from_parts(1_329_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -970,50 +971,46 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_397_000 picoseconds. - Weight::from_parts(2_745_122, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(344, 0).saturating_mul(o.into())) + // Minimum execution time: 2_383_000 picoseconds. + Weight::from_parts(2_725_990, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(184, 0).saturating_mul(n.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(222, 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_039_000 picoseconds. - Weight::from_parts(2_530_835, 0) - // Standard Error: 27 - .saturating_add(Weight::from_parts(440, 0).saturating_mul(n.into())) + // Minimum execution time: 3_878_000 picoseconds. + Weight::from_parts(4_418_569, 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: 1_993_000 picoseconds. - Weight::from_parts(2_296_784, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + // Minimum execution time: 2_002_000 picoseconds. + Weight::from_parts(2_249_563, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(302, 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_857_000 picoseconds. - Weight::from_parts(2_083_817, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into())) + // Minimum execution time: 3_286_000 picoseconds. + Weight::from_parts(3_693_529, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_707_000 picoseconds. - Weight::from_parts(2_996_712, 0) + // Minimum execution time: 4_101_000 picoseconds. + Weight::from_parts(4_718_321, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -1030,14 +1027,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1982` - // Estimated: `5447` - // Minimum execution time: 90_029_000 picoseconds. - Weight::from_parts(71_172_970, 5447) - // Standard Error: 169_069 - .saturating_add(Weight::from_parts(19_082_380, 0).saturating_mul(t.into())) - // Standard Error: 169_069 - .saturating_add(Weight::from_parts(24_814_180, 0).saturating_mul(d.into())) + // Measured: `2045` + // Estimated: `5510` + // Minimum execution time: 94_309_000 picoseconds. + Weight::from_parts(74_198_305, 5510) + // Standard Error: 167_701 + .saturating_add(Weight::from_parts(19_036_362, 0).saturating_mul(t.into())) + // Standard Error: 167_701 + .saturating_add(Weight::from_parts(25_806_319, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) @@ -1052,17 +1049,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: 23_859_000 picoseconds. - Weight::from_parts(12_073_197, 2021) - // Standard Error: 33_668 - .saturating_add(Weight::from_parts(13_492_051, 0).saturating_mul(d.into())) + // Measured: `436 + d * (212 ±0)` + // Estimated: `2056 + d * (2056 ±0)` + // Minimum execution time: 26_192_000 picoseconds. + Weight::from_parts(15_312_783, 2056) + // Standard Error: 56_353 + .saturating_add(Weight::from_parts(11_761_082, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(394, 0).saturating_mul(i.into())) + .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`) @@ -1072,10 +1069,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: 32_493_000 picoseconds. - Weight::from_parts(33_818_000, 4828) + // Measured: `1434` + // Estimated: `4899` + // Minimum execution time: 33_538_000 picoseconds. + Weight::from_parts(34_558_000, 4899) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -1091,141 +1088,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: `1394` - // Estimated: `4860` - // Minimum execution time: 149_647_000 picoseconds. - Weight::from_parts(106_282_483, 4860) - // Standard Error: 579_265 - .saturating_add(Weight::from_parts(19_926_931, 0).saturating_mul(t.into())) - // Standard Error: 579_265 - .saturating_add(Weight::from_parts(29_243_692, 0).saturating_mul(d.into())) + // Measured: `1450` + // Estimated: `4889 + d * (31 ±1) + t * (31 ±1)` + // Minimum execution time: 152_923_000 picoseconds. + Weight::from_parts(101_206_507, 4889) + // Standard Error: 569_387 + .saturating_add(Weight::from_parts(24_346_579, 0).saturating_mul(t.into())) + // Standard Error: 569_387 + .saturating_add(Weight::from_parts(34_532_477, 0).saturating_mul(d.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(4_030, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(3_942, 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_189_000 picoseconds. - Weight::from_parts(13_257_813, 0) + // Minimum execution time: 1_275_000 picoseconds. + Weight::from_parts(11_747_354, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_284, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_222, 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: 727_000 picoseconds. - Weight::from_parts(785_643, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(811_632, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_386_000 picoseconds. - Weight::from_parts(5_645_651, 0) + // Minimum execution time: 1_224_000 picoseconds. + Weight::from_parts(6_192_243, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_766, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_718, 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_117_000 picoseconds. - Weight::from_parts(12_840_542, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_580, 0).saturating_mul(n.into())) + // Minimum execution time: 1_106_000 picoseconds. + Weight::from_parts(9_574_336, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_545, 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_644_000 picoseconds. - Weight::from_parts(12_914_994, 0) + // Minimum execution time: 1_798_000 picoseconds. + Weight::from_parts(17_117_825, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_447, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_390, 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_645_000 picoseconds. - Weight::from_parts(13_618_462, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(n.into())) + // Minimum execution time: 1_820_000 picoseconds. + Weight::from_parts(8_792_206, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_403, 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_663_000 picoseconds. - Weight::from_parts(97_917_401, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(5_007, 0).saturating_mul(n.into())) + // Minimum execution time: 42_943_000 picoseconds. + Weight::from_parts(73_040_655, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(4_917, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_593_000 picoseconds. - Weight::from_parts(46_804_000, 0) + // Minimum execution time: 46_025_000 picoseconds. + Weight::from_parts(46_741_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_802_000 picoseconds. - Weight::from_parts(15_547_000, 0) + // Minimum execution time: 14_587_000 picoseconds. + Weight::from_parts(15_118_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 979_532_000 picoseconds. - Weight::from_parts(985_691_000, 0) + // Minimum execution time: 977_152_000 picoseconds. + Weight::from_parts(983_267_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: 867_000 picoseconds. - Weight::from_parts(5_007_553_671, 0) - // Standard Error: 10_683_043 - .saturating_add(Weight::from_parts(5_954_606_629, 0).saturating_mul(n.into())) + // Minimum execution time: 874_000 picoseconds. + Weight::from_parts(4_828_082_095, 0) + // Standard Error: 10_593_637 + .saturating_add(Weight::from_parts(5_957_893_784, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_016_000 picoseconds. - Weight::from_parts(1_223_331, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(28_895, 0).saturating_mul(n.into())) + // Minimum execution time: 1_029_000 picoseconds. + Weight::from_parts(1_266_614, 0) + // Standard Error: 46 + .saturating_add(Weight::from_parts(28_965, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_885_000 picoseconds. - Weight::from_parts(13_085_000, 0) + // Minimum execution time: 12_859_000 picoseconds. + Weight::from_parts(13_083_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) @@ -1233,59 +1232,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_000_000 picoseconds. - Weight::from_parts(15_827_097, 6331) - // Standard Error: 54_436 - .saturating_add(Weight::from_parts(45_169_302, 0).saturating_mul(r.into())) + // Measured: `424 + r * (434 ±0)` + // Estimated: `6364 + r * (2162 ±0)` + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(16_015_236, 6364) + // Standard Error: 56_510 + .saturating_add(Weight::from_parts(46_696_463, 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_281_000 picoseconds. - Weight::from_parts(1_761_142, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(7_240, 0).saturating_mul(r.into())) + // Minimum execution time: 648_000 picoseconds. + Weight::from_parts(729_060, 0) + // Standard Error: 25 + .saturating_add(Weight::from_parts(14_995, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_941_000 picoseconds. - Weight::from_parts(47_985_764, 0) - // Standard Error: 501 - .saturating_add(Weight::from_parts(114_377, 0).saturating_mul(r.into())) + // Minimum execution time: 11_358_000 picoseconds. + Weight::from_parts(60_360_477, 0) + // Standard Error: 934 + .saturating_add(Weight::from_parts(139_231, 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_196_000 picoseconds. - Weight::from_parts(2_103_105, 0) - // Standard Error: 57 - .saturating_add(Weight::from_parts(71_986, 0).saturating_mul(r.into())) + // Minimum execution time: 3_348_000 picoseconds. + Weight::from_parts(3_268_767, 0) + // Standard Error: 40 + .saturating_add(Weight::from_parts(73_859, 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: 13_694_000 picoseconds. - Weight::from_parts(13_817_772, 3922) - // Standard Error: 6 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) + // Measured: `527 + n * (1 ±0)` + // Estimated: `3992 + n * (1 ±0)` + // Minimum execution time: 14_563_000 picoseconds. + Weight::from_parts(14_675_706, 3992) + // Standard Error: 5 + .saturating_add(Weight::from_parts(739, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1295,10 +1294,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_331_000 picoseconds. - Weight::from_parts(12_562_000, 6256) + // Measured: `382` + // Estimated: `6322` + // Minimum execution time: 12_123_000 picoseconds. + Weight::from_parts(12_684_000, 6322) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1307,45 +1306,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: 62_340_000 picoseconds. - Weight::from_parts(64_756_000, 6794) + // Measured: `505` + // Estimated: `6866` + // Minimum execution time: 66_762_000 picoseconds. + Weight::from_parts(67_934_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: 28_573_000 picoseconds. + Weight::from_parts(60_226_485, 6275) + // Standard Error: 4_720 + .saturating_add(Weight::from_parts(395_566, 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) @@ -1353,48 +1356,50 @@ 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: 61_935_000 picoseconds. + Weight::from_parts(63_431_058, 6682) + // Standard Error: 155 + .saturating_add(Weight::from_parts(13_414, 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) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `e` is `[0, 100]`. - fn on_finalize_per_event(e: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `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)) + fn on_finalize_per_event(_e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 47_667_000 picoseconds. + Weight::from_parts(50_034_646, 4945) + .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) @@ -1402,14 +1407,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `d` is `[0, 16384]`. fn on_finalize_per_event_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_443_000 picoseconds. - Weight::from_parts(45_235_925, 4842) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 47_841_000 picoseconds. + Weight::from_parts(49_883_610, 4945) // 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)) + .saturating_add(Weight::from_parts(23, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } @@ -1419,10 +1424,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_043_000 picoseconds. - Weight::from_parts(3_333_000, 1632) + // Measured: `213` + // Estimated: `1698` + // Minimum execution time: 3_202_000 picoseconds. + Weight::from_parts(3_448_000, 1698) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1430,12 +1435,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_513_000 picoseconds. - Weight::from_parts(14_833_000, 448) - // Standard Error: 919 - .saturating_add(Weight::from_parts(1_192_693, 0).saturating_mul(k.into())) + // Measured: `491 + k * (69 ±0)` + // Estimated: `481 + k * (70 ±0)` + // Minimum execution time: 14_402_000 picoseconds. + Weight::from_parts(15_053_000, 481) + // Standard Error: 1_482 + .saturating_add(Weight::from_parts(1_203_320, 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)) @@ -1457,12 +1462,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: 90_182_000 picoseconds. - Weight::from_parts(127_351_676, 7107) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(c.into())) + // Measured: `1265 + c * (1 ±0)` + // Estimated: `7200 + c * (1 ±0)` + // Minimum execution time: 92_576_000 picoseconds. + Weight::from_parts(133_236_136, 7200) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_489, 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())) @@ -1482,12 +1487,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_859_000 picoseconds. - Weight::from_parts(88_351_086, 7051) - // Standard Error: 17 - .saturating_add(Weight::from_parts(105, 0).saturating_mul(c.into())) + // Measured: `1205` + // Estimated: `7144` + // Minimum execution time: 86_917_000 picoseconds. + Weight::from_parts(91_427_475, 7144) + // Standard Error: 32 + .saturating_add(Weight::from_parts(45, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1506,10 +1511,10 @@ impl WeightInfo for () { /// 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: 126_840_000 picoseconds. - Weight::from_parts(131_448_116, 10456) + // Measured: `4609` + // Estimated: `10549` + // Minimum execution time: 137_361_000 picoseconds. + Weight::from_parts(143_258_975, 10549) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1518,7 +1523,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) @@ -1531,14 +1536,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: 759_864_000 picoseconds. - Weight::from_parts(61_804_765, 6811) - // Standard Error: 32 - .saturating_add(Weight::from_parts(19_995, 0).saturating_mul(c.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(5_090, 0).saturating_mul(i.into())) + // Measured: `1024` + // Estimated: `6954` + // Minimum execution time: 764_797_000 picoseconds. + Weight::from_parts(61_211_833, 6954) + // Standard Error: 39 + .saturating_add(Weight::from_parts(20_267, 0).saturating_mul(c.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(4_993, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1547,7 +1552,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) @@ -1556,6 +1561,8 @@ impl WeightInfo for () { /// 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]`. @@ -1563,20 +1570,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: 296_703_000 picoseconds. - Weight::from_parts(137_114_517, 6821) - // Standard Error: 41 - .saturating_add(Weight::from_parts(15_152, 0).saturating_mul(c.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(771, 0).saturating_mul(i.into())) - // Standard Error: 2_686_368 - .saturating_add(Weight::from_parts(45_575_803, 0).saturating_mul(d.into())) + // Measured: `1024` + // Estimated: `6964` + // Minimum execution time: 334_703_000 picoseconds. + Weight::from_parts(194_396_541, 6964) + // Standard Error: 43 + .saturating_add(Weight::from_parts(15_832, 0).saturating_mul(c.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(626, 0).saturating_mul(i.into())) + // Standard Error: 2_826_280 + .saturating_add(Weight::from_parts(38_453_000, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) - .saturating_add(RocksDbWeight::get().writes(7_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_145_000 picoseconds. + Weight::from_parts(3_272_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) @@ -1590,16 +1604,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: `1623` - // Estimated: `7552` - // Minimum execution time: 176_685_000 picoseconds. - Weight::from_parts(181_872_822, 7552) + // Measured: `1752` + // Estimated: `7694` + // Minimum execution time: 183_867_000 picoseconds. + Weight::from_parts(187_000_222, 7694) // Standard Error: 11 - .saturating_add(Weight::from_parts(4_273, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(4_141, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1617,10 +1631,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: `1794` - // Estimated: `7734` - // Minimum execution time: 92_245_000 picoseconds. - Weight::from_parts(94_466_000, 7734) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 95_783_000 picoseconds. + Weight::from_parts(100_182_000, 7902) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1638,49 +1652,51 @@ impl WeightInfo for () { /// 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: `1794` - // Estimated: `7734` - // Minimum execution time: 97_723_000 picoseconds. - Weight::from_parts(101_795_926, 7734) - // Standard Error: 381_733 - .saturating_add(Weight::from_parts(26_168_673, 0).saturating_mul(d.into())) + // Measured: `1962` + // Estimated: `7902` + // Minimum execution time: 114_709_000 picoseconds. + Weight::from_parts(121_197_061, 7902) + // Standard Error: 588_160 + .saturating_add(Weight::from_parts(25_663_338, 0).saturating_mul(d.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) - .saturating_add(RocksDbWeight::get().writes(3_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: 55_275_000 picoseconds. - Weight::from_parts(45_495_493, 3768) + // Measured: `369` + // Estimated: `3834` + // Minimum execution time: 57_133_000 picoseconds. + Weight::from_parts(47_233_036, 3834) // Standard Error: 19 - .saturating_add(Weight::from_parts(14_273, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(14_162, 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: 52_330_000 picoseconds. - Weight::from_parts(53_410_000, 3923) + // Measured: `524` + // Estimated: `3989` + // Minimum execution time: 53_134_000 picoseconds. + Weight::from_parts(55_690_000, 3989) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1689,43 +1705,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: 66_325_000 picoseconds. - Weight::from_parts(67_314_000, 6737) + // Measured: `867` + // Estimated: `6807` + // Minimum execution time: 68_810_000 picoseconds. + Weight::from_parts(70_686_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: 55_199_000 picoseconds. - Weight::from_parts(56_546_000, 3975) + // Measured: `600` + // Estimated: `4065` + // Minimum execution time: 58_354_000 picoseconds. + Weight::from_parts(59_808_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_793_000 picoseconds. - Weight::from_parts(40_493_000, 3558) + // Minimum execution time: 40_586_000 picoseconds. + Weight::from_parts(41_894_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1737,8 +1753,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 13_187_000 picoseconds. - Weight::from_parts(13_527_000, 3610) + // Minimum execution time: 12_903_000 picoseconds. + Weight::from_parts(13_587_000, 3610) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1746,51 +1762,51 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_332_000 picoseconds. - Weight::from_parts(8_687_708, 0) - // Standard Error: 209 - .saturating_add(Weight::from_parts(173_436, 0).saturating_mul(r.into())) + // Minimum execution time: 8_174_000 picoseconds. + Weight::from_parts(9_326_570, 0) + // Standard Error: 225 + .saturating_add(Weight::from_parts(171_784, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(367_000, 0) + // Minimum execution time: 389_000 picoseconds. + Weight::from_parts(459_000, 0) } fn seal_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 346_000 picoseconds. + Weight::from_parts(371_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_199_000 picoseconds. - Weight::from_parts(8_624_000, 4032) + // Measured: `623` + // Estimated: `4088` + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(12_249_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_064_000 picoseconds. - Weight::from_parts(9_747_000, 3868) + // Measured: `473` + // Estimated: `3938` + // Minimum execution time: 10_128_000 picoseconds. + Weight::from_parts(10_530_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: 6_919_000 picoseconds. - Weight::from_parts(7_280_000, 0) + // Minimum execution time: 9_558_000 picoseconds. + Weight::from_parts(10_149_000, 0) } /// Storage: `Revive::AccountInfoOf` (r:1 w:0) /// Proof: `Revive::AccountInfoOf` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `Measured`) @@ -1798,53 +1814,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: 12_795_000 picoseconds. - Weight::from_parts(13_452_000, 3940) + // Measured: `545` + // Estimated: `4010` + // Minimum execution time: 13_318_000 picoseconds. + Weight::from_parts(14_014_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_037_000 picoseconds. - Weight::from_parts(1_126_000, 0) + // Minimum execution time: 1_076_000 picoseconds. + Weight::from_parts(1_219_000, 0) } fn caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_044_000 picoseconds. - Weight::from_parts(1_156_000, 0) + // Minimum execution time: 1_043_000 picoseconds. + Weight::from_parts(1_150_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 299_000 picoseconds. - Weight::from_parts(359_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(365_000, 0) } fn weight_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_021_000 picoseconds. - Weight::from_parts(1_120_000, 0) + // Minimum execution time: 1_067_000 picoseconds. + Weight::from_parts(1_147_000, 0) } fn seal_ref_time_left() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `140` // Estimated: `0` - // Minimum execution time: 273_000 picoseconds. - Weight::from_parts(309_000, 0) + // Minimum execution time: 5_804_000 picoseconds. + Weight::from_parts(6_389_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `469` + // Measured: `576` // Estimated: `0` - // Minimum execution time: 12_068_000 picoseconds. - Weight::from_parts(12_792_000, 0) + // Minimum execution time: 13_298_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`) @@ -1854,10 +1870,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: `791` - // Estimated: `4256` - // Minimum execution time: 18_572_000 picoseconds. - Weight::from_parts(19_484_000, 4256) + // Measured: `884` + // Estimated: `4349` + // Minimum execution time: 20_146_000 picoseconds. + Weight::from_parts(20_912_000, 4349) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::ImmutableDataOf` (r:1 w:0) @@ -1865,12 +1881,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: 6_028_000 picoseconds. - Weight::from_parts(6_828_577, 3736) + // Measured: `304 + n * (1 ±0)` + // Estimated: `3769 + n * (1 ±0)` + // Minimum execution time: 6_010_000 picoseconds. + Weight::from_parts(6_579_855, 3769) // Standard Error: 5 - .saturating_add(Weight::from_parts(559, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(540, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1881,67 +1897,67 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_938_000 picoseconds. - Weight::from_parts(2_253_391, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(588, 0).saturating_mul(n.into())) + // Minimum execution time: 2_071_000 picoseconds. + Weight::from_parts(2_318_230, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(508, 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: 272_000 picoseconds. - Weight::from_parts(316_000, 0) + // Minimum execution time: 314_000 picoseconds. + Weight::from_parts(360_000, 0) } fn minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_213_000 picoseconds. - Weight::from_parts(1_347_000, 0) + // Minimum execution time: 1_296_000 picoseconds. + Weight::from_parts(1_440_000, 0) } fn seal_return_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 253_000 picoseconds. - Weight::from_parts(282_000, 0) + // Minimum execution time: 299_000 picoseconds. + Weight::from_parts(341_000, 0) } fn seal_call_data_size() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 238_000 picoseconds. - Weight::from_parts(283_000, 0) + // Minimum execution time: 269_000 picoseconds. + Weight::from_parts(325_000, 0) } fn seal_gas_limit() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 473_000 picoseconds. - Weight::from_parts(556_000, 0) + // Minimum execution time: 1_861_000 picoseconds. + Weight::from_parts(1_950_000, 0) } fn seal_gas_price() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 282_000 picoseconds. - Weight::from_parts(334_000, 0) + // Minimum execution time: 1_042_000 picoseconds. + Weight::from_parts(1_162_000, 0) } fn seal_base_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 253_000 picoseconds. - Weight::from_parts(307_000, 0) + // Minimum execution time: 1_108_000 picoseconds. + Weight::from_parts(1_251_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 293_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(359_000, 0) } /// Storage: `Session::Validators` (r:1 w:0) /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -1949,65 +1965,63 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `141` // Estimated: `1626` - // Minimum execution time: 21_772_000 picoseconds. - Weight::from_parts(22_449_000, 1626) + // Minimum execution time: 21_586_000 picoseconds. + Weight::from_parts(22_170_000, 1626) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Revive::BlockHash` (r:1 w:0) /// Proof: `Revive::BlockHash` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `Measured`) - /// Storage: `System::BlockHash` (r:1 w:0) - /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) fn seal_block_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `295` - // Estimated: `3760` - // Minimum execution time: 8_286_000 picoseconds. - Weight::from_parts(8_872_000, 3760) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `348` + // Estimated: `3813` + // Minimum execution time: 6_301_000 picoseconds. + Weight::from_parts(6_634_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: 277_000 picoseconds. - Weight::from_parts(315_000, 0) + // Minimum execution time: 301_000 picoseconds. + Weight::from_parts(353_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: 428_000 picoseconds. - Weight::from_parts(41_583, 0) + // Minimum execution time: 480_000 picoseconds. + Weight::from_parts(50_042, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(239, 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: 281_000 picoseconds. - Weight::from_parts(314_000, 0) + // Minimum execution time: 334_000 picoseconds. + Weight::from_parts(367_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: 257_000 picoseconds. - Weight::from_parts(222_536, 0) + // Minimum execution time: 302_000 picoseconds. + Weight::from_parts(327_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(149, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(114, 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: 286_000 picoseconds. - Weight::from_parts(606_042, 0) + // Minimum execution time: 287_000 picoseconds. + Weight::from_parts(570_831, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(235, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(203, 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`) @@ -2016,7 +2030,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: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::DeletionQueue` (r:0 w:1) @@ -2028,30 +2042,28 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + r * (368 ±0)` - // Estimated: `4048 + r * (2208 ±0)` - // Minimum execution time: 16_576_000 picoseconds. - Weight::from_parts(17_695_744, 4048) - // Standard Error: 56_646 - .saturating_add(Weight::from_parts(45_062_655, 0).saturating_mul(r.into())) + // Measured: `639 + r * (368 ±0)` + // Estimated: `4104 + r * (2236 ±0)` + // Minimum execution time: 17_959_000 picoseconds. + Weight::from_parts(19_301_326, 4104) + // Standard Error: 66_092 + .saturating_add(Weight::from_parts(46_601_373, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2208).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2236).saturating_mul(r.into())) } /// 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_442_000 picoseconds. - Weight::from_parts(4_542_144, 0) - // Standard Error: 3_564 - .saturating_add(Weight::from_parts(235_217, 0).saturating_mul(t.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(1_023, 0).saturating_mul(n.into())) + // Minimum execution time: 5_169_000 picoseconds. + Weight::from_parts(5_384_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2059,8 +2071,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 7_336_000 picoseconds. - Weight::from_parts(7_748_000, 648) + // Minimum execution time: 7_393_000 picoseconds. + Weight::from_parts(7_654_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2069,8 +2081,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 41_574_000 picoseconds. - Weight::from_parts(42_424_000, 10658) + // Minimum execution time: 41_989_000 picoseconds. + Weight::from_parts(43_026_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2079,8 +2091,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `648` // Estimated: `648` - // Minimum execution time: 8_294_000 picoseconds. - Weight::from_parts(8_831_000, 648) + // Minimum execution time: 8_528_000 picoseconds. + Weight::from_parts(9_094_000, 648) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2090,8 +2102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `10658` // Estimated: `10658` - // Minimum execution time: 43_327_000 picoseconds. - Weight::from_parts(44_273_000, 10658) + // Minimum execution time: 43_438_000 picoseconds. + Weight::from_parts(45_254_000, 10658) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2103,12 +2115,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + o * (1 ±0)` // Estimated: `247 + o * (1 ±0)` - // Minimum execution time: 8_947_000 picoseconds. - Weight::from_parts(9_408_356, 247) - // Standard Error: 62 - .saturating_add(Weight::from_parts(744, 0).saturating_mul(n.into())) - // Standard Error: 62 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(o.into())) + // Minimum execution time: 9_222_000 picoseconds. + Weight::from_parts(9_969_076, 247) + // Standard Error: 53 + .saturating_add(Weight::from_parts(329, 0).saturating_mul(n.into())) + // Standard Error: 53 + .saturating_add(Weight::from_parts(411, 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())) @@ -2118,15 +2130,14 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 416]`. 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_455_000 picoseconds. - Weight::from_parts(9_502_169, 247) - // Standard Error: 71 - .saturating_add(Weight::from_parts(822, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 10_930_000 picoseconds. + Weight::from_parts(11_933_439, 376) + // Standard Error: 86 + .saturating_add(Weight::from_parts(237, 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())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2135,10 +2146,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 8_067_000 picoseconds. - Weight::from_parts(9_250_525, 247) - // Standard Error: 84 - .saturating_add(Weight::from_parts(1_457, 0).saturating_mul(n.into())) + // Minimum execution time: 8_551_000 picoseconds. + Weight::from_parts(9_560_941, 247) + // Standard Error: 91 + .saturating_add(Weight::from_parts(927, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2147,64 +2158,59 @@ 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_687_000 picoseconds. - Weight::from_parts(8_629_827, 247) - // Standard Error: 73 - .saturating_add(Weight::from_parts(711, 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_229_000 picoseconds. + Weight::from_parts(3_631_759, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(176, 0).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 416]`. - fn take_storage(n: u32, ) -> Weight { + fn take_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `247 + n * (1 ±0)` - // Minimum execution time: 9_123_000 picoseconds. - Weight::from_parts(10_077_753, 247) - // Standard Error: 82 - .saturating_add(Weight::from_parts(1_971, 0).saturating_mul(n.into())) + // Measured: `376` + // Estimated: `376` + // Minimum execution time: 11_718_000 picoseconds. + Weight::from_parts(12_881_844, 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())) } fn set_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_701_000, 0) + // Minimum execution time: 1_682_000 picoseconds. + Weight::from_parts(1_828_000, 0) } fn set_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_027_000 picoseconds. - Weight::from_parts(2_133_000, 0) + // Minimum execution time: 1_985_000 picoseconds. + Weight::from_parts(2_142_000, 0) } fn get_transient_storage_empty() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_740_000, 0) + // Minimum execution time: 1_600_000 picoseconds. + Weight::from_parts(1_665_000, 0) } fn get_transient_storage_full() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_852_000 picoseconds. - Weight::from_parts(1_931_000, 0) + // Minimum execution time: 1_807_000 picoseconds. + Weight::from_parts(1_899_000, 0) } fn rollback_transient_storage() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_220_000 picoseconds. - Weight::from_parts(1_340_000, 0) + // Minimum execution time: 1_264_000 picoseconds. + Weight::from_parts(1_329_000, 0) } /// The range of component `n` is `[0, 416]`. /// The range of component `o` is `[0, 416]`. @@ -2212,50 +2218,46 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_397_000 picoseconds. - Weight::from_parts(2_745_122, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(344, 0).saturating_mul(o.into())) + // Minimum execution time: 2_383_000 picoseconds. + Weight::from_parts(2_725_990, 0) + // Standard Error: 20 + .saturating_add(Weight::from_parts(184, 0).saturating_mul(n.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(222, 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_039_000 picoseconds. - Weight::from_parts(2_530_835, 0) - // Standard Error: 27 - .saturating_add(Weight::from_parts(440, 0).saturating_mul(n.into())) + // Minimum execution time: 3_878_000 picoseconds. + Weight::from_parts(4_418_569, 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: 1_993_000 picoseconds. - Weight::from_parts(2_296_784, 0) - // Standard Error: 20 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + // Minimum execution time: 2_002_000 picoseconds. + Weight::from_parts(2_249_563, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(302, 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_857_000 picoseconds. - Weight::from_parts(2_083_817, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into())) + // Minimum execution time: 3_286_000 picoseconds. + Weight::from_parts(3_693_529, 0) } /// The range of component `n` is `[0, 416]`. fn seal_take_transient_storage(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_707_000 picoseconds. - Weight::from_parts(2_996_712, 0) + // Minimum execution time: 4_101_000 picoseconds. + Weight::from_parts(4_718_321, 0) } /// Storage: `Revive::OriginalAccount` (r:1 w:0) /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Measured`) @@ -2272,14 +2274,14 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, d: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1982` - // Estimated: `5447` - // Minimum execution time: 90_029_000 picoseconds. - Weight::from_parts(71_172_970, 5447) - // Standard Error: 169_069 - .saturating_add(Weight::from_parts(19_082_380, 0).saturating_mul(t.into())) - // Standard Error: 169_069 - .saturating_add(Weight::from_parts(24_814_180, 0).saturating_mul(d.into())) + // Measured: `2045` + // Estimated: `5510` + // Minimum execution time: 94_309_000 picoseconds. + Weight::from_parts(74_198_305, 5510) + // Standard Error: 167_701 + .saturating_add(Weight::from_parts(19_036_362, 0).saturating_mul(t.into())) + // Standard Error: 167_701 + .saturating_add(Weight::from_parts(25_806_319, 0).saturating_mul(d.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) @@ -2294,17 +2296,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: 23_859_000 picoseconds. - Weight::from_parts(12_073_197, 2021) - // Standard Error: 33_668 - .saturating_add(Weight::from_parts(13_492_051, 0).saturating_mul(d.into())) + // Measured: `436 + d * (212 ±0)` + // Estimated: `2056 + d * (2056 ±0)` + // Minimum execution time: 26_192_000 picoseconds. + Weight::from_parts(15_312_783, 2056) + // Standard Error: 56_353 + .saturating_add(Weight::from_parts(11_761_082, 0).saturating_mul(d.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(394, 0).saturating_mul(i.into())) + .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`) @@ -2314,10 +2316,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: 32_493_000 picoseconds. - Weight::from_parts(33_818_000, 4828) + // Measured: `1434` + // Estimated: `4899` + // Minimum execution time: 33_538_000 picoseconds. + Weight::from_parts(34_558_000, 4899) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `Revive::CodeInfoOf` (r:1 w:1) @@ -2333,141 +2335,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: `1394` - // Estimated: `4860` - // Minimum execution time: 149_647_000 picoseconds. - Weight::from_parts(106_282_483, 4860) - // Standard Error: 579_265 - .saturating_add(Weight::from_parts(19_926_931, 0).saturating_mul(t.into())) - // Standard Error: 579_265 - .saturating_add(Weight::from_parts(29_243_692, 0).saturating_mul(d.into())) + // Measured: `1450` + // Estimated: `4889 + d * (31 ±1) + t * (31 ±1)` + // Minimum execution time: 152_923_000 picoseconds. + Weight::from_parts(101_206_507, 4889) + // Standard Error: 569_387 + .saturating_add(Weight::from_parts(24_346_579, 0).saturating_mul(t.into())) + // Standard Error: 569_387 + .saturating_add(Weight::from_parts(34_532_477, 0).saturating_mul(d.into())) // Standard Error: 6 - .saturating_add(Weight::from_parts(4_030, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(3_942, 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_189_000 picoseconds. - Weight::from_parts(13_257_813, 0) + // Minimum execution time: 1_275_000 picoseconds. + Weight::from_parts(11_747_354, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_284, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_222, 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: 727_000 picoseconds. - Weight::from_parts(785_643, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(811_632, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(148, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn ripemd_160(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_386_000 picoseconds. - Weight::from_parts(5_645_651, 0) + // Minimum execution time: 1_224_000 picoseconds. + Weight::from_parts(6_192_243, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_766, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_718, 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_117_000 picoseconds. - Weight::from_parts(12_840_542, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_580, 0).saturating_mul(n.into())) + // Minimum execution time: 1_106_000 picoseconds. + Weight::from_parts(9_574_336, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_545, 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_644_000 picoseconds. - Weight::from_parts(12_914_994, 0) + // Minimum execution time: 1_798_000 picoseconds. + Weight::from_parts(17_117_825, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_447, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_390, 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_645_000 picoseconds. - Weight::from_parts(13_618_462, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(n.into())) + // Minimum execution time: 1_820_000 picoseconds. + Weight::from_parts(8_792_206, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_403, 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_663_000 picoseconds. - Weight::from_parts(97_917_401, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(5_007, 0).saturating_mul(n.into())) + // Minimum execution time: 42_943_000 picoseconds. + Weight::from_parts(73_040_655, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(4_917, 0).saturating_mul(n.into())) } fn ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_593_000 picoseconds. - Weight::from_parts(46_804_000, 0) + // Minimum execution time: 46_025_000 picoseconds. + Weight::from_parts(46_741_000, 0) } fn bn128_add() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_802_000 picoseconds. - Weight::from_parts(15_547_000, 0) + // Minimum execution time: 14_587_000 picoseconds. + Weight::from_parts(15_118_000, 0) } fn bn128_mul() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 979_532_000 picoseconds. - Weight::from_parts(985_691_000, 0) + // Minimum execution time: 977_152_000 picoseconds. + Weight::from_parts(983_267_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: 867_000 picoseconds. - Weight::from_parts(5_007_553_671, 0) - // Standard Error: 10_683_043 - .saturating_add(Weight::from_parts(5_954_606_629, 0).saturating_mul(n.into())) + // Minimum execution time: 874_000 picoseconds. + Weight::from_parts(4_828_082_095, 0) + // Standard Error: 10_593_637 + .saturating_add(Weight::from_parts(5_957_893_784, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1200]`. fn blake2f(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_016_000 picoseconds. - Weight::from_parts(1_223_331, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(28_895, 0).saturating_mul(n.into())) + // Minimum execution time: 1_029_000 picoseconds. + Weight::from_parts(1_266_614, 0) + // Standard Error: 46 + .saturating_add(Weight::from_parts(28_965, 0).saturating_mul(n.into())) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_885_000 picoseconds. - Weight::from_parts(13_085_000, 0) + // Minimum execution time: 12_859_000 picoseconds. + Weight::from_parts(13_083_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) @@ -2475,59 +2479,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_000_000 picoseconds. - Weight::from_parts(15_827_097, 6331) - // Standard Error: 54_436 - .saturating_add(Weight::from_parts(45_169_302, 0).saturating_mul(r.into())) + // Measured: `424 + r * (434 ±0)` + // Estimated: `6364 + r * (2162 ±0)` + // Minimum execution time: 15_060_000 picoseconds. + Weight::from_parts(16_015_236, 6364) + // Standard Error: 56_510 + .saturating_add(Weight::from_parts(46_696_463, 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_281_000 picoseconds. - Weight::from_parts(1_761_142, 0) - // Standard Error: 28 - .saturating_add(Weight::from_parts(7_240, 0).saturating_mul(r.into())) + // Minimum execution time: 648_000 picoseconds. + Weight::from_parts(729_060, 0) + // Standard Error: 25 + .saturating_add(Weight::from_parts(14_995, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 10000]`. fn instr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_941_000 picoseconds. - Weight::from_parts(47_985_764, 0) - // Standard Error: 501 - .saturating_add(Weight::from_parts(114_377, 0).saturating_mul(r.into())) + // Minimum execution time: 11_358_000 picoseconds. + Weight::from_parts(60_360_477, 0) + // Standard Error: 934 + .saturating_add(Weight::from_parts(139_231, 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_196_000 picoseconds. - Weight::from_parts(2_103_105, 0) - // Standard Error: 57 - .saturating_add(Weight::from_parts(71_986, 0).saturating_mul(r.into())) + // Minimum execution time: 3_348_000 picoseconds. + Weight::from_parts(3_268_767, 0) + // Standard Error: 40 + .saturating_add(Weight::from_parts(73_859, 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: 13_694_000 picoseconds. - Weight::from_parts(13_817_772, 3922) - // Standard Error: 6 - .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) + // Measured: `527 + n * (1 ±0)` + // Estimated: `3992 + n * (1 ±0)` + // Minimum execution time: 14_563_000 picoseconds. + Weight::from_parts(14_675_706, 3992) + // Standard Error: 5 + .saturating_add(Weight::from_parts(739, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2537,10 +2541,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_331_000 picoseconds. - Weight::from_parts(12_562_000, 6256) + // Measured: `382` + // Estimated: `6322` + // Minimum execution time: 12_123_000 picoseconds. + Weight::from_parts(12_684_000, 6322) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2549,45 +2553,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: 62_340_000 picoseconds. - Weight::from_parts(64_756_000, 6794) + // Measured: `505` + // Estimated: `6866` + // Minimum execution time: 66_762_000 picoseconds. + Weight::from_parts(67_934_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: 28_573_000 picoseconds. + Weight::from_parts(60_226_485, 6275) + // Standard Error: 4_720 + .saturating_add(Weight::from_parts(395_566, 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) @@ -2595,48 +2603,50 @@ 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: 61_935_000 picoseconds. + Weight::from_parts(63_431_058, 6682) + // Standard Error: 155 + .saturating_add(Weight::from_parts(13_414, 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) /// Proof: `Revive::ReceiptInfoData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `e` is `[0, 100]`. - fn on_finalize_per_event(e: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `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)) + fn on_finalize_per_event(_e: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 47_667_000 picoseconds. + Weight::from_parts(50_034_646, 4945) + .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) @@ -2644,13 +2654,13 @@ impl WeightInfo for () { /// The range of component `d` is `[0, 16384]`. fn on_finalize_per_event_data(d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1377` - // Estimated: `4842` - // Minimum execution time: 43_443_000 picoseconds. - Weight::from_parts(45_235_925, 4842) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 47_841_000 picoseconds. + Weight::from_parts(49_883_610, 4945) // 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)) + .saturating_add(Weight::from_parts(23, 0).saturating_mul(d.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } } From c7e3564ee9326f95963bfd927c75a7a583329faf Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 22:34:22 +0000 Subject: [PATCH 15/16] Update from github-actions[bot] running command 'bench --runtime dev --pallet pallet_revive' --- substrate/frame/revive/src/weights.rs | 1748 +++++++++++++------------ 1 file changed, 891 insertions(+), 857 deletions(-) diff --git a/substrate/frame/revive/src/weights.rs b/substrate/frame/revive/src/weights.rs index 5f0d1d26c5d33..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: @@ -71,7 +71,6 @@ use core::marker::PhantomData; /// Weight functions needed for `pallet_revive`. pub trait WeightInfo { - fn deposit_eth_extrinsic_revert_event() -> Weight { Weight::zero() } fn on_process_deletion_queue_batch() -> Weight; fn on_initialize_per_trie_key(k: u32, ) -> Weight; fn call_with_pvm_code_per_byte(c: u32, ) -> Weight; @@ -79,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; @@ -178,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) @@ -189,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)) @@ -216,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())) @@ -241,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)) } @@ -263,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)) } @@ -277,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) @@ -290,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)) } @@ -306,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]`. @@ -320,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) @@ -347,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)) } @@ -374,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)) } @@ -393,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)) } @@ -444,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)) } @@ -492,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]`. @@ -501,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`) @@ -553,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`) @@ -609,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) @@ -620,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())) } @@ -636,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`) @@ -704,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`) @@ -810,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) @@ -820,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) @@ -830,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)) } @@ -841,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)) } @@ -854,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())) @@ -867,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`) @@ -886,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())) } @@ -898,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]`. @@ -963,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`) @@ -1023,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()))) @@ -1045,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`) @@ -1065,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) @@ -1084,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) @@ -1226,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())) } @@ -1288,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)) } @@ -1300,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) @@ -1346,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) @@ -1371,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)) } } @@ -1412,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) @@ -1423,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)) @@ -1450,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())) @@ -1475,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)) } @@ -1497,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)) } @@ -1511,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) @@ -1524,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)) } @@ -1540,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]`. @@ -1554,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) @@ -1581,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)) } @@ -1608,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)) } @@ -1627,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)) } @@ -1678,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)) } @@ -1726,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]`. @@ -1735,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`) @@ -1787,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`) @@ -1843,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) @@ -1854,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())) } @@ -1870,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`) @@ -1938,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`) @@ -2044,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) @@ -2054,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) @@ -2064,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)) } @@ -2075,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)) } @@ -2088,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())) @@ -2101,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`) @@ -2120,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())) } @@ -2132,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]`. @@ -2197,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`) @@ -2257,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()))) @@ -2279,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`) @@ -2299,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) @@ -2318,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) @@ -2460,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())) } @@ -2522,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)) } @@ -2534,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) @@ -2580,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) @@ -2605,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)) } } From 55dda06a0731bd35f493cb6fae8187090c9c13ef Mon Sep 17 00:00:00 2001 From: pgherveou Date: Tue, 28 Oct 2025 14:05:42 +0100 Subject: [PATCH 16/16] rm unnecessary gas_consumed binding --- substrate/frame/revive/src/lib.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/substrate/frame/revive/src/lib.rs b/substrate/frame/revive/src/lib.rs index 66670a0d0c762..a07f3320f117d 100644 --- a/substrate/frame/revive/src/lib.rs +++ b/substrate/frame/revive/src/lib.rs @@ -1256,14 +1256,13 @@ pub mod pallet { } } - let gas_consumed = output.gas_consumed; let result = dispatch_result( output.result.map(|result| result.result), - gas_consumed, + output.gas_consumed, base_info.call_weight, ); let result = T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result); - (gas_consumed, result) + (output.gas_consumed, result) }) } @@ -1321,11 +1320,10 @@ pub mod pallet { } } - let gas_consumed = output.gas_consumed; let result = dispatch_result(output.result, output.gas_consumed, base_info.call_weight); let result = T::FeeInfo::ensure_not_overdrawn(encoded_len, &info, result); - (gas_consumed, result) + (output.gas_consumed, result) }) }