Companion for Weight v1.5 Follow Up (#5949)

* updates

* remove new

* fix up some stuff

* fix cargo files

* fix

* fix template

* update lockfile for {"substrate"}

* Update block_weights.rs

* remove unused

* remove unused

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-09-01 20:00:51 +01:00
committed by GitHub
parent 75d49dfeb4
commit e28bf2e476
128 changed files with 969 additions and 968 deletions
+170 -170
View File
File diff suppressed because it is too large Load Diff
@@ -90,7 +90,7 @@ pub mod crowdloan_index_migration {
/// This migration converts crowdloans to use a crowdloan index rather than the parachain id as a
/// unique identifier. This makes it easier to swap two crowdloans between parachains.
pub fn migrate<T: Config>() -> frame_support::weights::Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
// First migrate `NextTrieIndex` counter to `NextFundIndex`.
+1 -1
View File
@@ -69,7 +69,7 @@ pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(1);
/// by Operational extrinsics.
pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);
/// We allow for 2 seconds of compute with a 6 second average block time.
pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.scalar_saturating_mul(2);
pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_mul(2);
const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct());
@@ -51,7 +51,7 @@ pub mod slots_crowdloan_index_migration {
}
pub fn migrate<T: Config + crowdloan::Config>() -> frame_support::weights::Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
for (para_id, mut leases) in Leases::<T>::iter() {
weight = weight.saturating_add(T::DbWeight::get().reads(2));
@@ -54,7 +54,7 @@ parameter_types! {
/// 99th: 6_332_047
/// 95th: 6_308_225
/// 75th: 6_236_204
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(6_192_341);
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_192_341);
}
#[cfg(test)]
@@ -69,8 +69,8 @@ mod test_weights {
let w = super::BlockExecutionWeight::get();
// At least 100 µs.
assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
// At most 50 ms.
assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
}
}
@@ -53,7 +53,7 @@ parameter_types! {
/// 99th: 87_527
/// 95th: 86_901
/// 75th: 86_308
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(86_309);
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_309);
}
#[cfg(test)]
@@ -68,7 +68,7 @@ mod test_weights {
let w = super::ExtrinsicBaseWeight::get();
// At least 10 µs.
assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
// At most 1 ms.
assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms.");
}
+1 -1
View File
@@ -1141,7 +1141,7 @@ impl parachains_paras::Config for Runtime {
}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl parachains_ump::Config for Runtime {
@@ -68,14 +68,14 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
fn sr25519_verification(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 38_000
.saturating_add(Weight::from_ref_time(47_929_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(47_929_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_101_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_101_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -83,7 +83,7 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
fn storage_write(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
}
@@ -50,9 +50,9 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 87_000
.saturating_add(Weight::from_ref_time(22_196_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(22_196_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 7_520_000
.saturating_add(Weight::from_ref_time(3_555_366_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_555_366_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
@@ -60,8 +60,8 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 74_000
.saturating_add(Weight::from_ref_time(15_098_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(15_098_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 6_402_000
.saturating_add(Weight::from_ref_time(2_580_118_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_580_118_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
}
}
@@ -48,13 +48,13 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn remark(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
@@ -68,7 +68,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn set_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(550_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(550_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -76,7 +76,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(441_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(441_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -84,7 +84,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_prefix(p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
}
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn propose_bounty(d: u32, ) -> Weight {
Weight::from_ref_time(26_654_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -130,7 +130,7 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn spend_funds(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(30_775_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(30_775_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -54,7 +54,7 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
fn add_child_bounty(d: u32, ) -> Weight {
Weight::from_ref_time(48_890_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_448_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_448_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_620_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_620_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -65,9 +65,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(22_536_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Instance1Collective Members (r:1 w:0)
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(27_600_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
}
// Storage: Instance1Collective Members (r:1 w:0)
@@ -88,11 +88,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(42_192_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(361_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(361_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn vote(m: u32, ) -> Weight {
Weight::from_ref_time(32_307_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -112,9 +112,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(41_436_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(333_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(333_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -125,11 +125,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(57_836_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -141,9 +141,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(45_551_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(338_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(338_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -155,11 +155,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(61_497_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(25_573_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_473_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_473_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_551_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_551_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -65,9 +65,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(22_690_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Instance2Collective Members (r:1 w:0)
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(27_473_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(159_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(159_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
}
// Storage: Instance2Collective Members (r:1 w:0)
@@ -88,11 +88,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(42_047_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(360_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(360_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn vote(m: u32, ) -> Weight {
Weight::from_ref_time(32_023_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -112,9 +112,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(41_107_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(332_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(332_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -125,11 +125,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(57_783_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -141,9 +141,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(45_646_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -155,11 +155,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(61_376_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(25_286_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -58,7 +58,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn second(s: u32, ) -> Weight {
Weight::from_ref_time(27_807_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -69,7 +69,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn vote_new(r: u32, ) -> Weight {
Weight::from_ref_time(35_336_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -80,7 +80,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn vote_existing(r: u32, ) -> Weight {
Weight::from_ref_time(35_107_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn blacklist(p: u32, ) -> Weight {
Weight::from_ref_time(52_116_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn external_propose(v: u32, ) -> Weight {
Weight::from_ref_time(10_194_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn veto_external(v: u32, ) -> Weight {
Weight::from_ref_time(18_536_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -150,7 +150,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn cancel_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(42_174_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -165,7 +165,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn cancel_queued(r: u32, ) -> Weight {
Weight::from_ref_time(23_252_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -176,7 +176,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn on_initialize_base(r: u32, ) -> Weight {
Weight::from_ref_time(1_457_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -191,7 +191,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
Weight::from_ref_time(6_240_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -203,7 +203,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn delegate(r: u32, ) -> Weight {
Weight::from_ref_time(34_480_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
@@ -215,7 +215,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn undelegate(r: u32, ) -> Weight {
Weight::from_ref_time(17_446_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -231,7 +231,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn note_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(25_720_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -240,7 +240,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn note_imminent_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(17_884_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -250,7 +250,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn reap_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(24_695_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -261,7 +261,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn unlock_remove(r: u32, ) -> Weight {
Weight::from_ref_time(22_207_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -272,7 +272,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn unlock_set(r: u32, ) -> Weight {
Weight::from_ref_time(21_561_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -282,7 +282,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn remove_vote(r: u32, ) -> Weight {
Weight::from_ref_time(13_204_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -292,7 +292,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn remove_other_vote(r: u32, ) -> Weight {
Weight::from_ref_time(12_994_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -91,9 +91,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
Weight::from_ref_time(37_912_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(549_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(549_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -111,9 +111,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn elect_queued(a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(1_310_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_310_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(246_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(246_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
}
@@ -142,11 +142,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(196_420_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(887_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(887_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 24_000
.saturating_add(Weight::from_ref_time(10_943_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_943_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 36_000
.saturating_add(Weight::from_ref_time(1_604_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_604_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -161,13 +161,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(907_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(907_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(8_768_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_768_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 29_000
.saturating_add(Weight::from_ref_time(912_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(912_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
}
}
@@ -53,7 +53,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_equal(v: u32, ) -> Weight {
Weight::from_ref_time(24_107_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_more(v: u32, ) -> Weight {
Weight::from_ref_time(36_869_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -79,7 +79,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_less(v: u32, ) -> Weight {
Weight::from_ref_time(36_445_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -97,7 +97,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn submit_candidacy(c: u32, ) -> Weight {
Weight::from_ref_time(25_946_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
Weight::from_ref_time(22_945_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -152,7 +152,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 85_000
.saturating_add(Weight::from_ref_time(61_507_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(61_507_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
@@ -172,9 +172,9 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_864_000
.saturating_add(Weight::from_ref_time(167_385_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(167_385_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 124_000
.saturating_add(Weight::from_ref_time(9_721_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_721_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(265 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
fn place_bid(l: u32, ) -> Weight {
Weight::from_ref_time(36_767_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -67,7 +67,7 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
fn retract_bid(l: u32, ) -> Weight {
Weight::from_ref_time(37_108_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(94_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(94_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -97,7 +97,7 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
fn pursue_target_per_item(b: u32, ) -> Weight {
Weight::from_ref_time(21_464_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(4_387_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_387_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
@@ -110,7 +110,7 @@ impl<T: frame_system::Config> pallet_gilt::WeightInfo for WeightInfo<T> {
fn pursue_target_per_queue(q: u32, ) -> Weight {
Weight::from_ref_time(12_881_000 as RefTimeWeight)
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(8_285_000 as RefTimeWeight).scalar_saturating_mul(q as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_285_000 as RefTimeWeight).saturating_mul(q as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(q as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight {
Weight::from_ref_time(16_146_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -59,9 +59,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_identity(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_556_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(208_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(208_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -72,7 +72,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_subs_new(s: u32, ) -> Weight {
Weight::from_ref_time(25_214_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(3_032_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_032_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -85,7 +85,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_subs_old(p: u32, ) -> Weight {
Weight::from_ref_time(26_402_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(916_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(916_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
@@ -99,11 +99,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
Weight::from_ref_time(32_822_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(74_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(74_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(909_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(909_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -115,9 +115,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn request_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(30_696_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(377_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(377_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -127,9 +127,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn cancel_request(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_144_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(144_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(144_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(363_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(363_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -138,7 +138,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_fee(r: u32, ) -> Weight {
Weight::from_ref_time(7_135_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(135_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(135_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -147,7 +147,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_account_id(r: u32, ) -> Weight {
Weight::from_ref_time(6_861_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -156,7 +156,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_fields(r: u32, ) -> Weight {
Weight::from_ref_time(7_143_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -167,9 +167,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn provide_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(21_902_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(378_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(378_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -183,7 +183,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight {
Weight::from_ref_time(48_712_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(903_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(903_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -195,7 +195,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_sub(s: u32, ) -> Weight {
Weight::from_ref_time(33_860_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -205,7 +205,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn rename_sub(s: u32, ) -> Weight {
Weight::from_ref_time(12_063_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -216,7 +216,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn remove_sub(s: u32, ) -> Weight {
Weight::from_ref_time(34_418_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -226,7 +226,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn quit_sub(s: u32, ) -> Weight {
Weight::from_ref_time(24_186_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -54,9 +54,9 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
Weight::from_ref_time(76_307_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn add_member(m: u32, ) -> Weight {
Weight::from_ref_time(17_986_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -65,7 +65,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn remove_member(m: u32, ) -> Weight {
Weight::from_ref_time(20_684_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn swap_member(m: u32, ) -> Weight {
Weight::from_ref_time(20_694_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -91,7 +91,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn reset_member(m: u32, ) -> Weight {
Weight::from_ref_time(19_769_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -104,7 +104,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn change_key(m: u32, ) -> Weight {
Weight::from_ref_time(20_908_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -115,7 +115,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn set_prime(m: u32, ) -> Weight {
Weight::from_ref_time(7_054_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn clear_prime(m: u32, ) -> Weight {
Weight::from_ref_time(3_942_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(15_530_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
@@ -57,9 +57,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(32_158_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -71,9 +71,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(35_654_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(21_105_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -96,9 +96,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(33_427_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -110,9 +110,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(43_547_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -122,7 +122,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(31_185_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -132,7 +132,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(20_549_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -143,7 +143,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(65_686_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -153,7 +153,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(47_339_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -126,7 +126,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
Weight::from_ref_time(40_979_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -142,7 +142,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(79_501_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
Weight::from_ref_time(139_080_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -216,7 +216,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(50_212_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
@@ -235,7 +235,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_metadata(n: u32, ) -> Weight {
Weight::from_ref_time(14_203_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -60,7 +60,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_requested_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -70,7 +70,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_no_deposit_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight {
Weight::from_ref_time(17_720_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,9 +60,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy_announced(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(33_323_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(187_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(187_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -73,9 +73,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(22_697_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(12_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(12_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -86,9 +86,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(22_575_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -100,9 +100,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(30_349_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(25_144_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -120,7 +120,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(24_770_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -129,7 +129,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(20_974_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(28_658_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -148,7 +148,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn kill_anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(22_082_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(1_256_000 as RefTimeWeight)
// Standard Error: 42_000
.saturating_add(Weight::from_ref_time(26_925_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(26_925_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(921_000 as RefTimeWeight)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(21_922_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(21_922_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -79,7 +79,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 62_000
.saturating_add(Weight::from_ref_time(24_926_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(24_926_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -92,7 +92,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(10_674_000 as RefTimeWeight)
// Standard Error: 31_000
.saturating_add(Weight::from_ref_time(20_631_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(20_631_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -105,7 +105,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named_aborted(s: u32, ) -> Weight {
Weight::from_ref_time(2_607_000 as RefTimeWeight)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(10_009_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_009_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -117,7 +117,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_aborted(s: u32, ) -> Weight {
Weight::from_ref_time(3_381_000 as RefTimeWeight)
// Standard Error: 17_000
.saturating_add(Weight::from_ref_time(7_945_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_945_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -128,7 +128,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_named(s: u32, ) -> Weight {
Weight::from_ref_time(6_676_000 as RefTimeWeight)
// Standard Error: 25_000
.saturating_add(Weight::from_ref_time(16_966_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(16_966_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic(s: u32, ) -> Weight {
Weight::from_ref_time(8_899_000 as RefTimeWeight)
// Standard Error: 24_000
.saturating_add(Weight::from_ref_time(14_630_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_630_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -151,7 +151,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named(s: u32, ) -> Weight {
Weight::from_ref_time(8_583_000 as RefTimeWeight)
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(12_228_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(12_228_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -161,7 +161,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize(s: u32, ) -> Weight {
Weight::from_ref_time(8_544_000 as RefTimeWeight)
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(11_364_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(11_364_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -170,7 +170,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight {
Weight::from_ref_time(19_060_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -180,7 +180,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn cancel(s: u32, ) -> Weight {
Weight::from_ref_time(17_694_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(2_368_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_368_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -190,7 +190,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule_named(s: u32, ) -> Weight {
Weight::from_ref_time(22_258_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -200,7 +200,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn cancel_named(s: u32, ) -> Weight {
Weight::from_ref_time(18_882_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(2_379_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_379_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -87,7 +87,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(32_006_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -132,7 +132,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn kick(k: u32, ) -> Weight {
Weight::from_ref_time(11_581_000 as RefTimeWeight)
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(8_835_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_835_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
@@ -152,7 +152,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(52_135_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(3_209_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_209_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
@@ -208,7 +208,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn set_invulnerables(v: u32, ) -> Weight {
Weight::from_ref_time(3_866_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
// Storage: Staking Bonded (r:1 w:1)
@@ -228,7 +228,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn force_unstake(s: u32, ) -> Weight {
Weight::from_ref_time(58_815_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(904_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(904_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -238,7 +238,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn cancel_deferred_slash(s: u32, ) -> Weight {
Weight::from_ref_time(3_402_940_000 as RefTimeWeight)
// Standard Error: 237_000
.saturating_add(Weight::from_ref_time(19_758_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_758_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -256,7 +256,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
Weight::from_ref_time(73_127_000 as RefTimeWeight)
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(26_095_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(26_095_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -277,7 +277,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
Weight::from_ref_time(80_071_000 as RefTimeWeight)
// Standard Error: 25_000
.saturating_add(Weight::from_ref_time(34_679_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(34_679_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -293,7 +293,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn rebond(l: u32, ) -> Weight {
Weight::from_ref_time(69_288_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
}
@@ -310,7 +310,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn set_history_depth(e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 83_000
.saturating_add(Weight::from_ref_time(21_591_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(21_591_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
@@ -332,7 +332,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn reap_stash(s: u32, ) -> Weight {
Weight::from_ref_time(64_446_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(899_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(899_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -361,9 +361,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn new_era(v: u32, n: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_296_000
.saturating_add(Weight::from_ref_time(286_045_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(286_045_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 125_000
.saturating_add(Weight::from_ref_time(37_667_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(37_667_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(192 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
@@ -385,11 +385,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 108_000
.saturating_add(Weight::from_ref_time(24_629_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(24_629_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 108_000
.saturating_add(Weight::from_ref_time(22_598_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(22_598_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 2_778_000
.saturating_add(Weight::from_ref_time(59_951_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(59_951_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(186 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
@@ -402,7 +402,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn get_npos_targets(v: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 40_000
.saturating_add(Weight::from_ref_time(7_752_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_752_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn report_awesome(r: u32, ) -> Weight {
Weight::from_ref_time(28_045_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -69,9 +69,9 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn tip_new(r: u32, t: u32, ) -> Weight {
Weight::from_ref_time(19_125_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -81,7 +81,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn tip(t: u32, ) -> Weight {
Weight::from_ref_time(10_895_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -93,7 +93,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn close_tip(t: u32, ) -> Weight {
Weight::from_ref_time(42_301_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -103,7 +103,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn slash_tip(t: u32, ) -> Weight {
Weight::from_ref_time(16_548_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -67,7 +67,7 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn approve_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(10_082_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -85,7 +85,7 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn on_initialize_proposals(p: u32, ) -> Weight {
Weight::from_ref_time(36_270_000 as RefTimeWeight)
// Standard Error: 32_000
.saturating_add(Weight::from_ref_time(30_142_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(30_142_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight {
Weight::from_ref_time(12_531_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_931_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_931_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_661_000 as RefTimeWeight)
@@ -57,7 +57,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(14_076_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(5_323_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_323_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(13_176_000 as RefTimeWeight)
@@ -66,6 +66,6 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(20_747_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_917_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_917_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
}
@@ -51,9 +51,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_030_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -64,9 +64,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_535_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -78,9 +78,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_237_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -92,9 +92,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_750_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -106,9 +106,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vested_transfer(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(44_092_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -120,9 +120,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(44_003_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -134,9 +134,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_853_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(153_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(153_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -148,9 +148,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_466_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn refund(k: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 17_000
.saturating_add(Weight::from_ref_time(19_652_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_652_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn on_initialize(n: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 43_000
.saturating_add(Weight::from_ref_time(51_696_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(51_696_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -62,9 +62,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(6_882_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(6_882_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(17_866_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(17_866_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
@@ -89,9 +89,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(9_971_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_971_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(9_951_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_951_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_open(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(23_340_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(23_340_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -127,7 +127,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_close(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 23_000
.saturating_add(Weight::from_ref_time(13_159_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(13_159_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -140,7 +140,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
Weight::from_ref_time(26_400_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -150,7 +150,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn clean_open_channel_requests(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(3_786_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_786_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
fn force_approve(d: u32, ) -> Weight {
Weight::from_ref_time(6_367_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -54,7 +54,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -63,7 +63,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
// Storage: Paras FutureCodeHash (r:1 w:1)
@@ -80,7 +80,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
}
@@ -91,7 +91,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_note_new_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -108,7 +108,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn add_trusted_validation_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
fn enter_variable_disputes(v: u32, ) -> Weight {
Weight::from_ref_time(382_740_000 as RefTimeWeight)
// Standard Error: 25_000
.saturating_add(Weight::from_ref_time(48_643_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(48_643_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight))
}
@@ -150,7 +150,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
Weight::from_ref_time(1_067_738_000 as RefTimeWeight)
// Standard Error: 48_000
.saturating_add(Weight::from_ref_time(47_926_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(47_926_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
fn process_upward_message(s: u32, ) -> Weight {
Weight::from_ref_time(5_919_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
}
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
@@ -48,8 +48,8 @@ impl WeighMultiAssets for MultiAssetFilter {
AssetTypes::Balances => balances_weight,
AssetTypes::Unknown => Weight::MAX,
})
.fold(Weight::new(), |acc, x| acc.saturating_add(x)),
Self::Wild(_) => balances_weight.scalar_saturating_mul(MAX_ASSETS as u64),
.fold(Weight::zero(), |acc, x| acc.saturating_add(x)),
Self::Wild(_) => balances_weight.saturating_mul(MAX_ASSETS as u64),
};
weight.ref_time()
@@ -66,7 +66,7 @@ impl WeighMultiAssets for MultiAssets {
AssetTypes::Balances => balances_weight,
AssetTypes::Unknown => Weight::MAX,
})
.fold(Weight::new(), |acc, x| acc.saturating_add(x));
.fold(Weight::zero(), |acc, x| acc.saturating_add(x));
weight.ref_time()
}
@@ -285,7 +285,7 @@ impl<BlockNumber: Default + From<u32>> Default for HostConfiguration<BlockNumber
hrmp_max_parachain_outbound_channels: Default::default(),
hrmp_max_parathread_outbound_channels: Default::default(),
hrmp_max_message_num_per_candidate: Default::default(),
ump_max_individual_weight: 20 * WEIGHT_PER_MILLIS,
ump_max_individual_weight: 20u64 * WEIGHT_PER_MILLIS,
pvf_checking_enabled: false,
pvf_voting_ttl: 2u32.into(),
minimum_validation_upgrade_delay: 2.into(),
+1 -1
View File
@@ -797,7 +797,7 @@ impl<T: Config> Pallet<T> {
pub(crate) fn initializer_initialize(now: T::BlockNumber) -> Weight {
let config = <configuration::Pallet<T>>::config();
let mut weight = Weight::new();
let mut weight = Weight::zero();
for (session_index, candidate_hash, mut dispute) in <Disputes<T>>::iter() {
weight += T::DbWeight::get().reads_writes(1, 0);
+2 -2
View File
@@ -953,7 +953,7 @@ impl<T: Config> Pallet<T> {
}
pub(crate) fn prune_hrmp(recipient: ParaId, new_hrmp_watermark: T::BlockNumber) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
// sift through the incoming messages digest to collect the paras that sent at least one
// message to this parachain between the old and new watermarks.
@@ -1020,7 +1020,7 @@ impl<T: Config> Pallet<T> {
sender: ParaId,
out_hrmp_msgs: Vec<OutboundHrmpMessage<ParaId>>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
let now = <frame_system::Pallet<T>>::block_number();
for out_msg in out_hrmp_msgs {
+1 -1
View File
@@ -222,7 +222,7 @@ impl crate::paras::Config for Test {
impl crate::dmp::Config for Test {}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl crate::ump::Config for Test {
+5 -5
View File
@@ -449,7 +449,7 @@ impl WeightInfo for TestWeightInfo {
}
fn include_pvf_check_statement() -> Weight {
// This special value is to distinguish from the finalizing variants above in tests.
Weight::MAX - Weight::one()
Weight::MAX - Weight::from_ref_time(1)
}
}
@@ -1372,7 +1372,7 @@ impl<T: Config> Pallet<T> {
sessions_observed: SessionIndex,
cfg: &configuration::HostConfiguration<T::BlockNumber>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
for cause in causes {
weight += T::DbWeight::get().reads_writes(3, 2);
Self::deposit_event(Event::PvfCheckAccepted(*code_hash, cause.para_id()));
@@ -1417,7 +1417,7 @@ impl<T: Config> Pallet<T> {
relay_parent_number: T::BlockNumber,
cfg: &configuration::HostConfiguration<T::BlockNumber>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
// Compute the relay-chain block number starting at which the code upgrade is ready to be
// applied.
@@ -1457,7 +1457,7 @@ impl<T: Config> Pallet<T> {
code_hash: &ValidationCodeHash,
causes: Vec<PvfCheckCause<T::BlockNumber>>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
for cause in causes {
// Whenever PVF pre-checking is started or a new cause is added to it, the RC is bumped.
@@ -1746,7 +1746,7 @@ impl<T: Config> Pallet<T> {
code: ValidationCode,
cfg: &configuration::HostConfiguration<T::BlockNumber>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
weight += T::DbWeight::get().reads_writes(3, 2);
Self::deposit_event(Event::PvfCheckStarted(code_hash, cause.para_id()));
@@ -99,12 +99,12 @@ pub fn multi_dispute_statement_sets_weight<
.as_ref()
.iter()
.map(|d| dispute_statement_set_weight::<T, &S>(d))
.fold(Weight::new(), |acc_weight, weight| acc_weight.saturating_add(weight))
.fold(Weight::zero(), |acc_weight, weight| acc_weight.saturating_add(weight))
}
pub fn signed_bitfields_weight<T: Config>(bitfields_len: usize) -> Weight {
<<T as Config>::WeightInfo as WeightInfo>::enter_bitfields()
.saturating_mul(Weight::from_ref_time(bitfields_len as u64))
.saturating_mul(bitfields_len as u64)
}
pub fn backed_candidate_weight<T: frame_system::Config + Config>(
@@ -125,5 +125,5 @@ pub fn backed_candidates_weight<T: frame_system::Config + Config>(
candidates
.iter()
.map(|c| backed_candidate_weight::<T>(c))
.fold(Weight::new(), |acc, x| acc.saturating_add(x))
.fold(Weight::zero(), |acc, x| acc.saturating_add(x))
}
+4 -4
View File
@@ -229,7 +229,7 @@ pub mod pallet {
/// stalls the queue in doing so. More than 100 will provide additional weight for the first message only.
///
/// Generally you'll want this to be a bit more - 150 or 200 would be good values.
type FirstMessageFactorPercent: Get<Weight>;
type FirstMessageFactorPercent: Get<u64>;
/// Origin which is allowed to execute overweight messages.
type ExecuteOverweightOrigin: EnsureOrigin<Self::Origin>;
@@ -387,7 +387,7 @@ impl<T: Config> Pallet<T> {
/// Iterate over all paras that were noted for offboarding and remove all the data
/// associated with them.
fn perform_outgoing_para_cleanup(outgoing: &[ParaId]) -> Weight {
let mut weight: Weight = Weight::new();
let mut weight: Weight = Weight::zero();
for outgoing_para in outgoing {
weight = weight.saturating_add(Self::clean_ump_after_outgoing(outgoing_para));
}
@@ -469,7 +469,7 @@ impl<T: Config> Pallet<T> {
para: ParaId,
upward_messages: Vec<UpwardMessage>,
) -> Weight {
let mut weight = Weight::new();
let mut weight = Weight::zero();
if !upward_messages.is_empty() {
let (extra_count, extra_size) = upward_messages
@@ -505,7 +505,7 @@ impl<T: Config> Pallet<T> {
/// Devote some time into dispatching pending upward messages.
pub(crate) fn process_pending_upward_messages() -> Weight {
let mut weight_used = Weight::new();
let mut weight_used = Weight::zero();
let config = <configuration::Pallet<T>>::config();
let mut cursor = NeedsDispatchCursor::new::<T>();
@@ -54,7 +54,7 @@ parameter_types! {
/// 99th: 6_131_246
/// 95th: 5_988_921
/// 75th: 5_885_724
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(5_849_907);
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_849_907);
}
#[cfg(test)]
@@ -69,8 +69,8 @@ mod test_weights {
let w = super::BlockExecutionWeight::get();
// At least 100 µs.
assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
// At most 50 ms.
assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
}
}
@@ -53,7 +53,7 @@ parameter_types! {
/// 99th: 86_269
/// 95th: 85_510
/// 75th: 85_216
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(85_212);
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(85_212);
}
#[cfg(test)]
@@ -68,7 +68,7 @@ mod test_weights {
let w = super::ExtrinsicBaseWeight::get();
// At least 10 µs.
assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
// At most 1 ms.
assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms.");
}
+1 -1
View File
@@ -1272,7 +1272,7 @@ impl parachains_paras::Config for Runtime {
}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl parachains_ump::Config for Runtime {
@@ -64,20 +64,20 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
fn hashing(i: u32, ) -> Weight {
Weight::from_ref_time(19_362_503_000 as RefTimeWeight)
// Standard Error: 194_000
.saturating_add(Weight::from_ref_time(389_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(389_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
}
/// The range of component `i` is `[1, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 39_000
.saturating_add(Weight::from_ref_time(47_745_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(47_745_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_129_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_129_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -85,7 +85,7 @@ impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for Weigh
fn storage_write(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
}
@@ -50,9 +50,9 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 94_000
.saturating_add(Weight::from_ref_time(22_018_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(22_018_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 8_192_000
.saturating_add(Weight::from_ref_time(3_552_773_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_552_773_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
@@ -60,8 +60,8 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 74_000
.saturating_add(Weight::from_ref_time(14_903_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_903_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 6_457_000
.saturating_add(Weight::from_ref_time(2_556_711_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_556_711_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
}
}
@@ -48,13 +48,13 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn remark(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
@@ -68,7 +68,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn set_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(546_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(546_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -76,7 +76,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -84,7 +84,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_prefix(p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(961_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(961_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
}
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn propose_bounty(d: u32, ) -> Weight {
Weight::from_ref_time(26_205_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -130,7 +130,7 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
fn spend_funds(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 28_000
.saturating_add(Weight::from_ref_time(29_706_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(29_706_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -54,7 +54,7 @@ impl<T: frame_system::Config> pallet_child_bounties::WeightInfo for WeightInfo<T
fn add_child_bounty(d: u32, ) -> Weight {
Weight::from_ref_time(47_819_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_248_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_248_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(320_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(320_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_166_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_166_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -65,9 +65,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(21_101_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Instance1Collective Members (r:1 w:0)
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(25_378_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
}
// Storage: Instance1Collective Members (r:1 w:0)
@@ -88,11 +88,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(40_063_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(373_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(373_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn vote(m: u32, ) -> Weight {
Weight::from_ref_time(31_307_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(196_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(196_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -112,9 +112,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(39_515_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -125,11 +125,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(54_757_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -141,9 +141,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(43_851_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -155,11 +155,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(57_946_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(24_228_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -51,11 +51,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(14_085_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_085_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(40_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(40_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(19_086_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_086_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -65,9 +65,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(21_082_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Instance2Collective Members (r:1 w:0)
@@ -75,9 +75,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(25_580_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
}
// Storage: Instance2Collective Members (r:1 w:0)
@@ -88,11 +88,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(40_015_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn vote(m: u32, ) -> Weight {
Weight::from_ref_time(31_124_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -112,9 +112,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(39_289_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -125,11 +125,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(54_722_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -141,9 +141,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(43_840_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -155,11 +155,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(58_145_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(341_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(341_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(24_137_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -58,7 +58,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn second(s: u32, ) -> Weight {
Weight::from_ref_time(27_380_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -69,7 +69,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn vote_new(r: u32, ) -> Weight {
Weight::from_ref_time(35_299_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -80,7 +80,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn vote_existing(r: u32, ) -> Weight {
Weight::from_ref_time(35_585_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -101,7 +101,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn blacklist(p: u32, ) -> Weight {
Weight::from_ref_time(51_416_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn external_propose(v: u32, ) -> Weight {
Weight::from_ref_time(9_901_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn veto_external(v: u32, ) -> Weight {
Weight::from_ref_time(18_457_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -150,7 +150,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn cancel_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(42_442_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -165,7 +165,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn cancel_queued(r: u32, ) -> Weight {
Weight::from_ref_time(22_952_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(1_756_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_756_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -176,7 +176,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn on_initialize_base(r: u32, ) -> Weight {
Weight::from_ref_time(1_874_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_927_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_927_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -191,7 +191,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
Weight::from_ref_time(4_956_000 as RefTimeWeight)
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(3_013_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_013_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -203,7 +203,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn delegate(r: u32, ) -> Weight {
Weight::from_ref_time(35_923_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(3_904_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_904_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
@@ -215,7 +215,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn undelegate(r: u32, ) -> Weight {
Weight::from_ref_time(20_735_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(3_853_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_853_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -231,7 +231,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn note_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(25_748_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -240,7 +240,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn note_imminent_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(17_855_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -250,7 +250,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn reap_preimage(b: u32, ) -> Weight {
Weight::from_ref_time(24_856_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -261,7 +261,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn unlock_remove(r: u32, ) -> Weight {
Weight::from_ref_time(22_749_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -272,7 +272,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn unlock_set(r: u32, ) -> Weight {
Weight::from_ref_time(21_921_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -282,7 +282,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn remove_vote(r: u32, ) -> Weight {
Weight::from_ref_time(13_586_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -292,7 +292,7 @@ impl<T: frame_system::Config> pallet_democracy::WeightInfo for WeightInfo<T> {
fn remove_other_vote(r: u32, ) -> Weight {
Weight::from_ref_time(13_599_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -91,9 +91,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(406_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(406_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
// Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1)
@@ -111,9 +111,9 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn elect_queued(a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(113_324_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight))
}
@@ -142,13 +142,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(850_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(850_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
// Standard Error: 19_000
.saturating_add(Weight::from_ref_time(7_957_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_957_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 28_000
.saturating_add(Weight::from_ref_time(1_659_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_659_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -163,13 +163,13 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(856_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(856_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 9_000
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(5_762_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_762_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 24_000
.saturating_add(Weight::from_ref_time(1_360_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_360_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
}
}
@@ -53,7 +53,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_equal(v: u32, ) -> Weight {
Weight::from_ref_time(24_201_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_more(v: u32, ) -> Weight {
Weight::from_ref_time(36_619_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -79,7 +79,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn vote_less(v: u32, ) -> Weight {
Weight::from_ref_time(36_953_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -97,7 +97,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn submit_candidacy(c: u32, ) -> Weight {
Weight::from_ref_time(26_285_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn renounce_candidacy_candidate(c: u32, ) -> Weight {
Weight::from_ref_time(23_041_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -152,7 +152,7 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 74_000
.saturating_add(Weight::from_ref_time(61_573_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(61_573_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
@@ -172,9 +172,9 @@ impl<T: frame_system::Config> pallet_elections_phragmen::WeightInfo for WeightIn
fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_489_000
.saturating_add(Weight::from_ref_time(138_137_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(138_137_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 99_000
.saturating_add(Weight::from_ref_time(7_943_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_943_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(269 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight {
Weight::from_ref_time(15_723_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -59,9 +59,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_identity(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_673_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -72,7 +72,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_subs_new(s: u32, ) -> Weight {
Weight::from_ref_time(25_786_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_924_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_924_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -85,7 +85,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_subs_old(p: u32, ) -> Weight {
Weight::from_ref_time(25_940_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(917_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(917_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
@@ -99,11 +99,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight {
Weight::from_ref_time(30_589_000 as RefTimeWeight)
// Standard Error: 9_000
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(929_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(929_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -115,9 +115,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn request_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(30_524_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -127,9 +127,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn cancel_request(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(28_075_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -138,7 +138,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_fee(r: u32, ) -> Weight {
Weight::from_ref_time(6_835_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -147,7 +147,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_account_id(r: u32, ) -> Weight {
Weight::from_ref_time(6_829_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -156,7 +156,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn set_fields(r: u32, ) -> Weight {
Weight::from_ref_time(7_029_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -167,9 +167,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn provide_judgement(r: u32, x: u32, ) -> Weight {
Weight::from_ref_time(21_589_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight))
.saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -183,9 +183,9 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight {
Weight::from_ref_time(46_356_000 as RefTimeWeight)
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(932_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(932_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -197,7 +197,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_sub(s: u32, ) -> Weight {
Weight::from_ref_time(33_155_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -207,7 +207,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn rename_sub(s: u32, ) -> Weight {
Weight::from_ref_time(12_099_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(28_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(28_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -218,7 +218,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn remove_sub(s: u32, ) -> Weight {
Weight::from_ref_time(34_432_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -228,7 +228,7 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn quit_sub(s: u32, ) -> Weight {
Weight::from_ref_time(23_989_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -54,9 +54,9 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
Weight::from_ref_time(75_125_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(309_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(309_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn add_member(m: u32, ) -> Weight {
Weight::from_ref_time(18_204_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -65,7 +65,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn remove_member(m: u32, ) -> Weight {
Weight::from_ref_time(20_617_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn swap_member(m: u32, ) -> Weight {
Weight::from_ref_time(20_686_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -91,7 +91,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn reset_member(m: u32, ) -> Weight {
Weight::from_ref_time(20_032_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -104,7 +104,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn change_key(m: u32, ) -> Weight {
Weight::from_ref_time(21_386_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -115,7 +115,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn set_prime(m: u32, ) -> Weight {
Weight::from_ref_time(7_077_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn clear_prime(m: u32, ) -> Weight {
Weight::from_ref_time(3_931_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(13_989_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
@@ -57,9 +57,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(30_373_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -71,9 +71,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(32_912_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(19_525_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -96,9 +96,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(31_081_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -110,9 +110,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(44_011_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -122,7 +122,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(29_889_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -132,7 +132,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(19_135_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -143,7 +143,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(61_253_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(139_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(139_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -153,7 +153,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(44_745_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -126,7 +126,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
Weight::from_ref_time(41_173_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -142,7 +142,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(80_122_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(39_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(39_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
Weight::from_ref_time(137_635_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -216,7 +216,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(49_620_000 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(2_222_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_222_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -60,7 +60,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_requested_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -70,7 +70,7 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
fn note_no_deposit_preimage(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight {
Weight::from_ref_time(17_881_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,9 +60,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy_announced(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(33_622_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(43_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(43_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -73,9 +73,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(22_694_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(8_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -86,9 +86,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(23_041_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -100,9 +100,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(30_007_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -111,7 +111,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(25_173_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -120,7 +120,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(25_002_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -129,7 +129,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(21_348_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(28_480_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -148,7 +148,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn kill_anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(22_099_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(3_445_000 as RefTimeWeight)
// Standard Error: 39_000
.saturating_add(Weight::from_ref_time(25_402_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(25_402_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(3_668_000 as RefTimeWeight)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(20_334_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(20_334_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -79,7 +79,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(125_000 as RefTimeWeight)
// Standard Error: 37_000
.saturating_add(Weight::from_ref_time(23_169_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(23_169_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -92,7 +92,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_resolved(s: u32, ) -> Weight {
Weight::from_ref_time(7_788_000 as RefTimeWeight)
// Standard Error: 53_000
.saturating_add(Weight::from_ref_time(19_336_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_336_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -105,7 +105,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named_aborted(s: u32, ) -> Weight {
Weight::from_ref_time(4_356_000 as RefTimeWeight)
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(8_792_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_792_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -117,7 +117,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_aborted(s: u32, ) -> Weight {
Weight::from_ref_time(5_559_000 as RefTimeWeight)
// Standard Error: 12_000
.saturating_add(Weight::from_ref_time(6_664_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(6_664_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -128,7 +128,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic_named(s: u32, ) -> Weight {
Weight::from_ref_time(10_201_000 as RefTimeWeight)
// Standard Error: 24_000
.saturating_add(Weight::from_ref_time(15_168_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(15_168_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_periodic(s: u32, ) -> Weight {
Weight::from_ref_time(10_698_000 as RefTimeWeight)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(12_938_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(12_938_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -151,7 +151,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize_named(s: u32, ) -> Weight {
Weight::from_ref_time(11_043_000 as RefTimeWeight)
// Standard Error: 18_000
.saturating_add(Weight::from_ref_time(10_555_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_555_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -161,7 +161,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn on_initialize(s: u32, ) -> Weight {
Weight::from_ref_time(11_488_000 as RefTimeWeight)
// Standard Error: 18_000
.saturating_add(Weight::from_ref_time(9_623_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_623_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -170,7 +170,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule(s: u32, ) -> Weight {
Weight::from_ref_time(19_103_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(48_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(48_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -180,7 +180,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn cancel(s: u32, ) -> Weight {
Weight::from_ref_time(18_526_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(1_845_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_845_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -190,7 +190,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn schedule_named(s: u32, ) -> Weight {
Weight::from_ref_time(22_422_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -200,7 +200,7 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
fn cancel_named(s: u32, ) -> Weight {
Weight::from_ref_time(20_181_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(1_852_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_852_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -87,7 +87,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(31_282_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -132,7 +132,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn kick(k: u32, ) -> Weight {
Weight::from_ref_time(11_488_000 as RefTimeWeight)
// Standard Error: 12_000
.saturating_add(Weight::from_ref_time(8_257_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(8_257_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
@@ -152,7 +152,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(52_331_000 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(3_297_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_297_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
@@ -208,7 +208,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn set_invulnerables(v: u32, ) -> Weight {
Weight::from_ref_time(3_706_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
// Storage: Staking Bonded (r:1 w:1)
@@ -228,7 +228,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn force_unstake(s: u32, ) -> Weight {
Weight::from_ref_time(58_154_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -238,7 +238,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn cancel_deferred_slash(s: u32, ) -> Weight {
Weight::from_ref_time(2_565_318_000 as RefTimeWeight)
// Standard Error: 176_000
.saturating_add(Weight::from_ref_time(14_870_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(14_870_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -256,7 +256,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
Weight::from_ref_time(79_314_000 as RefTimeWeight)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(25_615_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(25_615_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -277,7 +277,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
Weight::from_ref_time(100_678_000 as RefTimeWeight)
// Standard Error: 26_000
.saturating_add(Weight::from_ref_time(34_451_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(34_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -293,7 +293,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn rebond(l: u32, ) -> Weight {
Weight::from_ref_time(68_008_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
}
@@ -310,7 +310,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn set_history_depth(e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 84_000
.saturating_add(Weight::from_ref_time(21_963_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(21_963_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
@@ -332,7 +332,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn reap_stash(s: u32, ) -> Weight {
Weight::from_ref_time(66_394_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(874_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(874_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
@@ -361,9 +361,9 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn new_era(v: u32, n: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_253_000
.saturating_add(Weight::from_ref_time(288_357_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(288_357_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 120_000
.saturating_add(Weight::from_ref_time(38_464_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(38_464_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(187 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
@@ -385,11 +385,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 117_000
.saturating_add(Weight::from_ref_time(25_453_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(25_453_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
// Standard Error: 117_000
.saturating_add(Weight::from_ref_time(22_630_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(22_630_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 2_987_000
.saturating_add(Weight::from_ref_time(45_604_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(45_604_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(181 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
@@ -402,7 +402,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn get_npos_targets(v: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 37_000
.saturating_add(Weight::from_ref_time(7_545_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_545_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn report_awesome(r: u32, ) -> Weight {
Weight::from_ref_time(27_718_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -69,9 +69,9 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn tip_new(r: u32, t: u32, ) -> Weight {
Weight::from_ref_time(18_664_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -81,7 +81,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn tip(t: u32, ) -> Weight {
Weight::from_ref_time(10_863_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -93,7 +93,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn close_tip(t: u32, ) -> Weight {
Weight::from_ref_time(41_570_000 as RefTimeWeight)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -103,7 +103,7 @@ impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn slash_tip(t: u32, ) -> Weight {
Weight::from_ref_time(16_365_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -67,7 +67,7 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn approve_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(9_927_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -85,7 +85,7 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn on_initialize_proposals(p: u32, ) -> Weight {
Weight::from_ref_time(17_797_000 as RefTimeWeight)
// Standard Error: 28_000
.saturating_add(Weight::from_ref_time(29_621_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(29_621_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight {
Weight::from_ref_time(14_546_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_678_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_678_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_507_000 as RefTimeWeight)
@@ -57,7 +57,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(12_316_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(4_969_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_969_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(12_904_000 as RefTimeWeight)
@@ -66,6 +66,6 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(15_799_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_646_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_646_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
}
@@ -51,9 +51,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(28_194_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -64,9 +64,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(28_109_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -78,9 +78,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(28_316_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -92,9 +92,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(28_998_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -106,9 +106,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vested_transfer(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(42_983_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -120,9 +120,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(42_800_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(57_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(57_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(148_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(148_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -134,9 +134,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_188_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -148,9 +148,9 @@ impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
Weight::from_ref_time(29_144_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight))
.saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(149_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(149_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn refund(k: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 17_000
.saturating_add(Weight::from_ref_time(19_562_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_562_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn on_initialize(n: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 41_000
.saturating_add(Weight::from_ref_time(49_451_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(49_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -62,9 +62,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 28_000
.saturating_add(Weight::from_ref_time(6_721_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(6_721_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
// Standard Error: 28_000
.saturating_add(Weight::from_ref_time(17_731_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(17_731_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
@@ -90,9 +90,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 17_000
.saturating_add(Weight::from_ref_time(15_959_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(15_959_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
// Standard Error: 17_000
.saturating_add(Weight::from_ref_time(16_048_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(16_048_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
@@ -112,7 +112,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_open(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 26_000
.saturating_add(Weight::from_ref_time(35_598_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(35_598_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -127,7 +127,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_close(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 15_000
.saturating_add(Weight::from_ref_time(20_510_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(20_510_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -139,7 +139,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
Weight::from_ref_time(32_749_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -148,7 +148,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn clean_open_channel_requests(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 6_000
.saturating_add(Weight::from_ref_time(5_781_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_781_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
fn force_approve(d: u32, ) -> Weight {
Weight::from_ref_time(6_191_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -54,7 +54,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -63,7 +63,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -81,7 +81,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
}
@@ -92,7 +92,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_note_new_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -109,7 +109,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn add_trusted_validation_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -79,7 +79,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
fn enter_variable_disputes(v: u32, ) -> Weight {
Weight::from_ref_time(364_277_000 as RefTimeWeight)
// Standard Error: 23_000
.saturating_add(Weight::from_ref_time(48_774_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(48_774_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight))
}
@@ -153,7 +153,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
fn enter_backed_candidates_variable(v: u32, ) -> Weight {
Weight::from_ref_time(984_915_000 as RefTimeWeight)
// Standard Error: 47_000
.saturating_add(Weight::from_ref_time(48_309_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(48_309_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -54,7 +54,7 @@ parameter_types! {
/// 99th: 4_189_094
/// 95th: 4_152_261
/// 75th: 4_098_529
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(4_084_738);
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_084_738);
}
#[cfg(test)]
@@ -69,8 +69,8 @@ mod test_weights {
let w = super::BlockExecutionWeight::get();
// At least 100 µs.
assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
// At most 50 ms.
assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
}
}
@@ -53,7 +53,7 @@ parameter_types! {
/// 99th: 79_591
/// 95th: 78_730
/// 75th: 78_272
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(78_269);
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(78_269);
}
#[cfg(test)]
@@ -68,7 +68,7 @@ mod test_weights {
let w = super::ExtrinsicBaseWeight::get();
// At least 10 µs.
assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
// At most 1 ms.
assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms.");
}
+1 -1
View File
@@ -592,7 +592,7 @@ impl parachains_session_info::Config for Runtime {
}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl parachains_ump::Config for Runtime {
@@ -48,13 +48,13 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn remark(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
@@ -68,7 +68,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn set_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(548_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(548_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -76,7 +76,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_storage(i: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
}
// Storage: Skipped Metadata (r:0 w:0)
@@ -84,7 +84,7 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn kill_prefix(p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
}
}
@@ -54,11 +54,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(9_184_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_184_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
// Standard Error: 11_000
.saturating_add(Weight::from_ref_time(11_927_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(11_927_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -70,9 +70,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(16_514_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Collective Members (r:1 w:0)
@@ -82,9 +82,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_execute(b: u32, m: u32, ) -> Weight {
Weight::from_ref_time(19_149_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
}
// Storage: Collective Members (r:1 w:0)
@@ -98,11 +98,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(25_040_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -112,7 +112,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn vote(m: u32, ) -> Weight {
Weight::from_ref_time(23_127_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(53_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(53_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -125,9 +125,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(27_759_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -141,11 +141,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(37_384_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -159,9 +159,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_disapproved(m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(29_142_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -176,11 +176,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
Weight::from_ref_time(40_384_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -191,7 +191,7 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
fn disapprove_proposal(p: u32, ) -> Weight {
Weight::from_ref_time(17_661_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -55,9 +55,9 @@ impl<T: frame_system::Config> pallet_im_online::WeightInfo for WeightInfo<T> {
fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight {
Weight::from_ref_time(74_601_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(337_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(337_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -52,7 +52,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn add_member(m: u32, ) -> Weight {
Weight::from_ref_time(16_814_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -65,7 +65,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn remove_member(m: u32, ) -> Weight {
Weight::from_ref_time(19_124_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn swap_member(m: u32, ) -> Weight {
Weight::from_ref_time(19_143_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -91,7 +91,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn reset_member(m: u32, ) -> Weight {
Weight::from_ref_time(18_621_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -104,7 +104,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn change_key(m: u32, ) -> Weight {
Weight::from_ref_time(19_913_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
}
@@ -115,7 +115,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn set_prime(m: u32, ) -> Weight {
Weight::from_ref_time(6_445_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> {
fn clear_prime(m: u32, ) -> Weight {
Weight::from_ref_time(3_524_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_threshold_1(z: u32, ) -> Weight {
Weight::from_ref_time(14_606_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
@@ -57,9 +57,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(29_880_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -71,9 +71,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(31_636_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -83,9 +83,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(19_551_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -96,9 +96,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(31_196_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -110,9 +110,9 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
Weight::from_ref_time(39_982_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -122,7 +122,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_create(s: u32, ) -> Weight {
Weight::from_ref_time(28_767_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -132,7 +132,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_approve(s: u32, ) -> Weight {
Weight::from_ref_time(18_649_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -143,7 +143,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn approve_as_multi_complete(s: u32, ) -> Weight {
Weight::from_ref_time(63_055_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -153,7 +153,7 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
fn cancel_as_multi(s: u32, ) -> Weight {
Weight::from_ref_time(44_870_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy(p: u32, ) -> Weight {
Weight::from_ref_time(17_762_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
}
// Storage: Proxy Proxies (r:1 w:0)
@@ -60,9 +60,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn proxy_announced(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(33_577_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -73,7 +73,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_announcement(a: u32, _p: u32, ) -> Weight {
Weight::from_ref_time(22_715_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -84,9 +84,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn reject_announcement(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(22_349_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(5_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -98,9 +98,9 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn announce(a: u32, p: u32, ) -> Weight {
Weight::from_ref_time(29_863_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(182_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight))
.saturating_add(Weight::from_ref_time(182_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -109,7 +109,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn add_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(24_976_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -118,7 +118,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxy(p: u32, ) -> Weight {
Weight::from_ref_time(24_934_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -127,7 +127,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn remove_proxies(p: u32, ) -> Weight {
Weight::from_ref_time(20_930_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -137,7 +137,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(28_030_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -146,7 +146,7 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
fn kill_anonymous(p: u32, ) -> Weight {
Weight::from_ref_time(21_753_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight))
.saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight {
Weight::from_ref_time(12_533_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(5_050_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_050_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_794_000 as RefTimeWeight)
@@ -57,7 +57,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(12_581_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(5_336_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_336_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(12_912_000 as RefTimeWeight)
@@ -66,6 +66,6 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(7_075_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(5_067_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(5_067_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
}
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn refund(k: u32, ) -> Weight {
Weight::from_ref_time(2_505_000 as RefTimeWeight)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
.saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
fn on_initialize(n: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 25_000
.saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
@@ -62,9 +62,9 @@ impl<T: frame_system::Config> runtime_common::slots::WeightInfo for WeightInfo<T
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(6_753_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(6_753_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
// Standard Error: 22_000
.saturating_add(Weight::from_ref_time(17_808_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight))
.saturating_add(Weight::from_ref_time(17_808_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight)))
@@ -92,9 +92,9 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_clean_hrmp(i: u32, e: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(9_760_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_760_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(9_813_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight))
.saturating_add(Weight::from_ref_time(9_813_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight)))
@@ -115,7 +115,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_open(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 27_000
.saturating_add(Weight::from_ref_time(22_813_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(22_813_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -131,7 +131,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn force_process_hrmp_close(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(12_842_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(12_842_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -144,7 +144,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn hrmp_cancel_open_request(c: u32, ) -> Weight {
Weight::from_ref_time(26_161_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(50_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(50_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
}
@@ -154,7 +154,7 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
fn clean_open_channel_requests(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(3_723_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_723_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
@@ -49,7 +49,7 @@ impl<T: frame_system::Config> runtime_parachains::initializer::WeightInfo for We
fn force_approve(d: u32, ) -> Weight {
Weight::from_ref_time(8_670_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -54,7 +54,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
}
@@ -63,7 +63,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_set_current_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
// Storage: Configuration ActiveConfig (r:1 w:0)
@@ -81,7 +81,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_schedule_code_upgrade(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight))
}
@@ -92,7 +92,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn force_note_new_head(s: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -109,7 +109,7 @@ impl<T: frame_system::Config> runtime_parachains::paras::WeightInfo for WeightIn
fn add_trusted_validation_code(c: u32, ) -> Weight {
Weight::from_ref_time(0 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
}
@@ -72,7 +72,7 @@ impl<T: frame_system::Config> runtime_parachains::paras_inherent::WeightInfo for
fn enter_variable_disputes(v: u32, ) -> Weight {
Weight::from_ref_time(352_590_000 as RefTimeWeight)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(49_254_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight))
.saturating_add(Weight::from_ref_time(49_254_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(24 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
fn process_upward_message(s: u32, ) -> Weight {
Weight::from_ref_time(4_717_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
}
// Storage: Ump NeedsDispatch (r:1 w:1)
// Storage: Ump NextDispatchRoundStartWith (r:1 w:1)
@@ -23,7 +23,7 @@ pub mod constants {
parameter_types! {
/// Importing a block with 0 Extrinsics.
pub const BlockExecutionWeight: Weight = constants::WEIGHT_PER_NANOS.scalar_saturating_mul(5_000_000);
pub const BlockExecutionWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(5_000_000);
}
#[cfg(test)]
@@ -38,9 +38,12 @@ pub mod constants {
let w = super::constants::BlockExecutionWeight::get();
// At least 100 µs.
assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
assert!(
w >= 100u64 * constants::WEIGHT_PER_MICROS,
"Weight should be at least 100 µs."
);
// At most 50 ms.
assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
}
}
}
@@ -23,7 +23,7 @@ pub mod constants {
parameter_types! {
/// Executing a NO-OP `System::remarks` Extrinsic.
pub const ExtrinsicBaseWeight: Weight = constants::WEIGHT_PER_NANOS.scalar_saturating_mul(125_000);
pub const ExtrinsicBaseWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(125_000);
}
#[cfg(test)]
@@ -38,7 +38,7 @@ pub mod constants {
let w = super::constants::ExtrinsicBaseWeight::get();
// At least 10 µs.
assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
// At most 1 ms.
assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms.");
}
+1 -1
View File
@@ -518,7 +518,7 @@ impl parachains_paras::Config for Runtime {
impl parachains_dmp::Config for Runtime {}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl parachains_ump::Config for Runtime {
@@ -54,7 +54,7 @@ parameter_types! {
/// 99th: 5_084_427
/// 95th: 5_039_369
/// 75th: 4_991_020
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(4_970_728);
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_970_728);
}
#[cfg(test)]
@@ -69,8 +69,8 @@ mod test_weights {
let w = super::BlockExecutionWeight::get();
// At least 100 µs.
assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs.");
// At most 50 ms.
assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms.");
}
}
@@ -53,7 +53,7 @@ parameter_types! {
/// 99th: 80_770
/// 95th: 79_394
/// 75th: 79_071
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(79_088);
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(79_088);
}
#[cfg(test)]
@@ -68,7 +68,7 @@ mod test_weights {
let w = super::ExtrinsicBaseWeight::get();
// At least 10 µs.
assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs.");
// At most 1 ms.
assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms.");
}

Some files were not shown because too many files have changed in this diff Show More