Revert "FRAME: Create TransactionExtension as a replacement for SignedExtension (#2280)" (#3665)

This PR reverts #2280 which introduced `TransactionExtension` to replace
`SignedExtension`.

As a result of the discussion
[here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700),
the changes will be reverted for now with plans to reintroduce the
concept in the future.

---------

Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
georgepisaltu
2024-03-13 16:10:59 +02:00
committed by GitHub
parent 60ac5a723c
commit bbd51ce867
350 changed files with 15826 additions and 24304 deletions
+175 -182
View File
@@ -17,28 +17,26 @@
//! Autogenerated weights for `pallet_broker`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-03-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `runner-pzhd7p6z-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
// Executed Command:
// ./target/production/substrate-node
// target/production/substrate-node
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_broker
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./substrate/frame/broker/src/weights.rs
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
// --pallet=pallet_broker
// --chain=dev
// --header=./substrate/HEADER-APACHE2
// --output=./substrate/frame/broker/src/weights.rs
// --template=./substrate/.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -89,8 +87,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_701_000 picoseconds.
Weight::from_parts(2_902_000, 0)
// Minimum execution time: 3_040_000 picoseconds.
Weight::from_parts(3_344_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Broker::Reservations` (r:1 w:1)
@@ -99,8 +97,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `5016`
// Estimated: `7496`
// Minimum execution time: 18_056_000 picoseconds.
Weight::from_parts(19_093_000, 7496)
// Minimum execution time: 21_259_000 picoseconds.
Weight::from_parts(22_110_000, 7496)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -110,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `6218`
// Estimated: `7496`
// Minimum execution time: 17_233_000 picoseconds.
Weight::from_parts(17_788_000, 7496)
// Minimum execution time: 20_330_000 picoseconds.
Weight::from_parts(20_826_000, 7496)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -121,8 +119,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `1526`
// Minimum execution time: 9_740_000 picoseconds.
Weight::from_parts(10_504_000, 1526)
// Minimum execution time: 13_411_000 picoseconds.
Weight::from_parts(13_960_000, 1526)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -141,12 +139,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `Broker::Workplan` (r:0 w:10)
/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 1000]`.
fn start_sales(_n: u32, ) -> Weight {
fn start_sales(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6330`
// Estimated: `8499`
// Minimum execution time: 49_728_000 picoseconds.
Weight::from_parts(52_765_861, 8499)
// Minimum execution time: 57_770_000 picoseconds.
Weight::from_parts(61_047_512, 8499)
// Standard Error: 165
.saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(16_u64))
}
@@ -162,10 +162,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
fn purchase() -> Weight {
// Proof Size summary in bytes:
// Measured: `635`
// Estimated: `2120`
// Minimum execution time: 41_986_000 picoseconds.
Weight::from_parts(43_465_000, 2120)
// Measured: `568`
// Estimated: `2053`
// Minimum execution time: 51_196_000 picoseconds.
Weight::from_parts(52_382_000, 2053)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -185,10 +185,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
fn renew() -> Weight {
// Proof Size summary in bytes:
// Measured: `753`
// Measured: `686`
// Estimated: `4698`
// Minimum execution time: 61_779_000 picoseconds.
Weight::from_parts(62_563_000, 4698)
// Minimum execution time: 71_636_000 picoseconds.
Weight::from_parts(73_679_000, 4698)
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -198,8 +198,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 16_962_000 picoseconds.
Weight::from_parts(17_733_000, 3550)
// Minimum execution time: 19_182_000 picoseconds.
Weight::from_parts(19_775_000, 3550)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -209,21 +209,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 18_380_000 picoseconds.
Weight::from_parts(19_105_000, 3550)
// Minimum execution time: 20_688_000 picoseconds.
Weight::from_parts(21_557_000, 3550)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Broker::Regions` (r:1 w:3)
/// Storage: `Broker::Regions` (r:1 w:2)
/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
fn interlace() -> Weight {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 20_115_000 picoseconds.
Weight::from_parts(20_741_000, 3550)
// Minimum execution time: 21_190_000 picoseconds.
Weight::from_parts(22_215_000, 3550)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Broker::Configuration` (r:1 w:0)
/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
@@ -237,8 +237,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `740`
// Estimated: `4681`
// Minimum execution time: 31_339_000 picoseconds.
Weight::from_parts(32_639_000, 4681)
// Minimum execution time: 34_591_000 picoseconds.
Weight::from_parts(36_227_000, 4681)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -256,8 +256,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `775`
// Estimated: `5996`
// Minimum execution time: 37_542_000 picoseconds.
Weight::from_parts(38_521_000, 5996)
// Minimum execution time: 40_346_000 picoseconds.
Weight::from_parts(41_951_000, 5996)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -272,10 +272,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `859`
// Estimated: `6196 + m * (2520 ±0)`
// Minimum execution time: 66_176_000 picoseconds.
Weight::from_parts(68_356_745, 6196)
// Standard Error: 68_008
.saturating_add(Weight::from_parts(1_558_419, 0).saturating_mul(m.into()))
// Minimum execution time: 75_734_000 picoseconds.
Weight::from_parts(78_168_395, 6196)
// Standard Error: 63_180
.saturating_add(Weight::from_parts(1_076_259, 0).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes(5_u64))
@@ -287,8 +287,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 41_130_000 picoseconds.
Weight::from_parts(41_914_000, 3593)
// Minimum execution time: 46_383_000 picoseconds.
Weight::from_parts(47_405_000, 3593)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -300,8 +300,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `603`
// Estimated: `3550`
// Minimum execution time: 31_042_000 picoseconds.
Weight::from_parts(34_087_000, 3550)
// Minimum execution time: 30_994_000 picoseconds.
Weight::from_parts(31_979_000, 3550)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -315,8 +315,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `601`
// Estimated: `3533`
// Minimum execution time: 39_116_000 picoseconds.
Weight::from_parts(39_990_000, 3533)
// Minimum execution time: 37_584_000 picoseconds.
Weight::from_parts(44_010_000, 3533)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -330,10 +330,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn drop_history() -> Weight {
// Proof Size summary in bytes:
// Measured: `995`
// Measured: `830`
// Estimated: `3593`
// Minimum execution time: 47_547_000 picoseconds.
Weight::from_parts(50_274_000, 3593)
// Minimum execution time: 45_266_000 picoseconds.
Weight::from_parts(48_000_000, 3593)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -343,32 +343,34 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Broker::AllowedRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
fn drop_renewal() -> Weight {
// Proof Size summary in bytes:
// Measured: `661`
// Measured: `525`
// Estimated: `4698`
// Minimum execution time: 26_707_000 picoseconds.
Weight::from_parts(27_217_000, 4698)
// Minimum execution time: 25_365_000 picoseconds.
Weight::from_parts(26_920_000, 4698)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// The range of component `n` is `[0, 1000]`.
fn request_core_count(_n: u32, ) -> Weight {
fn request_core_count(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_651_000 picoseconds.
Weight::from_parts(5_231_385, 0)
// Minimum execution time: 6_519_000 picoseconds.
Weight::from_parts(7_098_698, 0)
// Standard Error: 20
.saturating_add(Weight::from_parts(8, 0).saturating_mul(n.into()))
}
/// Storage: `Broker::CoreCountInbox` (r:1 w:1)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// The range of component `n` is `[0, 1000]`.
fn process_core_count(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `404`
// Estimated: `1487`
// Minimum execution time: 6_806_000 picoseconds.
Weight::from_parts(7_264_002, 1487)
// Standard Error: 21
.saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into()))
// Measured: `98`
// Estimated: `3563`
// Minimum execution time: 7_608_000 picoseconds.
Weight::from_parts(8_157_815, 3563)
// Standard Error: 26
.saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -384,10 +386,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn process_revenue() -> Weight {
// Proof Size summary in bytes:
// Measured: `972`
// Estimated: `4437`
// Minimum execution time: 48_297_000 picoseconds.
Weight::from_parts(49_613_000, 4437)
// Measured: `905`
// Estimated: `4370`
// Minimum execution time: 59_993_000 picoseconds.
Weight::from_parts(61_752_000, 4370)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -406,10 +408,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `6281`
// Estimated: `8499`
// Minimum execution time: 36_715_000 picoseconds.
Weight::from_parts(38_580_380, 8499)
// Standard Error: 91
.saturating_add(Weight::from_parts(1_163, 0).saturating_mul(n.into()))
// Minimum execution time: 41_863_000 picoseconds.
Weight::from_parts(44_033_031, 8499)
// Standard Error: 116
.saturating_add(Weight::from_parts(764, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(15_u64))
}
@@ -421,8 +423,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `180`
// Estimated: `3493`
// Minimum execution time: 7_564_000 picoseconds.
Weight::from_parts(7_932_000, 3493)
// Minimum execution time: 9_588_000 picoseconds.
Weight::from_parts(9_925_000, 3493)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -434,8 +436,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1423`
// Estimated: `4681`
// Minimum execution time: 17_082_000 picoseconds.
Weight::from_parts(17_662_000, 4681)
// Minimum execution time: 19_308_000 picoseconds.
Weight::from_parts(20_482_000, 4681)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -443,35 +445,28 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 175_000 picoseconds.
Weight::from_parts(223_000, 0)
// Minimum execution time: 147_000 picoseconds.
Weight::from_parts(184_000, 0)
}
/// Storage: `Broker::CoreCountInbox` (r:0 w:1)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
fn notify_core_count() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_432_000 picoseconds.
Weight::from_parts(2_536_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
T::DbWeight::get().reads_writes(1, 1)
}
/// Storage: `Broker::Status` (r:1 w:1)
/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
/// Storage: `Broker::Configuration` (r:1 w:0)
/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
/// Storage: `Broker::CoreCountInbox` (r:1 w:0)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Storage: UNKNOWN KEY `0xf308d869daf021a7724e69c557dd8dbe` (r:1 w:1)
/// Proof: UNKNOWN KEY `0xf308d869daf021a7724e69c557dd8dbe` (r:1 w:1)
fn do_tick_base() -> Weight {
// Proof Size summary in bytes:
// Measured: `603`
// Estimated: `4068`
// Minimum execution time: 13_080_000 picoseconds.
Weight::from_parts(13_937_000, 4068)
// Measured: `699`
// Estimated: `4164`
// Minimum execution time: 19_824_000 picoseconds.
Weight::from_parts(20_983_000, 4164)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
}
@@ -483,8 +478,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_701_000 picoseconds.
Weight::from_parts(2_902_000, 0)
// Minimum execution time: 3_040_000 picoseconds.
Weight::from_parts(3_344_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Broker::Reservations` (r:1 w:1)
@@ -493,8 +488,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `5016`
// Estimated: `7496`
// Minimum execution time: 18_056_000 picoseconds.
Weight::from_parts(19_093_000, 7496)
// Minimum execution time: 21_259_000 picoseconds.
Weight::from_parts(22_110_000, 7496)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -504,8 +499,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `6218`
// Estimated: `7496`
// Minimum execution time: 17_233_000 picoseconds.
Weight::from_parts(17_788_000, 7496)
// Minimum execution time: 20_330_000 picoseconds.
Weight::from_parts(20_826_000, 7496)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -515,8 +510,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `239`
// Estimated: `1526`
// Minimum execution time: 9_740_000 picoseconds.
Weight::from_parts(10_504_000, 1526)
// Minimum execution time: 13_411_000 picoseconds.
Weight::from_parts(13_960_000, 1526)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -535,12 +530,14 @@ impl WeightInfo for () {
/// Storage: `Broker::Workplan` (r:0 w:10)
/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 1000]`.
fn start_sales(_n: u32, ) -> Weight {
fn start_sales(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `6330`
// Estimated: `8499`
// Minimum execution time: 49_728_000 picoseconds.
Weight::from_parts(52_765_861, 8499)
// Minimum execution time: 57_770_000 picoseconds.
Weight::from_parts(61_047_512, 8499)
// Standard Error: 165
.saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(16_u64))
}
@@ -556,10 +553,10 @@ impl WeightInfo for () {
/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
fn purchase() -> Weight {
// Proof Size summary in bytes:
// Measured: `635`
// Estimated: `2120`
// Minimum execution time: 41_986_000 picoseconds.
Weight::from_parts(43_465_000, 2120)
// Measured: `568`
// Estimated: `2053`
// Minimum execution time: 51_196_000 picoseconds.
Weight::from_parts(52_382_000, 2053)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -579,10 +576,10 @@ impl WeightInfo for () {
/// Proof: `Broker::Workplan` (`max_values`: None, `max_size`: Some(1216), added: 3691, mode: `MaxEncodedLen`)
fn renew() -> Weight {
// Proof Size summary in bytes:
// Measured: `753`
// Measured: `686`
// Estimated: `4698`
// Minimum execution time: 61_779_000 picoseconds.
Weight::from_parts(62_563_000, 4698)
// Minimum execution time: 71_636_000 picoseconds.
Weight::from_parts(73_679_000, 4698)
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -592,8 +589,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 16_962_000 picoseconds.
Weight::from_parts(17_733_000, 3550)
// Minimum execution time: 19_182_000 picoseconds.
Weight::from_parts(19_775_000, 3550)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -603,21 +600,21 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 18_380_000 picoseconds.
Weight::from_parts(19_105_000, 3550)
// Minimum execution time: 20_688_000 picoseconds.
Weight::from_parts(21_557_000, 3550)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Broker::Regions` (r:1 w:3)
/// Storage: `Broker::Regions` (r:1 w:2)
/// Proof: `Broker::Regions` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
fn interlace() -> Weight {
// Proof Size summary in bytes:
// Measured: `495`
// Estimated: `3550`
// Minimum execution time: 20_115_000 picoseconds.
Weight::from_parts(20_741_000, 3550)
// Minimum execution time: 21_190_000 picoseconds.
Weight::from_parts(22_215_000, 3550)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Broker::Configuration` (r:1 w:0)
/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
@@ -631,8 +628,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `740`
// Estimated: `4681`
// Minimum execution time: 31_339_000 picoseconds.
Weight::from_parts(32_639_000, 4681)
// Minimum execution time: 34_591_000 picoseconds.
Weight::from_parts(36_227_000, 4681)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -650,8 +647,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `775`
// Estimated: `5996`
// Minimum execution time: 37_542_000 picoseconds.
Weight::from_parts(38_521_000, 5996)
// Minimum execution time: 40_346_000 picoseconds.
Weight::from_parts(41_951_000, 5996)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -666,10 +663,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `859`
// Estimated: `6196 + m * (2520 ±0)`
// Minimum execution time: 66_176_000 picoseconds.
Weight::from_parts(68_356_745, 6196)
// Standard Error: 68_008
.saturating_add(Weight::from_parts(1_558_419, 0).saturating_mul(m.into()))
// Minimum execution time: 75_734_000 picoseconds.
Weight::from_parts(78_168_395, 6196)
// Standard Error: 63_180
.saturating_add(Weight::from_parts(1_076_259, 0).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(RocksDbWeight::get().writes(5_u64))
@@ -681,8 +678,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3593`
// Minimum execution time: 41_130_000 picoseconds.
Weight::from_parts(41_914_000, 3593)
// Minimum execution time: 46_383_000 picoseconds.
Weight::from_parts(47_405_000, 3593)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -694,8 +691,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `603`
// Estimated: `3550`
// Minimum execution time: 31_042_000 picoseconds.
Weight::from_parts(34_087_000, 3550)
// Minimum execution time: 30_994_000 picoseconds.
Weight::from_parts(31_979_000, 3550)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -709,8 +706,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `601`
// Estimated: `3533`
// Minimum execution time: 39_116_000 picoseconds.
Weight::from_parts(39_990_000, 3533)
// Minimum execution time: 37_584_000 picoseconds.
Weight::from_parts(44_010_000, 3533)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -724,10 +721,10 @@ impl WeightInfo for () {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn drop_history() -> Weight {
// Proof Size summary in bytes:
// Measured: `995`
// Measured: `830`
// Estimated: `3593`
// Minimum execution time: 47_547_000 picoseconds.
Weight::from_parts(50_274_000, 3593)
// Minimum execution time: 45_266_000 picoseconds.
Weight::from_parts(48_000_000, 3593)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -737,32 +734,34 @@ impl WeightInfo for () {
/// Proof: `Broker::AllowedRenewals` (`max_values`: None, `max_size`: Some(1233), added: 3708, mode: `MaxEncodedLen`)
fn drop_renewal() -> Weight {
// Proof Size summary in bytes:
// Measured: `661`
// Measured: `525`
// Estimated: `4698`
// Minimum execution time: 26_707_000 picoseconds.
Weight::from_parts(27_217_000, 4698)
// Minimum execution time: 25_365_000 picoseconds.
Weight::from_parts(26_920_000, 4698)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// The range of component `n` is `[0, 1000]`.
fn request_core_count(_n: u32, ) -> Weight {
fn request_core_count(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_651_000 picoseconds.
Weight::from_parts(5_231_385, 0)
// Minimum execution time: 6_519_000 picoseconds.
Weight::from_parts(7_098_698, 0)
// Standard Error: 20
.saturating_add(Weight::from_parts(8, 0).saturating_mul(n.into()))
}
/// Storage: `Broker::CoreCountInbox` (r:1 w:1)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// The range of component `n` is `[0, 1000]`.
fn process_core_count(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `404`
// Estimated: `1487`
// Minimum execution time: 6_806_000 picoseconds.
Weight::from_parts(7_264_002, 1487)
// Standard Error: 21
.saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into()))
// Measured: `98`
// Estimated: `3563`
// Minimum execution time: 7_608_000 picoseconds.
Weight::from_parts(8_157_815, 3563)
// Standard Error: 26
.saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -778,10 +777,10 @@ impl WeightInfo for () {
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn process_revenue() -> Weight {
// Proof Size summary in bytes:
// Measured: `972`
// Estimated: `4437`
// Minimum execution time: 48_297_000 picoseconds.
Weight::from_parts(49_613_000, 4437)
// Measured: `905`
// Estimated: `4370`
// Minimum execution time: 59_993_000 picoseconds.
Weight::from_parts(61_752_000, 4370)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -800,10 +799,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `6281`
// Estimated: `8499`
// Minimum execution time: 36_715_000 picoseconds.
Weight::from_parts(38_580_380, 8499)
// Standard Error: 91
.saturating_add(Weight::from_parts(1_163, 0).saturating_mul(n.into()))
// Minimum execution time: 41_863_000 picoseconds.
Weight::from_parts(44_033_031, 8499)
// Standard Error: 116
.saturating_add(Weight::from_parts(764, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(15_u64))
}
@@ -815,8 +814,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `180`
// Estimated: `3493`
// Minimum execution time: 7_564_000 picoseconds.
Weight::from_parts(7_932_000, 3493)
// Minimum execution time: 9_588_000 picoseconds.
Weight::from_parts(9_925_000, 3493)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -828,8 +827,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1423`
// Estimated: `4681`
// Minimum execution time: 17_082_000 picoseconds.
Weight::from_parts(17_662_000, 4681)
// Minimum execution time: 19_308_000 picoseconds.
Weight::from_parts(20_482_000, 4681)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -837,34 +836,28 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 175_000 picoseconds.
Weight::from_parts(223_000, 0)
// Minimum execution time: 147_000 picoseconds.
Weight::from_parts(184_000, 0)
}
/// Storage: `Broker::CoreCountInbox` (r:0 w:1)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
fn notify_core_count() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_432_000 picoseconds.
Weight::from_parts(2_536_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
RocksDbWeight::get().reads(1)
.saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `Broker::Status` (r:1 w:1)
/// Proof: `Broker::Status` (`max_values`: Some(1), `max_size`: Some(18), added: 513, mode: `MaxEncodedLen`)
/// Storage: `Broker::Configuration` (r:1 w:0)
/// Proof: `Broker::Configuration` (`max_values`: Some(1), `max_size`: Some(31), added: 526, mode: `MaxEncodedLen`)
/// Storage: `Broker::CoreCountInbox` (r:1 w:0)
/// Proof: `Broker::CoreCountInbox` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
/// Storage: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x18194fcb5c1fcace44d2d0a004272614` (r:1 w:1)
/// Storage: UNKNOWN KEY `0xf308d869daf021a7724e69c557dd8dbe` (r:1 w:1)
/// Proof: UNKNOWN KEY `0xf308d869daf021a7724e69c557dd8dbe` (r:1 w:1)
fn do_tick_base() -> Weight {
// Proof Size summary in bytes:
// Measured: `603`
// Estimated: `4068`
// Minimum execution time: 13_080_000 picoseconds.
Weight::from_parts(13_937_000, 4068)
// Measured: `699`
// Estimated: `4164`
// Minimum execution time: 19_824_000 picoseconds.
Weight::from_parts(20_983_000, 4164)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
}