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
+130 -136
View File
@@ -17,28 +17,26 @@
//! Autogenerated weights for `pallet_scheduler`
//!
//! 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: 2024-01-25, 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-grjcggob-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_scheduler
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./substrate/frame/scheduler/src/weights.rs
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
// --pallet=pallet_scheduler
// --chain=dev
// --header=./substrate/HEADER-APACHE2
// --output=./substrate/frame/scheduler/src/weights.rs
// --template=./substrate/.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -79,8 +77,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_128_000 picoseconds.
Weight::from_parts(3_372_000, 1489)
// Minimum execution time: 3_040_000 picoseconds.
Weight::from_parts(3_202_000, 1489)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -91,10 +89,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 3_560_000 picoseconds.
Weight::from_parts(6_356_795, 110487)
// Standard Error: 493
.saturating_add(Weight::from_parts(315_098, 0).saturating_mul(s.into()))
// Minimum execution time: 3_462_000 picoseconds.
Weight::from_parts(6_262_125, 110487)
// Standard Error: 536
.saturating_add(Weight::from_parts(332_570, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -102,8 +100,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_501_000 picoseconds.
Weight::from_parts(3_722_000, 0)
// Minimum execution time: 3_425_000 picoseconds.
Weight::from_parts(3_680_000, 0)
}
/// Storage: `Preimage::PreimageFor` (r:1 w:1)
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
@@ -116,10 +114,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `246 + s * (1 ±0)`
// Estimated: `3711 + s * (1 ±0)`
// Minimum execution time: 17_976_000 picoseconds.
Weight::from_parts(18_137_000, 3711)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into()))
// Minimum execution time: 17_564_000 picoseconds.
Weight::from_parts(17_887_000, 3711)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_253, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -130,16 +128,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_935_000 picoseconds.
Weight::from_parts(5_133_000, 0)
// Minimum execution time: 4_934_000 picoseconds.
Weight::from_parts(5_275_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
fn service_task_periodic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_467_000 picoseconds.
Weight::from_parts(3_654_000, 0)
// Minimum execution time: 3_348_000 picoseconds.
Weight::from_parts(3_561_000, 0)
}
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -149,16 +147,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `3997`
// Minimum execution time: 6_528_000 picoseconds.
Weight::from_parts(6_820_000, 3997)
// Minimum execution time: 6_395_000 picoseconds.
Weight::from_parts(6_642_000, 3997)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_202_000 picoseconds.
Weight::from_parts(2_360_000, 0)
// Minimum execution time: 2_167_000 picoseconds.
Weight::from_parts(2_266_000, 0)
}
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
@@ -167,17 +165,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 10_222_000 picoseconds.
Weight::from_parts(13_654_958, 110487)
// Standard Error: 676
.saturating_add(Weight::from_parts(338_633, 0).saturating_mul(s.into()))
// Minimum execution time: 10_009_000 picoseconds.
Weight::from_parts(13_565_985, 110487)
// Standard Error: 575
.saturating_add(Weight::from_parts(354_760, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Lookup` (r:0 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
@@ -185,12 +181,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 15_517_000 picoseconds.
Weight::from_parts(17_464_075, 110487)
// Standard Error: 952
.saturating_add(Weight::from_parts(495_806, 0).saturating_mul(s.into()))
// Minimum execution time: 14_048_000 picoseconds.
Weight::from_parts(15_141_696, 110487)
// Standard Error: 1_082
.saturating_add(Weight::from_parts(533_390, 0).saturating_mul(s.into()))
.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: `Scheduler::Lookup` (r:1 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
@@ -201,10 +197,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `596 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 13_091_000 picoseconds.
Weight::from_parts(19_101_313, 110487)
// Standard Error: 662
.saturating_add(Weight::from_parts(342_468, 0).saturating_mul(s.into()))
// Minimum execution time: 12_902_000 picoseconds.
Weight::from_parts(18_957_156, 110487)
// Standard Error: 792
.saturating_add(Weight::from_parts(361_909, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
@@ -212,35 +208,35 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
fn cancel_named(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_579_000 picoseconds.
Weight::from_parts(20_561_921, 110487)
// Standard Error: 792
.saturating_add(Weight::from_parts(500_463, 0).saturating_mul(s.into()))
// Minimum execution time: 15_933_000 picoseconds.
Weight::from_parts(18_091_415, 110487)
// Standard Error: 779
.saturating_add(Weight::from_parts(534_402, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Scheduler::Retries` (r:1 w:2)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Lookup` (r:0 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
fn schedule_retry(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `118`
// Measured: `159`
// Estimated: `110487`
// Minimum execution time: 8_996_000 picoseconds.
Weight::from_parts(11_393_234, 110487)
// Standard Error: 190
.saturating_add(Weight::from_parts(6_714, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
// Minimum execution time: 14_155_000 picoseconds.
Weight::from_parts(16_447_031, 110487)
// Standard Error: 233
.saturating_add(Weight::from_parts(8_424, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: `Scheduler::Agenda` (r:1 w:0)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
@@ -248,10 +244,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry() -> Weight {
// Proof Size summary in bytes:
// Measured: `90705`
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 121_505_000 picoseconds.
Weight::from_parts(124_306_000, 110487)
// Minimum execution time: 8_130_000 picoseconds.
Weight::from_parts(9_047_554, 110487)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -263,10 +259,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry_named() -> Weight {
// Proof Size summary in bytes:
// Measured: `91747`
// Measured: `647 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 128_070_000 picoseconds.
Weight::from_parts(132_683_000, 110487)
// Minimum execution time: 10_838_000 picoseconds.
Weight::from_parts(12_804_076, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -276,10 +272,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry() -> Weight {
// Proof Size summary in bytes:
// Measured: `90717`
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 118_260_000 picoseconds.
Weight::from_parts(119_722_000, 110487)
// Minimum execution time: 8_130_000 picoseconds.
Weight::from_parts(9_047_554, 110487)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -291,10 +287,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry_named() -> Weight {
// Proof Size summary in bytes:
// Measured: `91759`
// Measured: `647 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 129_036_000 picoseconds.
Weight::from_parts(133_975_000, 110487)
// Minimum execution time: 10_838_000 picoseconds.
Weight::from_parts(12_804_076, 110487)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -308,8 +304,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `31`
// Estimated: `1489`
// Minimum execution time: 3_128_000 picoseconds.
Weight::from_parts(3_372_000, 1489)
// Minimum execution time: 3_040_000 picoseconds.
Weight::from_parts(3_202_000, 1489)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -320,10 +316,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 3_560_000 picoseconds.
Weight::from_parts(6_356_795, 110487)
// Standard Error: 493
.saturating_add(Weight::from_parts(315_098, 0).saturating_mul(s.into()))
// Minimum execution time: 3_462_000 picoseconds.
Weight::from_parts(6_262_125, 110487)
// Standard Error: 536
.saturating_add(Weight::from_parts(332_570, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -331,8 +327,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_501_000 picoseconds.
Weight::from_parts(3_722_000, 0)
// Minimum execution time: 3_425_000 picoseconds.
Weight::from_parts(3_680_000, 0)
}
/// Storage: `Preimage::PreimageFor` (r:1 w:1)
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`)
@@ -345,10 +341,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `246 + s * (1 ±0)`
// Estimated: `3711 + s * (1 ±0)`
// Minimum execution time: 17_976_000 picoseconds.
Weight::from_parts(18_137_000, 3711)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into()))
// Minimum execution time: 17_564_000 picoseconds.
Weight::from_parts(17_887_000, 3711)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_253, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into()))
@@ -359,16 +355,16 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_935_000 picoseconds.
Weight::from_parts(5_133_000, 0)
// Minimum execution time: 4_934_000 picoseconds.
Weight::from_parts(5_275_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
fn service_task_periodic() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_467_000 picoseconds.
Weight::from_parts(3_654_000, 0)
// Minimum execution time: 3_348_000 picoseconds.
Weight::from_parts(3_561_000, 0)
}
/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -378,16 +374,16 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `3997`
// Minimum execution time: 6_528_000 picoseconds.
Weight::from_parts(6_820_000, 3997)
// Minimum execution time: 6_395_000 picoseconds.
Weight::from_parts(6_642_000, 3997)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_202_000 picoseconds.
Weight::from_parts(2_360_000, 0)
// Minimum execution time: 2_167_000 picoseconds.
Weight::from_parts(2_266_000, 0)
}
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
@@ -396,17 +392,15 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 10_222_000 picoseconds.
Weight::from_parts(13_654_958, 110487)
// Standard Error: 676
.saturating_add(Weight::from_parts(338_633, 0).saturating_mul(s.into()))
// Minimum execution time: 10_009_000 picoseconds.
Weight::from_parts(13_565_985, 110487)
// Standard Error: 575
.saturating_add(Weight::from_parts(354_760, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Lookup` (r:0 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
@@ -414,12 +408,12 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 15_517_000 picoseconds.
Weight::from_parts(17_464_075, 110487)
// Standard Error: 952
.saturating_add(Weight::from_parts(495_806, 0).saturating_mul(s.into()))
// Minimum execution time: 14_048_000 picoseconds.
Weight::from_parts(15_141_696, 110487)
// Standard Error: 1_082
.saturating_add(Weight::from_parts(533_390, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Scheduler::Lookup` (r:1 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
@@ -430,10 +424,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `596 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 13_091_000 picoseconds.
Weight::from_parts(19_101_313, 110487)
// Standard Error: 662
.saturating_add(Weight::from_parts(342_468, 0).saturating_mul(s.into()))
// Minimum execution time: 12_902_000 picoseconds.
Weight::from_parts(18_957_156, 110487)
// Standard Error: 792
.saturating_add(Weight::from_parts(361_909, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
@@ -441,35 +435,35 @@ impl WeightInfo for () {
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
fn cancel_named(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `709 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 17_579_000 picoseconds.
Weight::from_parts(20_561_921, 110487)
// Standard Error: 792
.saturating_add(Weight::from_parts(500_463, 0).saturating_mul(s.into()))
// Minimum execution time: 15_933_000 picoseconds.
Weight::from_parts(18_091_415, 110487)
// Standard Error: 779
.saturating_add(Weight::from_parts(534_402, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Scheduler::Retries` (r:1 w:2)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Agenda` (r:1 w:1)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Retries` (r:0 w:1)
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
/// Storage: `Scheduler::Lookup` (r:0 w:1)
/// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 512]`.
fn schedule_retry(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `118`
// Measured: `159`
// Estimated: `110487`
// Minimum execution time: 8_996_000 picoseconds.
Weight::from_parts(11_393_234, 110487)
// Standard Error: 190
.saturating_add(Weight::from_parts(6_714, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
// Minimum execution time: 14_155_000 picoseconds.
Weight::from_parts(16_447_031, 110487)
// Standard Error: 233
.saturating_add(Weight::from_parts(8_424, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
/// Storage: `Scheduler::Agenda` (r:1 w:0)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(107022), added: 109497, mode: `MaxEncodedLen`)
@@ -477,10 +471,10 @@ impl WeightInfo for () {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry() -> Weight {
// Proof Size summary in bytes:
// Measured: `90705`
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 121_505_000 picoseconds.
Weight::from_parts(124_306_000, 110487)
// Minimum execution time: 8_130_000 picoseconds.
Weight::from_parts(9_047_554, 110487)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -492,10 +486,10 @@ impl WeightInfo for () {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry_named() -> Weight {
// Proof Size summary in bytes:
// Measured: `91747`
// Measured: `647 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 128_070_000 picoseconds.
Weight::from_parts(132_683_000, 110487)
// Minimum execution time: 10_838_000 picoseconds.
Weight::from_parts(12_804_076, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -505,10 +499,10 @@ impl WeightInfo for () {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry() -> Weight {
// Proof Size summary in bytes:
// Measured: `90717`
// Measured: `81 + s * (177 ±0)`
// Estimated: `110487`
// Minimum execution time: 118_260_000 picoseconds.
Weight::from_parts(119_722_000, 110487)
// Minimum execution time: 8_130_000 picoseconds.
Weight::from_parts(9_047_554, 110487)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -520,10 +514,10 @@ impl WeightInfo for () {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry_named() -> Weight {
// Proof Size summary in bytes:
// Measured: `91759`
// Measured: `647 + s * (178 ±0)`
// Estimated: `110487`
// Minimum execution time: 129_036_000 picoseconds.
Weight::from_parts(133_975_000, 110487)
// Minimum execution time: 10_838_000 picoseconds.
Weight::from_parts(12_804_076, 110487)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}