git.delta.rocks / unique-network / refs/commits / bce2cc1e9ab8

difftreelog

source

pallets/collator-selection/src/weights.rs22.7 KiBsourcehistory
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_collator_selection4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-26, STEPS: `50`, REPEAT: `400`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/production/unique-collator13// benchmark14// pallet15// --pallet16// pallet-collator-selection17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=40024// --heap-pages=409625// --output=./pallets/collator-selection/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_collator_selection.35pub trait WeightInfo {36	fn add_invulnerable(b: u32, ) -> Weight;37	fn remove_invulnerable(b: u32, ) -> Weight;38	fn get_license(c: u32, ) -> Weight;39	fn onboard(c: u32, ) -> Weight;40	fn offboard(c: u32, ) -> Weight;41	fn release_license(c: u32, ) -> Weight;42	fn force_release_license(c: u32, ) -> Weight;43	fn note_author() -> Weight;44	fn new_session(r: u32, c: u32, ) -> Weight;45}4647/// Weights for pallet_collator_selection using the Substrate node and recommended hardware.48pub struct SubstrateWeight<T>(PhantomData<T>);49impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {50	/// Storage: Session NextKeys (r:1 w:0)51	/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)52	/// Storage: CollatorSelection Invulnerables (r:1 w:1)53	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)54	/// Storage: CollatorSelection Candidates (r:1 w:0)55	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)56	/// The range of component `b` is `[1, 7]`.57	fn add_invulnerable(b: u32, ) -> Weight {58		// Proof Size summary in bytes:59		//  Measured:  `403 + b * (45 ±0)`60		//  Estimated: `3873 + b * (45 ±0)`61		// Minimum execution time: 10_975_000 picoseconds.62		Weight::from_parts(11_362_608, 3873)63			// Standard Error: 41164			.saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))65			.saturating_add(T::DbWeight::get().reads(3_u64))66			.saturating_add(T::DbWeight::get().writes(1_u64))67			.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))68	}69	/// Storage: CollatorSelection Invulnerables (r:1 w:1)70	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)71	/// The range of component `b` is `[1, 7]`.72	fn remove_invulnerable(b: u32, ) -> Weight {73		// Proof Size summary in bytes:74		//  Measured:  `96 + b * (32 ±0)`75		//  Estimated: `1806`76		// Minimum execution time: 6_369_000 picoseconds.77		Weight::from_parts(6_604_933, 1806)78			// Standard Error: 42479			.saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))80			.saturating_add(T::DbWeight::get().reads(1_u64))81			.saturating_add(T::DbWeight::get().writes(1_u64))82	}83	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)84	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)85	/// Storage: Session NextKeys (r:1 w:0)86	/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)87	/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)88	/// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)89	/// Storage: Balances Holds (r:1 w:1)90	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)91	/// The range of component `c` is `[1, 9]`.92	fn get_license(c: u32, ) -> Weight {93		// Proof Size summary in bytes:94		//  Measured:  `668 + c * (46 ±0)`95		//  Estimated: `4131 + c * (47 ±0)`96		// Minimum execution time: 23_857_000 picoseconds.97		Weight::from_parts(25_984_655, 4131)98			// Standard Error: 4_36499			.saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))100			.saturating_add(T::DbWeight::get().reads(4_u64))101			.saturating_add(T::DbWeight::get().writes(2_u64))102			.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))103	}104	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)105	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)106	/// Storage: CollatorSelection Candidates (r:1 w:1)107	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)108	/// Storage: CollatorSelection Invulnerables (r:1 w:0)109	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)110	/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)111	/// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)112	/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)113	/// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)114	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)115	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)116	/// The range of component `c` is `[1, 7]`.117	fn onboard(c: u32, ) -> Weight {118		// Proof Size summary in bytes:119		//  Measured:  `414 + c * (54 ±0)`120		//  Estimated: `3529`121		// Minimum execution time: 14_337_000 picoseconds.122		Weight::from_parts(14_827_525, 3529)123			// Standard Error: 1_210124			.saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))125			.saturating_add(T::DbWeight::get().reads(5_u64))126			.saturating_add(T::DbWeight::get().writes(2_u64))127	}128	/// Storage: CollatorSelection Candidates (r:1 w:1)129	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)130	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)131	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)132	/// The range of component `c` is `[1, 8]`.133	fn offboard(c: u32, ) -> Weight {134		// Proof Size summary in bytes:135		//  Measured:  `111 + c * (32 ±0)`136		//  Estimated: `1806`137		// Minimum execution time: 7_320_000 picoseconds.138		Weight::from_parts(7_646_004, 1806)139			// Standard Error: 479140			.saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))141			.saturating_add(T::DbWeight::get().reads(1_u64))142			.saturating_add(T::DbWeight::get().writes(2_u64))143	}144	/// Storage: CollatorSelection Candidates (r:1 w:1)145	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)146	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)147	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)148	/// Storage: Balances Holds (r:1 w:1)149	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)150	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)151	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)152	/// The range of component `c` is `[1, 8]`.153	fn release_license(c: u32, ) -> Weight {154		// Proof Size summary in bytes:155		//  Measured:  `328 + c * (103 ±0)`156		//  Estimated: `3834`157		// Minimum execution time: 22_821_000 picoseconds.158		Weight::from_parts(23_668_202, 3834)159			// Standard Error: 6_654160			.saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))161			.saturating_add(T::DbWeight::get().reads(3_u64))162			.saturating_add(T::DbWeight::get().writes(4_u64))163	}164	/// Storage: CollatorSelection Candidates (r:1 w:1)165	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)166	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)167	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)168	/// Storage: Balances Holds (r:1 w:1)169	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)170	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)171	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)172	/// The range of component `c` is `[1, 8]`.173	fn force_release_license(c: u32, ) -> Weight {174		// Proof Size summary in bytes:175		//  Measured:  `328 + c * (103 ±0)`176		//  Estimated: `3834`177		// Minimum execution time: 22_462_000 picoseconds.178		Weight::from_parts(23_215_875, 3834)179			// Standard Error: 6_450180			.saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))181			.saturating_add(T::DbWeight::get().reads(3_u64))182			.saturating_add(T::DbWeight::get().writes(4_u64))183	}184	/// Storage: System Account (r:2 w:2)185	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)186	/// Storage: System BlockWeight (r:1 w:1)187	/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)188	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)189	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)190	fn note_author() -> Weight {191		// Proof Size summary in bytes:192		//  Measured:  `155`193		//  Estimated: `6196`194		// Minimum execution time: 17_624_000 picoseconds.195		Weight::from_parts(18_025_000, 6196)196			.saturating_add(T::DbWeight::get().reads(3_u64))197			.saturating_add(T::DbWeight::get().writes(4_u64))198	}199	/// Storage: CollatorSelection Candidates (r:1 w:0)200	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)201	/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)202	/// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)203	/// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)204	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)205	/// Storage: CollatorSelection Invulnerables (r:1 w:0)206	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)207	/// Storage: System BlockWeight (r:1 w:1)208	/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)209	/// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)210	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)211	/// Storage: Balances Holds (r:7 w:7)212	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)213	/// Storage: System Account (r:8 w:8)214	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)215	/// The range of component `r` is `[1, 8]`.216	/// The range of component `c` is `[1, 8]`.217	fn new_session(r: u32, c: u32, ) -> Weight {218		// Proof Size summary in bytes:219		//  Measured:  `725 + c * (84 ±0) + r * (254 ±0)`220		//  Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`221		// Minimum execution time: 11_318_000 picoseconds.222		Weight::from_parts(11_615_000, 6196)223			// Standard Error: 69_557224			.saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))225			.saturating_add(T::DbWeight::get().reads(5_u64))226			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))227			.saturating_add(T::DbWeight::get().writes(1_u64))228			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))229			.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))230			.saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))231	}232}233234// For backwards compatibility and tests235impl WeightInfo for () {236	/// Storage: Session NextKeys (r:1 w:0)237	/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)238	/// Storage: CollatorSelection Invulnerables (r:1 w:1)239	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)240	/// Storage: CollatorSelection Candidates (r:1 w:0)241	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)242	/// The range of component `b` is `[1, 7]`.243	fn add_invulnerable(b: u32, ) -> Weight {244		// Proof Size summary in bytes:245		//  Measured:  `403 + b * (45 ±0)`246		//  Estimated: `3873 + b * (45 ±0)`247		// Minimum execution time: 10_975_000 picoseconds.248		Weight::from_parts(11_362_608, 3873)249			// Standard Error: 411250			.saturating_add(Weight::from_parts(152_014, 0).saturating_mul(b.into()))251			.saturating_add(RocksDbWeight::get().reads(3_u64))252			.saturating_add(RocksDbWeight::get().writes(1_u64))253			.saturating_add(Weight::from_parts(0, 45).saturating_mul(b.into()))254	}255	/// Storage: CollatorSelection Invulnerables (r:1 w:1)256	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)257	/// The range of component `b` is `[1, 7]`.258	fn remove_invulnerable(b: u32, ) -> Weight {259		// Proof Size summary in bytes:260		//  Measured:  `96 + b * (32 ±0)`261		//  Estimated: `1806`262		// Minimum execution time: 6_369_000 picoseconds.263		Weight::from_parts(6_604_933, 1806)264			// Standard Error: 424265			.saturating_add(Weight::from_parts(145_929, 0).saturating_mul(b.into()))266			.saturating_add(RocksDbWeight::get().reads(1_u64))267			.saturating_add(RocksDbWeight::get().writes(1_u64))268	}269	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)270	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)271	/// Storage: Session NextKeys (r:1 w:0)272	/// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)273	/// Storage: Configuration CollatorSelectionLicenseBondOverride (r:1 w:0)274	/// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)275	/// Storage: Balances Holds (r:1 w:1)276	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)277	/// The range of component `c` is `[1, 9]`.278	fn get_license(c: u32, ) -> Weight {279		// Proof Size summary in bytes:280		//  Measured:  `668 + c * (46 ±0)`281		//  Estimated: `4131 + c * (47 ±0)`282		// Minimum execution time: 23_857_000 picoseconds.283		Weight::from_parts(25_984_655, 4131)284			// Standard Error: 4_364285			.saturating_add(Weight::from_parts(521_198, 0).saturating_mul(c.into()))286			.saturating_add(RocksDbWeight::get().reads(4_u64))287			.saturating_add(RocksDbWeight::get().writes(2_u64))288			.saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into()))289	}290	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:0)291	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)292	/// Storage: CollatorSelection Candidates (r:1 w:1)293	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)294	/// Storage: CollatorSelection Invulnerables (r:1 w:0)295	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)296	/// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:1 w:0)297	/// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)298	/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)299	/// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)300	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)301	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)302	/// The range of component `c` is `[1, 7]`.303	fn onboard(c: u32, ) -> Weight {304		// Proof Size summary in bytes:305		//  Measured:  `414 + c * (54 ±0)`306		//  Estimated: `3529`307		// Minimum execution time: 14_337_000 picoseconds.308		Weight::from_parts(14_827_525, 3529)309			// Standard Error: 1_210310			.saturating_add(Weight::from_parts(298_748, 0).saturating_mul(c.into()))311			.saturating_add(RocksDbWeight::get().reads(5_u64))312			.saturating_add(RocksDbWeight::get().writes(2_u64))313	}314	/// Storage: CollatorSelection Candidates (r:1 w:1)315	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)316	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)317	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)318	/// The range of component `c` is `[1, 8]`.319	fn offboard(c: u32, ) -> Weight {320		// Proof Size summary in bytes:321		//  Measured:  `111 + c * (32 ±0)`322		//  Estimated: `1806`323		// Minimum execution time: 7_320_000 picoseconds.324		Weight::from_parts(7_646_004, 1806)325			// Standard Error: 479326			.saturating_add(Weight::from_parts(160_089, 0).saturating_mul(c.into()))327			.saturating_add(RocksDbWeight::get().reads(1_u64))328			.saturating_add(RocksDbWeight::get().writes(2_u64))329	}330	/// Storage: CollatorSelection Candidates (r:1 w:1)331	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)332	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)333	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)334	/// Storage: Balances Holds (r:1 w:1)335	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)336	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)337	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)338	/// The range of component `c` is `[1, 8]`.339	fn release_license(c: u32, ) -> Weight {340		// Proof Size summary in bytes:341		//  Measured:  `328 + c * (103 ±0)`342		//  Estimated: `3834`343		// Minimum execution time: 22_821_000 picoseconds.344		Weight::from_parts(23_668_202, 3834)345			// Standard Error: 6_654346			.saturating_add(Weight::from_parts(844_978, 0).saturating_mul(c.into()))347			.saturating_add(RocksDbWeight::get().reads(3_u64))348			.saturating_add(RocksDbWeight::get().writes(4_u64))349	}350	/// Storage: CollatorSelection Candidates (r:1 w:1)351	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)352	/// Storage: CollatorSelection LicenseDepositOf (r:1 w:1)353	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)354	/// Storage: Balances Holds (r:1 w:1)355	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)356	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)357	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)358	/// The range of component `c` is `[1, 8]`.359	fn force_release_license(c: u32, ) -> Weight {360		// Proof Size summary in bytes:361		//  Measured:  `328 + c * (103 ±0)`362		//  Estimated: `3834`363		// Minimum execution time: 22_462_000 picoseconds.364		Weight::from_parts(23_215_875, 3834)365			// Standard Error: 6_450366			.saturating_add(Weight::from_parts(830_887, 0).saturating_mul(c.into()))367			.saturating_add(RocksDbWeight::get().reads(3_u64))368			.saturating_add(RocksDbWeight::get().writes(4_u64))369	}370	/// Storage: System Account (r:2 w:2)371	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)372	/// Storage: System BlockWeight (r:1 w:1)373	/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)374	/// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)375	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)376	fn note_author() -> Weight {377		// Proof Size summary in bytes:378		//  Measured:  `155`379		//  Estimated: `6196`380		// Minimum execution time: 17_624_000 picoseconds.381		Weight::from_parts(18_025_000, 6196)382			.saturating_add(RocksDbWeight::get().reads(3_u64))383			.saturating_add(RocksDbWeight::get().writes(4_u64))384	}385	/// Storage: CollatorSelection Candidates (r:1 w:0)386	/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)387	/// Storage: Configuration CollatorSelectionKickThresholdOverride (r:1 w:0)388	/// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)389	/// Storage: CollatorSelection LastAuthoredBlock (r:8 w:0)390	/// Proof: CollatorSelection LastAuthoredBlock (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)391	/// Storage: CollatorSelection Invulnerables (r:1 w:0)392	/// Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(321), added: 816, mode: MaxEncodedLen)393	/// Storage: System BlockWeight (r:1 w:1)394	/// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)395	/// Storage: CollatorSelection LicenseDepositOf (r:7 w:7)396	/// Proof: CollatorSelection LicenseDepositOf (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)397	/// Storage: Balances Holds (r:7 w:7)398	/// Proof: Balances Holds (max_values: None, max_size: Some(369), added: 2844, mode: MaxEncodedLen)399	/// Storage: System Account (r:8 w:8)400	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)401	/// The range of component `r` is `[1, 8]`.402	/// The range of component `c` is `[1, 8]`.403	fn new_session(r: u32, c: u32, ) -> Weight {404		// Proof Size summary in bytes:405		//  Measured:  `725 + c * (84 ±0) + r * (254 ±0)`406		//  Estimated: `6196 + c * (2519 ±0) + r * (2844 ±0)`407		// Minimum execution time: 11_318_000 picoseconds.408		Weight::from_parts(11_615_000, 6196)409			// Standard Error: 69_557410			.saturating_add(Weight::from_parts(13_016_275, 0).saturating_mul(c.into()))411			.saturating_add(RocksDbWeight::get().reads(5_u64))412			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))413			.saturating_add(RocksDbWeight::get().writes(1_u64))414			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into())))415			.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))416			.saturating_add(Weight::from_parts(0, 2844).saturating_mul(r.into()))417	}418}419