diff --git a/pallets/dynamic-evm-base-fee/src/weights.rs b/pallets/dynamic-evm-base-fee/src/weights.rs index aabce1015f..46c67f3946 100644 --- a/pallets/dynamic-evm-base-fee/src/weights.rs +++ b/pallets/dynamic-evm-base-fee/src/weights.rs @@ -20,9 +20,9 @@ //! Autogenerated weights for pallet_dynamic_evm_base_fee //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-09-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-09-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `Dinos-MBP.fritz.box`, CPU: `` +//! HOSTNAME: `devserver-01`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("shibuya-dev"), DB CACHE: 1024 // Executed Command: @@ -37,7 +37,7 @@ // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=temp.rs +// --output=./benchmark-results/dynamic_evm_base_fee_weights.rs // --template=./scripts/templates/weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -65,8 +65,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 1517) + // Minimum execution time: 8_560_000 picoseconds. + Weight::from_parts(8_778_000, 1517) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -76,12 +76,19 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_883_000 picoseconds. + Weight::from_parts(8_060_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// Storage: DynamicEvmBaseFee BaseFeePerGas (r:1 w:0) + /// Proof: DynamicEvmBaseFee BaseFeePerGas (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) fn min_gas_price() -> Weight { - Weight::from_parts(0, 0) + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 4_201_000 picoseconds. + Weight::from_parts(4_399_000, 1517) + .saturating_add(T::DbWeight::get().reads(1_u64)) } } @@ -95,8 +102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1517` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(9_000_000, 1517) + // Minimum execution time: 8_560_000 picoseconds. + Weight::from_parts(8_778_000, 1517) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -106,11 +113,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 7_883_000 picoseconds. + Weight::from_parts(8_060_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: DynamicEvmBaseFee BaseFeePerGas (r:1 w:0) + /// Proof: DynamicEvmBaseFee BaseFeePerGas (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) fn min_gas_price() -> Weight { - Weight::from_parts(0, 0) + // Proof Size summary in bytes: + // Measured: `98` + // Estimated: `1517` + // Minimum execution time: 4_201_000 picoseconds. + Weight::from_parts(4_399_000, 1517) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } } diff --git a/tests/integration/src/xvm.rs b/tests/integration/src/xvm.rs index 5d2874ce91..bf179f5ab5 100644 --- a/tests/integration/src/xvm.rs +++ b/tests/integration/src/xvm.rs @@ -772,8 +772,8 @@ fn calling_wasm_from_evm_works_if_sufficient_storage_deposit_limit() { // to: 0x0e0ddb5a5f0b99d7be468a3051a94073ec6b1900178316401a52b93415026999 // input: 0x0000002a (store) // value: 0 - // storage_deposit_limit: 1_000_000_000_000 - hex::decode("2d9338da000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000000200e0ddb5a5f0b99d7be468a3051a94073ec6b1900178316401a52b9341502699900000000000000000000000000000000000000000000000000000000000000040000002a00000000000000000000000000000000000000000000000000000000").expect("invalid call input hex"), + // storage_deposit_limit: 1_000_000_000_000_000 + hex::decode("2d9338da000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038d7ea4c6800000000000000000000000000000000000000000000000000000000000000000200e0ddb5a5f0b99d7be468a3051a94073ec6b1900178316401a52b9341502699900000000000000000000000000000000000000000000000000000000000000040000002a00000000000000000000000000000000000000000000000000000000").expect("invalid call input hex"), U256::zero(), 1_000_000, U256::from(DefaultBaseFeePerGas::get()),