Migrate to Weight::from_parts (#2245)

* Migrate to from_parts

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix remaining files

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p polkadot-primitives

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use Master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p polkadot-primitives

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-03-03 13:47:23 +01:00
committed by GitHub
parent cf3ddb831c
commit 70a0864e4c
128 changed files with 2223 additions and 2223 deletions
@@ -24,7 +24,7 @@ pub mod constants {
parameter_types! {
/// Importing a block with 0 Extrinsics.
pub const BlockExecutionWeight: Weight =
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000));
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0);
}
#[cfg(test)]
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_717 nanoseconds.
Weight::from_ref_time(4_964_000)
.saturating_add(Weight::from_proof_size(571))
Weight::from_parts(4_964_000, 0)
.saturating_add(Weight::from_parts(0, 571))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
// Measured: `76`
// Estimated: `571`
// Minimum execution time: 4_840 nanoseconds.
Weight::from_ref_time(5_074_000)
.saturating_add(Weight::from_proof_size(571))
Weight::from_parts(5_074_000, 0)
.saturating_add(Weight::from_parts(0, 571))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -24,7 +24,7 @@ pub mod constants {
parameter_types! {
/// Executing a NO-OP `System::remarks` Extrinsic.
pub const ExtrinsicBaseWeight: Weight =
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000));
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0);
}
#[cfg(test)]
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_455 nanoseconds.
Weight::from_ref_time(1_553_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(1_553_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(368).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(368, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
@@ -64,10 +64,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_602 nanoseconds.
Weight::from_ref_time(6_725_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(6_725_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_715).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(1_715, 0).saturating_mul(b.into()))
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `495`
// Minimum execution time: 3_555 nanoseconds.
Weight::from_ref_time(3_745_000)
.saturating_add(Weight::from_proof_size(495))
Weight::from_parts(3_745_000, 0)
.saturating_add(Weight::from_parts(0, 495))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -91,10 +91,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_690 nanoseconds.
Weight::from_ref_time(1_735_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(1_735_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_138
.saturating_add(Weight::from_ref_time(588_449).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(588_449, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -105,10 +105,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_695 nanoseconds.
Weight::from_ref_time(1_771_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(1_771_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 816
.saturating_add(Weight::from_ref_time(449_345).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(449_345, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: Skipped Metadata (r:0 w:0)
@@ -119,11 +119,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Measured: `81 + p * (69 ±0)`
// Estimated: `72 + p * (70 ±0)`
// Minimum execution time: 3_289 nanoseconds.
Weight::from_ref_time(3_377_000)
.saturating_add(Weight::from_proof_size(72))
Weight::from_parts(3_377_000, 0)
.saturating_add(Weight::from_parts(0, 72))
// Standard Error: 922
.saturating_add(Weight::from_ref_time(969_103).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(969_103, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
}
}
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `141`
// Estimated: `5288`
// Minimum execution time: 21_786 nanoseconds.
Weight::from_ref_time(22_084_000)
.saturating_add(Weight::from_proof_size(5288))
Weight::from_parts(22_084_000, 0)
.saturating_add(Weight::from_parts(0, 5288))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -68,8 +68,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `6`
// Estimated: `2685`
// Minimum execution time: 10_638 nanoseconds.
Weight::from_ref_time(10_889_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(10_889_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -80,8 +80,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 13_146 nanoseconds.
Weight::from_ref_time(13_421_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(13_421_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -97,15 +97,15 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `0 + c * (240 ±0)`
// Estimated: `5262 + c * (5180 ±0)`
// Minimum execution time: 15_962 nanoseconds.
Weight::from_ref_time(16_041_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(16_041_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
// Standard Error: 9_326
.saturating_add(Weight::from_ref_time(13_983_529).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(13_983_529, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(5180).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 5180).saturating_mul(c.into()))
}
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
@@ -117,15 +117,15 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `446 + a * (86 ±0)`
// Estimated: `5308 + a * (2623 ±0)`
// Minimum execution time: 16_343 nanoseconds.
Weight::from_ref_time(16_490_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(16_490_000, 0)
.saturating_add(Weight::from_parts(0, 5308))
// Standard Error: 7_664
.saturating_add(Weight::from_ref_time(13_585_881).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(13_585_881, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_proof_size(2623).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into()))
}
/// Storage: Assets Asset (r:1 w:1)
/// Proof: Assets Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
@@ -136,8 +136,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 12_531 nanoseconds.
Weight::from_ref_time(13_108_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(13_108_000, 0)
.saturating_add(Weight::from_parts(0, 5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -150,8 +150,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `5262`
// Minimum execution time: 22_604 nanoseconds.
Weight::from_ref_time(22_970_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(22_970_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -164,8 +164,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 28_407 nanoseconds.
Weight::from_ref_time(29_012_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(29_012_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -180,8 +180,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_044 nanoseconds.
Weight::from_ref_time(38_562_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(38_562_000, 0)
.saturating_add(Weight::from_parts(0, 10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -196,8 +196,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 33_946 nanoseconds.
Weight::from_ref_time(34_532_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(34_532_000, 0)
.saturating_add(Weight::from_parts(0, 10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -212,8 +212,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `10442`
// Minimum execution time: 38_013 nanoseconds.
Weight::from_ref_time(38_818_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(38_818_000, 0)
.saturating_add(Weight::from_parts(0, 10442))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -226,8 +226,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 15_798 nanoseconds.
Weight::from_ref_time(16_178_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(16_178_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -240,8 +240,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `5262`
// Minimum execution time: 16_196 nanoseconds.
Weight::from_ref_time(16_525_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(16_525_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -252,8 +252,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_600 nanoseconds.
Weight::from_ref_time(13_038_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(13_038_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -264,8 +264,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `309`
// Estimated: `2685`
// Minimum execution time: 12_433 nanoseconds.
Weight::from_ref_time(12_924_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_924_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -278,8 +278,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 13_754 nanoseconds.
Weight::from_ref_time(14_069_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(14_069_000, 0)
.saturating_add(Weight::from_parts(0, 5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -290,8 +290,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_640 nanoseconds.
Weight::from_ref_time(12_846_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_846_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -306,10 +306,10 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `5300`
// Minimum execution time: 22_428 nanoseconds.
Weight::from_ref_time(23_549_955)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_549_955, 0)
.saturating_add(Weight::from_parts(0, 5300))
// Standard Error: 731
.saturating_add(Weight::from_ref_time(893).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(893, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -322,8 +322,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 22_730 nanoseconds.
Weight::from_ref_time(23_336_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_336_000, 0)
.saturating_add(Weight::from_parts(0, 5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -338,10 +338,10 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `82`
// Estimated: `5300`
// Minimum execution time: 12_289 nanoseconds.
Weight::from_ref_time(12_841_728)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(12_841_728, 0)
.saturating_add(Weight::from_parts(0, 5300))
// Standard Error: 304
.saturating_add(Weight::from_ref_time(1_964).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(1_964, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -354,8 +354,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `471`
// Estimated: `5300`
// Minimum execution time: 23_203 nanoseconds.
Weight::from_ref_time(23_490_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_490_000, 0)
.saturating_add(Weight::from_parts(0, 5300))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -366,8 +366,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `275`
// Estimated: `2685`
// Minimum execution time: 12_042 nanoseconds.
Weight::from_ref_time(12_246_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_246_000, 0)
.saturating_add(Weight::from_parts(0, 2685))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -380,8 +380,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `309`
// Estimated: `5308`
// Minimum execution time: 25_898 nanoseconds.
Weight::from_ref_time(26_128_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(26_128_000, 0)
.saturating_add(Weight::from_parts(0, 5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -398,8 +398,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `553`
// Estimated: `13065`
// Minimum execution time: 52_087 nanoseconds.
Weight::from_ref_time(52_630_000)
.saturating_add(Weight::from_proof_size(13065))
Weight::from_parts(52_630_000, 0)
.saturating_add(Weight::from_parts(0, 13065))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -412,8 +412,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 27_731 nanoseconds.
Weight::from_ref_time(28_129_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(28_129_000, 0)
.saturating_add(Weight::from_parts(0, 5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -426,8 +426,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `479`
// Estimated: `5308`
// Minimum execution time: 27_921 nanoseconds.
Weight::from_ref_time(28_386_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(28_386_000, 0)
.saturating_add(Weight::from_parts(0, 5308))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -438,8 +438,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
// Measured: `383`
// Estimated: `3675`
// Minimum execution time: 16_213 nanoseconds.
Weight::from_ref_time(16_575_000)
.saturating_add(Weight::from_proof_size(3675))
Weight::from_parts(16_575_000, 0)
.saturating_add(Weight::from_parts(0, 3675))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1178`
// Estimated: `2603`
// Minimum execution time: 45_943 nanoseconds.
Weight::from_ref_time(46_894_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(46_894_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1062`
// Estimated: `2603`
// Minimum execution time: 35_842 nanoseconds.
Weight::from_ref_time(36_089_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(36_089_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1174`
// Estimated: `2603`
// Minimum execution time: 26_219 nanoseconds.
Weight::from_ref_time(26_783_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(26_783_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1174`
// Estimated: `2603`
// Minimum execution time: 29_939 nanoseconds.
Weight::from_ref_time(30_394_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(30_394_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1174`
// Estimated: `5206`
// Minimum execution time: 46_341 nanoseconds.
Weight::from_ref_time(47_111_000)
.saturating_add(Weight::from_proof_size(5206))
Weight::from_parts(47_111_000, 0)
.saturating_add(Weight::from_parts(0, 5206))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1062`
// Estimated: `2603`
// Minimum execution time: 41_093 nanoseconds.
Weight::from_ref_time(41_472_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(41_472_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Measured: `1058`
// Estimated: `2603`
// Minimum execution time: 22_961 nanoseconds.
Weight::from_ref_time(23_413_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(23_413_000, 0)
.saturating_add(Weight::from_parts(0, 2603))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `178 + b * (78 ±0)`
// Estimated: `178 + b * (2554 ±0)`
// Minimum execution time: 14_182 nanoseconds.
Weight::from_ref_time(16_174_028)
.saturating_add(Weight::from_proof_size(178))
Weight::from_parts(16_174_028, 0)
.saturating_add(Weight::from_parts(0, 178))
// Standard Error: 3_951
.saturating_add(Weight::from_ref_time(2_446_152).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(2_446_152, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
}
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_843 nanoseconds.
Weight::from_ref_time(7_086_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(7_086_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_075 nanoseconds.
Weight::from_ref_time(7_294_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(7_294_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: CollatorSelection Candidates (r:1 w:1)
@@ -105,13 +105,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `1171 + c * (48 ±0)`
// Estimated: `56784 + c * (49 ±0)`
// Minimum execution time: 34_101 nanoseconds.
Weight::from_ref_time(27_254_778)
.saturating_add(Weight::from_proof_size(56784))
Weight::from_parts(27_254_778, 0)
.saturating_add(Weight::from_parts(0, 56784))
// Standard Error: 1_210
.saturating_add(Weight::from_ref_time(105_038).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(105_038, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
}
/// Storage: CollatorSelection Candidates (r:1 w:1)
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
@@ -123,10 +123,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `536 + c * (48 ±0)`
// Estimated: `48497`
// Minimum execution time: 26_156 nanoseconds.
Weight::from_ref_time(16_543_802)
.saturating_add(Weight::from_proof_size(48497))
Weight::from_parts(16_543_802, 0)
.saturating_add(Weight::from_parts(0, 48497))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(102_889).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(102_889, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `135`
// Estimated: `5749`
// Minimum execution time: 24_859 nanoseconds.
Weight::from_ref_time(25_423_000)
.saturating_add(Weight::from_proof_size(5749))
Weight::from_parts(25_423_000, 0)
.saturating_add(Weight::from_parts(0, 5749))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -163,15 +163,15 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
// Measured: `22784 + r * (148 ±0) + c * (97 ±0)`
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
// Minimum execution time: 16_296 nanoseconds.
Weight::from_ref_time(16_532_000)
.saturating_add(Weight::from_proof_size(52737))
Weight::from_parts(16_532_000, 0)
.saturating_add(Weight::from_parts(0, 52737))
// Standard Error: 758_486
.saturating_add(Weight::from_ref_time(27_694_526).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(27_694_526, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(r.into()))
}
}
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_557 nanoseconds.
Weight::from_ref_time(12_087_731)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(12_087_731, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1
.saturating_add(Weight::from_ref_time(493).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(493, 0).saturating_mul(z.into()))
}
/// Storage: Multisig Multisigs (r:1 w:1)
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
@@ -67,12 +67,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `311 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 35_027 nanoseconds.
Weight::from_ref_time(28_254_579)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(28_254_579, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 541
.saturating_add(Weight::from_ref_time(73_609).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(73_609, 0).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_530).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_530, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 25_892 nanoseconds.
Weight::from_ref_time(19_974_491)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(19_974_491, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 382
.saturating_add(Weight::from_ref_time(67_041).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(67_041, 0).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_516).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_516, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -105,12 +105,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `448 + s * (33 ±0)`
// Estimated: `8424`
// Minimum execution time: 39_799 nanoseconds.
Weight::from_ref_time(31_172_141)
.saturating_add(Weight::from_proof_size(8424))
Weight::from_parts(31_172_141, 0)
.saturating_add(Weight::from_parts(0, 8424))
// Standard Error: 523
.saturating_add(Weight::from_ref_time(91_287).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(91_287, 0).saturating_mul(s.into()))
// Standard Error: 5
.saturating_add(Weight::from_ref_time(1_557).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_557, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `318 + s * (2 ±0)`
// Estimated: `5821`
// Minimum execution time: 24_614 nanoseconds.
Weight::from_ref_time(26_554_159)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(26_554_159, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 754
.saturating_add(Weight::from_ref_time(81_278).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(81_278, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -137,10 +137,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `313`
// Estimated: `5821`
// Minimum execution time: 17_141 nanoseconds.
Weight::from_ref_time(18_191_699)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(18_191_699, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 546
.saturating_add(Weight::from_ref_time(74_486).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(74_486, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -152,10 +152,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
// Measured: `517 + s * (1 ±0)`
// Estimated: `5821`
// Minimum execution time: 25_869 nanoseconds.
Weight::from_ref_time(28_059_249)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(28_059_249, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 677
.saturating_add(Weight::from_ref_time(80_187).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(80_187, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -55,10 +55,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 14_405 nanoseconds.
Weight::from_ref_time(15_511_983)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(15_511_983, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 2_104
.saturating_add(Weight::from_ref_time(19_450).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(19_450, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: Proxy Proxies (r:1 w:0)
@@ -74,12 +74,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `550 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 31_545 nanoseconds.
Weight::from_ref_time(31_928_375)
.saturating_add(Weight::from_proof_size(11027))
Weight::from_parts(31_928_375, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 2_022
.saturating_add(Weight::from_ref_time(114_479).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(114_479, 0).saturating_mul(a.into()))
// Standard Error: 2_089
.saturating_add(Weight::from_ref_time(34_696).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(34_696, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -94,12 +94,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_215 nanoseconds.
Weight::from_ref_time(20_970_496)
.saturating_add(Weight::from_proof_size(7311))
Weight::from_parts(20_970_496, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_277
.saturating_add(Weight::from_ref_time(111_015).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(111_015, 0).saturating_mul(a.into()))
// Standard Error: 1_320
.saturating_add(Weight::from_ref_time(9_988).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(9_988, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -114,12 +114,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `433 + a * (68 ±0)`
// Estimated: `7311`
// Minimum execution time: 20_153 nanoseconds.
Weight::from_ref_time(21_046_064)
.saturating_add(Weight::from_proof_size(7311))
Weight::from_parts(21_046_064, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_342
.saturating_add(Weight::from_ref_time(108_638).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(108_638, 0).saturating_mul(a.into()))
// Standard Error: 1_386
.saturating_add(Weight::from_ref_time(10_617).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(10_617, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -136,12 +136,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `11027`
// Minimum execution time: 27_692 nanoseconds.
Weight::from_ref_time(28_900_223)
.saturating_add(Weight::from_proof_size(11027))
Weight::from_parts(28_900_223, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_751
.saturating_add(Weight::from_ref_time(100_648).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(100_648, 0).saturating_mul(a.into()))
// Standard Error: 1_809
.saturating_add(Weight::from_ref_time(35_769).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(35_769, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -153,10 +153,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_726 nanoseconds.
Weight::from_ref_time(21_849_126)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(21_849_126, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_307
.saturating_add(Weight::from_ref_time(43_349).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(43_349, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -168,10 +168,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 20_681 nanoseconds.
Weight::from_ref_time(21_733_251)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(21_733_251, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_555
.saturating_add(Weight::from_ref_time(59_461).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(59_461, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -183,10 +183,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `159 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 16_966 nanoseconds.
Weight::from_ref_time(17_682_078)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(17_682_078, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_110
.saturating_add(Weight::from_ref_time(28_786).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(28_786, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -198,10 +198,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_237 nanoseconds.
Weight::from_ref_time(23_324_695)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(23_324_695, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_481
.saturating_add(Weight::from_ref_time(9_284).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(9_284, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -213,10 +213,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 18_041 nanoseconds.
Weight::from_ref_time(18_668_925)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(18_668_925, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_209
.saturating_add(Weight::from_ref_time(29_794).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(29_794, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Measured: `270`
// Estimated: `5490`
// Minimum execution time: 15_561 nanoseconds.
Weight::from_ref_time(15_843_000)
.saturating_add(Weight::from_proof_size(5490))
Weight::from_parts(15_843_000, 0)
.saturating_add(Weight::from_parts(0, 5490))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
// Measured: `242`
// Estimated: `2959`
// Minimum execution time: 11_757 nanoseconds.
Weight::from_ref_time(12_093_000)
.saturating_add(Weight::from_proof_size(2959))
Weight::from_parts(12_093_000, 0)
.saturating_add(Weight::from_parts(0, 2959))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Measured: `86`
// Estimated: `1006`
// Minimum execution time: 8_399 nanoseconds.
Weight::from_ref_time(8_649_000)
.saturating_add(Weight::from_proof_size(1006))
Weight::from_parts(8_649_000, 0)
.saturating_add(Weight::from_parts(0, 1006))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
// Measured: `57`
// Estimated: `0`
// Minimum execution time: 3_277 nanoseconds.
Weight::from_ref_time(3_349_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(3_349_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
}
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `177`
// Estimated: `2653`
// Minimum execution time: 23_738 nanoseconds.
Weight::from_ref_time(24_550_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(24_550_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `42`
// Estimated: `2653`
// Minimum execution time: 13_165 nanoseconds.
Weight::from_ref_time(13_515_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_515_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -99,21 +99,21 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `289 + n * (108 ±0) + m * (56 ±0) + a * (107 ±0)`
// Estimated: `5250 + n * (2597 ±0)`
// Minimum execution time: 2_258_129 nanoseconds.
Weight::from_ref_time(2_289_592_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(2_289_592_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(8_416_144).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(8_416_144, 0).saturating_mul(n.into()))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(256_638).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(256_638, 0).saturating_mul(m.into()))
// Standard Error: 26_214
.saturating_add(Weight::from_ref_time(274_803).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(274_803, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
.saturating_add(Weight::from_proof_size(2597).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
}
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
@@ -128,8 +128,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `7749`
// Minimum execution time: 28_974 nanoseconds.
Weight::from_ref_time(29_398_000)
.saturating_add(Weight::from_proof_size(7749))
Weight::from_parts(29_398_000, 0)
.saturating_add(Weight::from_parts(0, 7749))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 30_070 nanoseconds.
Weight::from_ref_time(30_454_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(30_454_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -164,8 +164,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 24_287 nanoseconds.
Weight::from_ref_time(24_509_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(24_509_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -179,15 +179,15 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `770 + i * (108 ±0)`
// Estimated: `2653 + i * (2597 ±0)`
// Minimum execution time: 14_231 nanoseconds.
Weight::from_ref_time(14_454_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(14_454_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Standard Error: 13_135
.saturating_add(Weight::from_ref_time(12_152_067).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(12_152_067, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_proof_size(2597).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(i.into()))
}
/// Storage: Uniques Asset (r:1 w:1)
/// Proof: Uniques Asset (max_values: None, max_size: Some(122), added: 2597, mode: MaxEncodedLen)
@@ -198,8 +198,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_977 nanoseconds.
Weight::from_ref_time(18_415_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(18_415_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -212,8 +212,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 17_421 nanoseconds.
Weight::from_ref_time(17_830_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(17_830_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -224,8 +224,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_199 nanoseconds.
Weight::from_ref_time(13_615_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_615_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -236,8 +236,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 13_263 nanoseconds.
Weight::from_ref_time(13_575_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_575_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -252,8 +252,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `388`
// Estimated: `5180`
// Minimum execution time: 20_850 nanoseconds.
Weight::from_ref_time(21_223_000)
.saturating_add(Weight::from_proof_size(5180))
Weight::from_parts(21_223_000, 0)
.saturating_add(Weight::from_parts(0, 5180))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -264,8 +264,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 14_218 nanoseconds.
Weight::from_ref_time(14_680_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(14_680_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -278,8 +278,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `2653`
// Minimum execution time: 16_581 nanoseconds.
Weight::from_ref_time(16_856_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(16_856_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -294,8 +294,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `623`
// Estimated: `7962`
// Minimum execution time: 34_610 nanoseconds.
Weight::from_ref_time(34_994_000)
.saturating_add(Weight::from_proof_size(7962))
Weight::from_parts(34_994_000, 0)
.saturating_add(Weight::from_parts(0, 7962))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -310,8 +310,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `851`
// Estimated: `7962`
// Minimum execution time: 34_244 nanoseconds.
Weight::from_ref_time(34_542_000)
.saturating_add(Weight::from_proof_size(7962))
Weight::from_parts(34_542_000, 0)
.saturating_add(Weight::from_parts(0, 7962))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -324,8 +324,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `380`
// Estimated: `5315`
// Minimum execution time: 26_652 nanoseconds.
Weight::from_ref_time(27_013_000)
.saturating_add(Weight::from_proof_size(5315))
Weight::from_parts(27_013_000, 0)
.saturating_add(Weight::from_parts(0, 5315))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -338,8 +338,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `623`
// Estimated: `5315`
// Minimum execution time: 27_427 nanoseconds.
Weight::from_ref_time(27_985_000)
.saturating_add(Weight::from_proof_size(5315))
Weight::from_parts(27_985_000, 0)
.saturating_add(Weight::from_parts(0, 5315))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -352,8 +352,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `5295`
// Minimum execution time: 26_557 nanoseconds.
Weight::from_ref_time(26_973_000)
.saturating_add(Weight::from_proof_size(5295))
Weight::from_parts(26_973_000, 0)
.saturating_add(Weight::from_parts(0, 5295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -366,8 +366,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `537`
// Estimated: `5295`
// Minimum execution time: 25_091 nanoseconds.
Weight::from_ref_time(25_510_000)
.saturating_add(Weight::from_proof_size(5295))
Weight::from_parts(25_510_000, 0)
.saturating_add(Weight::from_parts(0, 5295))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -380,8 +380,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `492`
// Estimated: `5250`
// Minimum execution time: 19_129 nanoseconds.
Weight::from_ref_time(19_831_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(19_831_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -394,8 +394,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `525`
// Estimated: `5250`
// Minimum execution time: 19_393 nanoseconds.
Weight::from_ref_time(19_569_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(19_569_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -406,8 +406,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_863 nanoseconds.
Weight::from_ref_time(15_066_000)
.saturating_add(Weight::from_proof_size(2527))
Weight::from_parts(15_066_000, 0)
.saturating_add(Weight::from_parts(0, 2527))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -420,8 +420,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `314`
// Estimated: `5152`
// Minimum execution time: 16_144 nanoseconds.
Weight::from_ref_time(16_510_000)
.saturating_add(Weight::from_proof_size(5152))
Weight::from_parts(16_510_000, 0)
.saturating_add(Weight::from_parts(0, 5152))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -434,8 +434,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `291`
// Estimated: `2597`
// Minimum execution time: 15_884 nanoseconds.
Weight::from_ref_time(16_215_000)
.saturating_add(Weight::from_proof_size(2597))
Weight::from_parts(16_215_000, 0)
.saturating_add(Weight::from_parts(0, 2597))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -452,8 +452,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
// Measured: `636`
// Estimated: `7814`
// Minimum execution time: 34_190 nanoseconds.
Weight::from_ref_time(34_497_000)
.saturating_add(Weight::from_proof_size(7814))
Weight::from_parts(34_497_000, 0)
.saturating_add(Weight::from_parts(0, 7814))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -53,18 +53,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_005 nanoseconds.
Weight::from_ref_time(18_139_015)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(18_139_015, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_178
.saturating_add(Weight::from_ref_time(3_979_226).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(3_979_226, 0).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_441 nanoseconds.
Weight::from_ref_time(4_622_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(4_622_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
@@ -72,18 +72,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_910 nanoseconds.
Weight::from_ref_time(18_908_357)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(18_908_357, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_920
.saturating_add(Weight::from_ref_time(4_169_103).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(4_169_103, 0).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_957 nanoseconds.
Weight::from_ref_time(8_145_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(8_145_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
@@ -91,9 +91,9 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_925 nanoseconds.
Weight::from_ref_time(15_056_349)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(15_056_349, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_987
.saturating_add(Weight::from_ref_time(3_981_287).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(3_981_287, 0).saturating_mul(c.into()))
}
}
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `38`
// Estimated: `4645`
// Minimum execution time: 24_132 nanoseconds.
Weight::from_ref_time(24_554_000)
.saturating_add(Weight::from_proof_size(4645))
Weight::from_parts(24_554_000, 0)
.saturating_add(Weight::from_parts(0, 4645))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 22_350 nanoseconds.
Weight::from_ref_time(22_760_000)
.saturating_add(Weight::from_proof_size(499))
Weight::from_parts(22_760_000, 0)
.saturating_add(Weight::from_parts(0, 499))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -85,8 +85,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `499`
// Minimum execution time: 17_723 nanoseconds.
Weight::from_ref_time(17_951_000)
.saturating_add(Weight::from_proof_size(499))
Weight::from_parts(17_951_000, 0)
.saturating_add(Weight::from_parts(0, 499))
.saturating_add(T::DbWeight::get().reads(1))
}
/// Storage: Benchmark Override (r:0 w:0)
@@ -96,8 +96,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
Weight::from_ref_time(18_446_744_073_709_551_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(18_446_744_073_709_551_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
@@ -106,8 +106,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_641 nanoseconds.
Weight::from_ref_time(8_925_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(8_925_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
@@ -117,8 +117,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_427 nanoseconds.
Weight::from_ref_time(2_598_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(2_598_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
@@ -142,8 +142,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `38`
// Estimated: `7729`
// Minimum execution time: 28_650 nanoseconds.
Weight::from_ref_time(29_035_000)
.saturating_add(Weight::from_proof_size(7729))
Weight::from_parts(29_035_000, 0)
.saturating_add(Weight::from_parts(0, 7729))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -166,8 +166,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `220`
// Estimated: `8470`
// Minimum execution time: 30_797 nanoseconds.
Weight::from_ref_time(31_491_000)
.saturating_add(Weight::from_proof_size(8470))
Weight::from_parts(31_491_000, 0)
.saturating_add(Weight::from_parts(0, 8470))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -178,8 +178,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `95`
// Estimated: `9995`
// Minimum execution time: 13_639 nanoseconds.
Weight::from_ref_time(13_980_000)
.saturating_add(Weight::from_proof_size(9995))
Weight::from_parts(13_980_000, 0)
.saturating_add(Weight::from_parts(0, 9995))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -190,8 +190,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `99`
// Estimated: `9999`
// Minimum execution time: 13_954 nanoseconds.
Weight::from_ref_time(14_276_000)
.saturating_add(Weight::from_proof_size(9999))
Weight::from_parts(14_276_000, 0)
.saturating_add(Weight::from_parts(0, 9999))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -202,8 +202,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `106`
// Estimated: `12481`
// Minimum execution time: 15_217 nanoseconds.
Weight::from_ref_time(15_422_000)
.saturating_add(Weight::from_proof_size(12481))
Weight::from_parts(15_422_000, 0)
.saturating_add(Weight::from_parts(0, 12481))
.saturating_add(T::DbWeight::get().reads(5))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
@@ -223,8 +223,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `106`
// Estimated: `10041`
// Minimum execution time: 27_362 nanoseconds.
Weight::from_ref_time(28_034_000)
.saturating_add(Weight::from_proof_size(10041))
Weight::from_parts(28_034_000, 0)
.saturating_add(Weight::from_parts(0, 10041))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -235,8 +235,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `136`
// Estimated: `7561`
// Minimum execution time: 7_768 nanoseconds.
Weight::from_ref_time(7_890_000)
.saturating_add(Weight::from_proof_size(7561))
Weight::from_parts(7_890_000, 0)
.saturating_add(Weight::from_parts(0, 7561))
.saturating_add(T::DbWeight::get().reads(3))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
@@ -246,8 +246,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `106`
// Estimated: `10006`
// Minimum execution time: 15_165 nanoseconds.
Weight::from_ref_time(15_430_000)
.saturating_add(Weight::from_proof_size(10006))
Weight::from_parts(15_430_000, 0)
.saturating_add(Weight::from_parts(0, 10006))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -268,8 +268,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `112`
// Estimated: `15027`
// Minimum execution time: 35_310 nanoseconds.
Weight::from_ref_time(35_698_000)
.saturating_add(Weight::from_proof_size(15027))
Weight::from_parts(35_698_000, 0)
.saturating_add(Weight::from_parts(0, 15027))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
// Currently there is no trusted reserve
fn reserve_asset_deposited(_assets: &MultiAssets) -> Weight {
// TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974
Weight::from_ref_time(1_000_000_000 as u64)
Weight::from_parts(1_000_000_000 as u64, 0)
}
fn receive_teleported_asset(assets: &MultiAssets) -> Weight {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
@@ -123,7 +123,7 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
fn deposit_asset(assets: &MultiAssetFilter, _dest: &MultiLocation) -> Weight {
// Hardcoded till the XCM pallet is fixed
let hardcoded_weight = Weight::from_ref_time(1_000_000_000 as u64);
let hardcoded_weight = Weight::from_parts(1_000_000_000 as u64, 0);
let weight = assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::deposit_asset());
hardcoded_weight.min(weight)
}
@@ -51,14 +51,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
pub(crate) fn withdraw_asset() -> Weight {
Weight::from_ref_time(21_004_000 as u64)
Weight::from_parts(21_004_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: System Account (r:2 w:2)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
pub(crate) fn transfer_asset() -> Weight {
Weight::from_ref_time(29_344_000 as u64)
Weight::from_parts(29_344_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -77,17 +77,17 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn transfer_reserve_asset() -> Weight {
Weight::from_ref_time(49_988_000 as u64)
Weight::from_parts(49_988_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
pub(crate) fn receive_teleported_asset() -> Weight {
Weight::from_ref_time(4_040_000 as u64)
Weight::from_parts(4_040_000 as u64, 0)
}
// Storage: System Account (r:1 w:1)
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
pub(crate) fn deposit_asset() -> Weight {
Weight::from_ref_time(22_762_000 as u64)
Weight::from_parts(22_762_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn deposit_reserve_asset() -> Weight {
Weight::from_ref_time(44_404_000 as u64)
Weight::from_parts(44_404_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
@@ -123,7 +123,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn initiate_teleport() -> Weight {
Weight::from_ref_time(28_179_000 as u64)
Weight::from_parts(28_179_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
@@ -61,39 +61,39 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn report_holding() -> Weight {
Weight::from_ref_time(352_828_000 as u64)
Weight::from_parts(352_828_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
pub(crate) fn buy_execution() -> Weight {
Weight::from_ref_time(3_719_000 as u64)
Weight::from_parts(3_719_000 as u64, 0)
}
// Storage: PolkadotXcm Queries (r:1 w:0)
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
pub(crate) fn query_response() -> Weight {
Weight::from_ref_time(10_697_000 as u64)
Weight::from_parts(10_697_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(12_215_000 as u64)
Weight::from_parts(12_215_000 as u64, 0)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(3_925_000 as u64)
Weight::from_parts(3_925_000 as u64, 0)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(2_782_000 as u64)
Weight::from_parts(2_782_000 as u64, 0)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(2_765_000 as u64)
Weight::from_parts(2_765_000 as u64, 0)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(2_766_000 as u64)
Weight::from_parts(2_766_000 as u64, 0)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(3_553_000 as u64)
Weight::from_parts(3_553_000 as u64, 0)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(2_732_000 as u64)
Weight::from_parts(2_732_000 as u64, 0)
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -108,19 +108,19 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn report_error() -> Weight {
Weight::from_ref_time(23_189_000 as u64)
Weight::from_parts(23_189_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
pub(crate) fn claim_asset() -> Weight {
Weight::from_ref_time(14_569_000 as u64)
Weight::from_parts(14_569_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
pub(crate) fn trap() -> Weight {
Weight::from_ref_time(2_759_000 as u64)
Weight::from_parts(2_759_000 as u64, 0)
}
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
@@ -135,14 +135,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn subscribe_version() -> Weight {
Weight::from_ref_time(24_423_000 as u64)
Weight::from_parts(24_423_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
pub(crate) fn unsubscribe_version() -> Weight {
Weight::from_ref_time(4_575_000 as u64)
Weight::from_parts(4_575_000 as u64, 0)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -158,24 +158,24 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn initiate_reserve_withdraw() -> Weight {
Weight::from_ref_time(406_184_000 as u64)
Weight::from_parts(406_184_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
pub(crate) fn burn_asset() -> Weight {
Weight::from_ref_time(125_739_000 as u64)
Weight::from_parts(125_739_000 as u64, 0)
}
pub(crate) fn expect_asset() -> Weight {
Weight::from_ref_time(13_105_000 as u64)
Weight::from_parts(13_105_000 as u64, 0)
}
pub(crate) fn expect_origin() -> Weight {
Weight::from_ref_time(2_823_000 as u64)
Weight::from_parts(2_823_000 as u64, 0)
}
pub(crate) fn expect_error() -> Weight {
Weight::from_ref_time(2_771_000 as u64)
Weight::from_parts(2_771_000 as u64, 0)
}
pub(crate) fn expect_transact_status() -> Weight {
Weight::from_ref_time(2_883_000 as u64)
Weight::from_parts(2_883_000 as u64, 0)
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -190,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn query_pallet() -> Weight {
Weight::from_ref_time(25_695_000 as u64)
Weight::from_parts(25_695_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
pub(crate) fn expect_pallet() -> Weight {
Weight::from_ref_time(4_650_000 as u64)
Weight::from_parts(4_650_000 as u64, 0)
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
@@ -210,23 +210,23 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
pub(crate) fn report_transact_status() -> Weight {
Weight::from_ref_time(23_415_000 as u64)
Weight::from_parts(23_415_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
pub(crate) fn clear_transact_status() -> Weight {
Weight::from_ref_time(2_756_000 as u64)
Weight::from_parts(2_756_000 as u64, 0)
}
pub(crate) fn set_topic() -> Weight {
Weight::from_ref_time(2_702_000 as u64)
Weight::from_parts(2_702_000 as u64, 0)
}
pub(crate) fn clear_topic() -> Weight {
Weight::from_ref_time(2_738_000 as u64)
Weight::from_parts(2_738_000 as u64, 0)
}
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(2_700_000 as u64)
Weight::from_parts(2_700_000 as u64, 0)
}
pub(crate) fn unpaid_execution() -> Weight {
Weight::from_ref_time(2_894_000 as u64)
Weight::from_parts(2_894_000 as u64, 0)
}
}
@@ -65,7 +65,7 @@ fn test_asset_xcm_trader() {
// Because of the ED being higher in statemine
// and not to complicate things, we use a little
// bit more of weight
let bought = Weight::from_ref_time(400_000_000_000u64);
let bought = Weight::from_parts(400_000_000_000u64, 0);
// Lets calculate amount needed
let asset_amount_needed =
@@ -147,7 +147,7 @@ fn test_asset_xcm_trader_with_refund() {
// Because of the ED being higher in statemine
// and not to complicate things, we use a little
// bit more of weight
let bought = Weight::from_ref_time(400_000_000_000u64);
let bought = Weight::from_parts(400_000_000_000u64, 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
@@ -220,7 +220,7 @@ fn test_asset_xcm_trader_refund_not_possible_since_amount_less_than_ed() {
// Because of the ED being higher in statemine
// and not to complicate things, we use a little
// bit more of weight
let bought = Weight::from_ref_time(50_000_000_000u64);
let bought = Weight::from_parts(50_000_000_000u64, 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
@@ -271,7 +271,7 @@ fn test_that_buying_ed_refund_does_not_refund() {
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
// We are gonna buy ED
let bought = Weight::from_ref_time(ExistentialDeposit::get().try_into().unwrap());
let bought = Weight::from_parts(ExistentialDeposit::get().try_into().unwrap(), 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
@@ -346,7 +346,7 @@ fn test_asset_xcm_trader_not_possible_for_non_sufficient_assets() {
// Because of the ED being higher in statemine
// and not to complicate things, we use a little
// bit more of weight
let bought = Weight::from_ref_time(400_000_000_000u64);
let bought = Weight::from_parts(400_000_000_000u64, 0);
// lets calculate amount needed
let asset_amount_needed = WeightToFee::weight_to_fee(&bought);