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_844 nanoseconds.
Weight::from_ref_time(5_119_000)
.saturating_add(Weight::from_proof_size(571))
Weight::from_parts(5_119_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: 5_017 nanoseconds.
Weight::from_ref_time(5_231_000)
.saturating_add(Weight::from_proof_size(571))
Weight::from_parts(5_231_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_737 nanoseconds.
Weight::from_ref_time(1_780_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(1_780_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_941 nanoseconds.
Weight::from_ref_time(6_990_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(6_990_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_716).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(1_716, 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_697 nanoseconds.
Weight::from_ref_time(3_855_000)
.saturating_add(Weight::from_proof_size(495))
Weight::from_parts(3_855_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_957 nanoseconds.
Weight::from_ref_time(2_009_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(2_009_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_909
.saturating_add(Weight::from_ref_time(577_980).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(577_980, 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_921 nanoseconds.
Weight::from_ref_time(1_983_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(1_983_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 841
.saturating_add(Weight::from_ref_time(443_784).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(443_784, 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: `84 + p * (69 ±0)`
// Estimated: `75 + p * (70 ±0)`
// Minimum execution time: 3_576 nanoseconds.
Weight::from_ref_time(3_661_000)
.saturating_add(Weight::from_proof_size(75))
Weight::from_parts(3_661_000, 0)
.saturating_add(Weight::from_parts(0, 75))
// Standard Error: 919
.saturating_add(Weight::from_ref_time(955_752).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(955_752, 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: 22_825 nanoseconds.
Weight::from_ref_time(26_008_000)
.saturating_add(Weight::from_proof_size(5288))
Weight::from_parts(26_008_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_898 nanoseconds.
Weight::from_ref_time(12_626_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_626_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_057 nanoseconds.
Weight::from_ref_time(13_932_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(13_932_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: 16_823 nanoseconds.
Weight::from_ref_time(31_002_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(31_002_000, 0)
.saturating_add(Weight::from_parts(0, 5262))
// Standard Error: 10_169
.saturating_add(Weight::from_ref_time(13_922_578).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(13_922_578, 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_683 nanoseconds.
Weight::from_ref_time(16_754_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(16_754_000, 0)
.saturating_add(Weight::from_parts(0, 5308))
// Standard Error: 7_193
.saturating_add(Weight::from_ref_time(13_722_963).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(13_722_963, 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_892 nanoseconds.
Weight::from_ref_time(13_218_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(13_218_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: 23_073 nanoseconds.
Weight::from_ref_time(23_435_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(23_435_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: 29_411 nanoseconds.
Weight::from_ref_time(30_019_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(30_019_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_929 nanoseconds.
Weight::from_ref_time(39_602_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(39_602_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: 34_910 nanoseconds.
Weight::from_ref_time(35_686_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(35_686_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_959 nanoseconds.
Weight::from_ref_time(39_627_000)
.saturating_add(Weight::from_proof_size(10442))
Weight::from_parts(39_627_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: 16_367 nanoseconds.
Weight::from_ref_time(16_761_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(16_761_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_361 nanoseconds.
Weight::from_ref_time(18_506_000)
.saturating_add(Weight::from_proof_size(5262))
Weight::from_parts(18_506_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_980 nanoseconds.
Weight::from_ref_time(14_272_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(14_272_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_510 nanoseconds.
Weight::from_ref_time(12_996_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_996_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_958 nanoseconds.
Weight::from_ref_time(14_458_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(14_458_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_820 nanoseconds.
Weight::from_ref_time(13_136_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(13_136_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_433 nanoseconds.
Weight::from_ref_time(23_664_666)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_664_666, 0)
.saturating_add(Weight::from_parts(0, 5300))
// Standard Error: 648
.saturating_add(Weight::from_ref_time(2_428).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(2_428, 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_969 nanoseconds.
Weight::from_ref_time(23_330_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_330_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: 11_969 nanoseconds.
Weight::from_ref_time(12_659_111)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(12_659_111, 0)
.saturating_add(Weight::from_parts(0, 5300))
// Standard Error: 345
.saturating_add(Weight::from_ref_time(1_879).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(1_879, 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_002 nanoseconds.
Weight::from_ref_time(23_320_000)
.saturating_add(Weight::from_proof_size(5300))
Weight::from_parts(23_320_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: 11_994 nanoseconds.
Weight::from_ref_time(12_256_000)
.saturating_add(Weight::from_proof_size(2685))
Weight::from_parts(12_256_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: 26_321 nanoseconds.
Weight::from_ref_time(26_867_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(26_867_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_855 nanoseconds.
Weight::from_ref_time(54_006_000)
.saturating_add(Weight::from_proof_size(13065))
Weight::from_parts(54_006_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: 28_148 nanoseconds.
Weight::from_ref_time(28_416_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(28_416_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: 28_456 nanoseconds.
Weight::from_ref_time(28_913_000)
.saturating_add(Weight::from_proof_size(5308))
Weight::from_parts(28_913_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: `1177`
// Estimated: `2603`
// Minimum execution time: 45_988 nanoseconds.
Weight::from_ref_time(46_507_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(46_507_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: `1061`
// Estimated: `2603`
// Minimum execution time: 34_574 nanoseconds.
Weight::from_ref_time(35_575_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(35_575_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: `1173`
// Estimated: `2603`
// Minimum execution time: 25_859 nanoseconds.
Weight::from_ref_time(26_467_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(26_467_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: `1173`
// Estimated: `2603`
// Minimum execution time: 28_563 nanoseconds.
Weight::from_ref_time(29_082_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(29_082_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: `1173`
// Estimated: `5206`
// Minimum execution time: 45_594 nanoseconds.
Weight::from_ref_time(46_296_000)
.saturating_add(Weight::from_proof_size(5206))
Weight::from_parts(46_296_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: `1061`
// Estimated: `2603`
// Minimum execution time: 40_085 nanoseconds.
Weight::from_ref_time(40_675_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(40_675_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: `1057`
// Estimated: `2603`
// Minimum execution time: 22_208 nanoseconds.
Weight::from_ref_time(22_815_000)
.saturating_add(Weight::from_proof_size(2603))
Weight::from_parts(22_815_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: 13_864 nanoseconds.
Weight::from_ref_time(14_046_919)
.saturating_add(Weight::from_proof_size(178))
Weight::from_parts(14_046_919, 0)
.saturating_add(Weight::from_parts(0, 178))
// Standard Error: 4_684
.saturating_add(Weight::from_ref_time(2_474_689).saturating_mul(b.into()))
.saturating_add(Weight::from_parts(2_474_689, 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_556 nanoseconds.
Weight::from_ref_time(6_751_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(6_751_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: 6_816 nanoseconds.
Weight::from_ref_time(7_009_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(7_009_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: 35_423 nanoseconds.
Weight::from_ref_time(27_578_125)
.saturating_add(Weight::from_proof_size(56784))
Weight::from_parts(27_578_125, 0)
.saturating_add(Weight::from_parts(0, 56784))
// Standard Error: 1_255
.saturating_add(Weight::from_ref_time(105_521).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(105_521, 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: `541 + c * (48 ±0)`
// Estimated: `48497`
// Minimum execution time: 24_550 nanoseconds.
Weight::from_ref_time(15_908_548)
.saturating_add(Weight::from_proof_size(48497))
Weight::from_parts(15_908_548, 0)
.saturating_add(Weight::from_parts(0, 48497))
// Standard Error: 1_238
.saturating_add(Weight::from_ref_time(105_175).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(105_175, 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: 25_675 nanoseconds.
Weight::from_ref_time(26_392_000)
.saturating_add(Weight::from_proof_size(5749))
Weight::from_parts(26_392_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: `22756 + r * (148 ±0) + c * (97 ±0)`
// Estimated: `52737 + c * (2519 ±0) + r * (2603 ±0)`
// Minimum execution time: 16_612 nanoseconds.
Weight::from_ref_time(16_892_000)
.saturating_add(Weight::from_proof_size(52737))
Weight::from_parts(16_892_000, 0)
.saturating_add(Weight::from_parts(0, 52737))
// Standard Error: 755_441
.saturating_add(Weight::from_ref_time(27_658_379).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(27_658_379, 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(2603).saturating_mul(r.into()))
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(0, 2603).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_762 nanoseconds.
Weight::from_ref_time(12_267_870)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(12_267_870, 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_352 nanoseconds.
Weight::from_ref_time(28_499_037)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(28_499_037, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 1_231
.saturating_add(Weight::from_ref_time(73_158).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(73_158, 0).saturating_mul(s.into()))
// Standard Error: 12
.saturating_add(Weight::from_ref_time(1_528).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_528, 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: 26_412 nanoseconds.
Weight::from_ref_time(20_296_722)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(20_296_722, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 402
.saturating_add(Weight::from_ref_time(67_954).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(67_954, 0).saturating_mul(s.into()))
// Standard Error: 3
.saturating_add(Weight::from_ref_time(1_495).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_495, 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_936 nanoseconds.
Weight::from_ref_time(31_699_007)
.saturating_add(Weight::from_proof_size(8424))
Weight::from_parts(31_699_007, 0)
.saturating_add(Weight::from_parts(0, 8424))
// Standard Error: 632
.saturating_add(Weight::from_ref_time(90_100).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(90_100, 0).saturating_mul(s.into()))
// Standard Error: 6
.saturating_add(Weight::from_ref_time(1_544).saturating_mul(z.into()))
.saturating_add(Weight::from_parts(1_544, 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: 25_146 nanoseconds.
Weight::from_ref_time(26_857_601)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(26_857_601, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 669
.saturating_add(Weight::from_ref_time(76_520).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(76_520, 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_187 nanoseconds.
Weight::from_ref_time(18_410_072)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(18_410_072, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 491
.saturating_add(Weight::from_ref_time(72_318).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(72_318, 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_956 nanoseconds.
Weight::from_ref_time(28_043_929)
.saturating_add(Weight::from_proof_size(5821))
Weight::from_parts(28_043_929, 0)
.saturating_add(Weight::from_parts(0, 5821))
// Standard Error: 830
.saturating_add(Weight::from_ref_time(80_119).saturating_mul(s.into()))
.saturating_add(Weight::from_parts(80_119, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `177`
// Estimated: `3054`
// Minimum execution time: 30_978 nanoseconds.
Weight::from_ref_time(31_489_000)
.saturating_add(Weight::from_proof_size(3054))
Weight::from_parts(31_489_000, 0)
.saturating_add(Weight::from_parts(0, 3054))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -82,8 +82,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `42`
// Estimated: `3054`
// Minimum execution time: 20_101 nanoseconds.
Weight::from_ref_time(20_488_000)
.saturating_add(Weight::from_proof_size(3054))
Weight::from_parts(20_488_000, 0)
.saturating_add(Weight::from_parts(0, 3054))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -115,20 +115,20 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `172673 + m * (206 ±0) + a * (210 ±0)`
// Estimated: `3347314 + m * (2694 ±0) + a * (2729 ±0)`
// Minimum execution time: 23_505_821 nanoseconds.
Weight::from_ref_time(16_948_157_713)
.saturating_add(Weight::from_proof_size(3347314))
Weight::from_parts(16_948_157_713, 0)
.saturating_add(Weight::from_parts(0, 3347314))
// Standard Error: 20_494
.saturating_add(Weight::from_ref_time(7_059_571).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(7_059_571, 0).saturating_mul(m.into()))
// Standard Error: 20_494
.saturating_add(Weight::from_ref_time(8_471_367).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(8_471_367, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(1004))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(3005))
.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(2694).saturating_mul(m.into()))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 2694).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(0, 2729).saturating_mul(a.into()))
}
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
@@ -147,8 +147,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `448`
// Estimated: `13506`
// Minimum execution time: 39_850 nanoseconds.
Weight::from_ref_time(40_227_000)
.saturating_add(Weight::from_proof_size(13506))
Weight::from_parts(40_227_000, 0)
.saturating_add(Weight::from_parts(0, 13506))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -169,8 +169,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `448`
// Estimated: `13506`
// Minimum execution time: 40_379 nanoseconds.
Weight::from_ref_time(41_110_000)
.saturating_add(Weight::from_proof_size(13506))
Weight::from_parts(41_110_000, 0)
.saturating_add(Weight::from_parts(0, 13506))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -197,8 +197,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `647`
// Estimated: `13652`
// Minimum execution time: 43_534 nanoseconds.
Weight::from_ref_time(43_846_000)
.saturating_add(Weight::from_proof_size(13652))
Weight::from_parts(43_846_000, 0)
.saturating_add(Weight::from_parts(0, 13652))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -225,8 +225,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `811`
// Estimated: `16109`
// Minimum execution time: 49_184 nanoseconds.
Weight::from_ref_time(49_935_000)
.saturating_add(Weight::from_proof_size(16109))
Weight::from_parts(49_935_000, 0)
.saturating_add(Weight::from_parts(0, 16109))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -242,14 +242,14 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `756 + i * (140 ±0)`
// Estimated: `5103 + i * (3336 ±0)`
// Minimum execution time: 15_668 nanoseconds.
Weight::from_ref_time(15_762_000)
.saturating_add(Weight::from_proof_size(5103))
Weight::from_parts(15_762_000, 0)
.saturating_add(Weight::from_parts(0, 5103))
// Standard Error: 12_791
.saturating_add(Weight::from_ref_time(12_224_567).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(12_224_567, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_proof_size(3336).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(0, 3336).saturating_mul(i.into()))
}
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
@@ -260,8 +260,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `401`
// Estimated: `5067`
// Minimum execution time: 18_861 nanoseconds.
Weight::from_ref_time(19_195_000)
.saturating_add(Weight::from_proof_size(5067))
Weight::from_parts(19_195_000, 0)
.saturating_add(Weight::from_parts(0, 5067))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -274,8 +274,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `401`
// Estimated: `5067`
// Minimum execution time: 18_710 nanoseconds.
Weight::from_ref_time(18_971_000)
.saturating_add(Weight::from_proof_size(5067))
Weight::from_parts(18_971_000, 0)
.saturating_add(Weight::from_parts(0, 5067))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -288,8 +288,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `289`
// Estimated: `5092`
// Minimum execution time: 17_067 nanoseconds.
Weight::from_ref_time(17_233_000)
.saturating_add(Weight::from_proof_size(5092))
Weight::from_parts(17_233_000, 0)
.saturating_add(Weight::from_parts(0, 5092))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -304,8 +304,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `381`
// Estimated: `5082`
// Minimum execution time: 21_203 nanoseconds.
Weight::from_ref_time(21_468_000)
.saturating_add(Weight::from_proof_size(5082))
Weight::from_parts(21_468_000, 0)
.saturating_add(Weight::from_parts(0, 5082))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -318,8 +318,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `362`
// Estimated: `2555`
// Minimum execution time: 24_304 nanoseconds.
Weight::from_ref_time(24_823_000)
.saturating_add(Weight::from_proof_size(2555))
Weight::from_parts(24_823_000, 0)
.saturating_add(Weight::from_parts(0, 2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -332,8 +332,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `304`
// Estimated: `2555`
// Minimum execution time: 17_173 nanoseconds.
Weight::from_ref_time(17_448_000)
.saturating_add(Weight::from_proof_size(2555))
Weight::from_parts(17_448_000, 0)
.saturating_add(Weight::from_parts(0, 2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -346,8 +346,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `242`
// Estimated: `2555`
// Minimum execution time: 13_697 nanoseconds.
Weight::from_ref_time(13_924_000)
.saturating_add(Weight::from_proof_size(2555))
Weight::from_parts(13_924_000, 0)
.saturating_add(Weight::from_parts(0, 2555))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -360,8 +360,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `445`
// Estimated: `5078`
// Minimum execution time: 18_063 nanoseconds.
Weight::from_ref_time(18_438_000)
.saturating_add(Weight::from_proof_size(5078))
Weight::from_parts(18_438_000, 0)
.saturating_add(Weight::from_parts(0, 5078))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -378,8 +378,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `474`
// Estimated: `10355`
// Minimum execution time: 37_582 nanoseconds.
Weight::from_ref_time(38_155_000)
.saturating_add(Weight::from_proof_size(10355))
Weight::from_parts(38_155_000, 0)
.saturating_add(Weight::from_parts(0, 10355))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -392,8 +392,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `337`
// Estimated: `5284`
// Minimum execution time: 24_392 nanoseconds.
Weight::from_ref_time(24_787_000)
.saturating_add(Weight::from_proof_size(5284))
Weight::from_parts(24_787_000, 0)
.saturating_add(Weight::from_parts(0, 5284))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -408,8 +408,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `724`
// Estimated: `7807`
// Minimum execution time: 34_564 nanoseconds.
Weight::from_ref_time(34_956_000)
.saturating_add(Weight::from_proof_size(7807))
Weight::from_parts(34_956_000, 0)
.saturating_add(Weight::from_parts(0, 7807))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -422,8 +422,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `379`
// Estimated: `6812`
// Minimum execution time: 17_194 nanoseconds.
Weight::from_ref_time(17_467_000)
.saturating_add(Weight::from_proof_size(6812))
Weight::from_parts(17_467_000, 0)
.saturating_add(Weight::from_parts(0, 6812))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -441,15 +441,15 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `828 + n * (204 ±0)`
// Estimated: `12144 + n * (2729 ±0)`
// Minimum execution time: 25_617 nanoseconds.
Weight::from_ref_time(25_917_000)
.saturating_add(Weight::from_proof_size(12144))
Weight::from_parts(25_917_000, 0)
.saturating_add(Weight::from_parts(0, 12144))
// Standard Error: 5_524
.saturating_add(Weight::from_ref_time(7_538_893).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(7_538_893, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2729).saturating_mul(n.into()))
}
/// Storage: Nfts Collection (r:1 w:1)
/// Proof: Nfts Collection (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
@@ -464,8 +464,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `474`
// Estimated: `10320`
// Minimum execution time: 32_053 nanoseconds.
Weight::from_ref_time(32_510_000)
.saturating_add(Weight::from_proof_size(10320))
Weight::from_parts(32_510_000, 0)
.saturating_add(Weight::from_parts(0, 10320))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -480,8 +480,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `688`
// Estimated: `7772`
// Minimum execution time: 30_654 nanoseconds.
Weight::from_ref_time(31_113_000)
.saturating_add(Weight::from_proof_size(7772))
Weight::from_parts(31_113_000, 0)
.saturating_add(Weight::from_parts(0, 7772))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -496,8 +496,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `333`
// Estimated: `7744`
// Minimum execution time: 27_700 nanoseconds.
Weight::from_ref_time(28_291_000)
.saturating_add(Weight::from_proof_size(7744))
Weight::from_parts(28_291_000, 0)
.saturating_add(Weight::from_parts(0, 7744))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -512,8 +512,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `555`
// Estimated: `7744`
// Minimum execution time: 27_483 nanoseconds.
Weight::from_ref_time(27_830_000)
.saturating_add(Weight::from_proof_size(7744))
Weight::from_parts(27_830_000, 0)
.saturating_add(Weight::from_parts(0, 7744))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -528,8 +528,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `466`
// Estimated: `8428`
// Minimum execution time: 23_623 nanoseconds.
Weight::from_ref_time(24_282_000)
.saturating_add(Weight::from_proof_size(8428))
Weight::from_parts(24_282_000, 0)
.saturating_add(Weight::from_parts(0, 8428))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -542,8 +542,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `474`
// Estimated: `5880`
// Minimum execution time: 21_115 nanoseconds.
Weight::from_ref_time(22_036_000)
.saturating_add(Weight::from_proof_size(5880))
Weight::from_parts(22_036_000, 0)
.saturating_add(Weight::from_parts(0, 5880))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -556,8 +556,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `474`
// Estimated: `5880`
// Minimum execution time: 20_352 nanoseconds.
Weight::from_ref_time(20_627_000)
.saturating_add(Weight::from_proof_size(5880))
Weight::from_parts(20_627_000, 0)
.saturating_add(Weight::from_parts(0, 5880))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -568,8 +568,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `42`
// Estimated: `2527`
// Minimum execution time: 14_427 nanoseconds.
Weight::from_ref_time(15_169_000)
.saturating_add(Weight::from_proof_size(2527))
Weight::from_parts(15_169_000, 0)
.saturating_add(Weight::from_parts(0, 2527))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -582,8 +582,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `333`
// Estimated: `5103`
// Minimum execution time: 18_049 nanoseconds.
Weight::from_ref_time(18_431_000)
.saturating_add(Weight::from_proof_size(5103))
Weight::from_parts(18_431_000, 0)
.saturating_add(Weight::from_parts(0, 5103))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -596,8 +596,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `333`
// Estimated: `5103`
// Minimum execution time: 17_166 nanoseconds.
Weight::from_ref_time(17_511_000)
.saturating_add(Weight::from_proof_size(5103))
Weight::from_parts(17_511_000, 0)
.saturating_add(Weight::from_parts(0, 5103))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -614,8 +614,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `516`
// Estimated: `8407`
// Minimum execution time: 22_556 nanoseconds.
Weight::from_ref_time(22_839_000)
.saturating_add(Weight::from_proof_size(8407))
Weight::from_parts(22_839_000, 0)
.saturating_add(Weight::from_parts(0, 8407))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -640,8 +640,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `897`
// Estimated: `16129`
// Minimum execution time: 53_554 nanoseconds.
Weight::from_ref_time(54_285_000)
.saturating_add(Weight::from_proof_size(16129))
Weight::from_parts(54_285_000, 0)
.saturating_add(Weight::from_parts(0, 16129))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -651,10 +651,10 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_031 nanoseconds.
Weight::from_ref_time(3_579_973)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(3_579_973, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 8_727
.saturating_add(Weight::from_ref_time(3_165_511).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(3_165_511, 0).saturating_mul(n.into()))
}
/// Storage: Nfts Item (r:2 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
@@ -665,8 +665,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `524`
// Estimated: `6672`
// Minimum execution time: 20_161 nanoseconds.
Weight::from_ref_time(20_487_000)
.saturating_add(Weight::from_proof_size(6672))
Weight::from_parts(20_487_000, 0)
.saturating_add(Weight::from_parts(0, 6672))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -679,8 +679,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `511`
// Estimated: `5882`
// Minimum execution time: 19_470 nanoseconds.
Weight::from_ref_time(19_832_000)
.saturating_add(Weight::from_proof_size(5882))
Weight::from_parts(19_832_000, 0)
.saturating_add(Weight::from_parts(0, 5882))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -705,8 +705,8 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `1026`
// Estimated: `21970`
// Minimum execution time: 78_114 nanoseconds.
Weight::from_ref_time(79_459_000)
.saturating_add(Weight::from_proof_size(21970))
Weight::from_parts(79_459_000, 0)
.saturating_add(Weight::from_parts(0, 21970))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(11))
}
@@ -732,15 +732,15 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `525`
// Estimated: `16259 + n * (2729 ±0)`
// Minimum execution time: 108_373 nanoseconds.
Weight::from_ref_time(112_094_892)
.saturating_add(Weight::from_proof_size(16259))
Weight::from_parts(112_094_892, 0)
.saturating_add(Weight::from_parts(0, 16259))
// Standard Error: 27_186
.saturating_add(Weight::from_ref_time(20_710_983).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(20_710_983, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(2729).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2729).saturating_mul(n.into()))
}
/// Storage: Nfts Item (r:1 w:0)
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
@@ -760,14 +760,14 @@ impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
// Measured: `716`
// Estimated: `14198 + n * (2921 ±0)`
// Minimum execution time: 84_153 nanoseconds.
Weight::from_ref_time(96_401_623)
.saturating_add(Weight::from_proof_size(14198))
Weight::from_parts(96_401_623, 0)
.saturating_add(Weight::from_parts(0, 14198))
// Standard Error: 70_244
.saturating_add(Weight::from_ref_time(26_866_222).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(26_866_222, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_proof_size(2921).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
}
}
@@ -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_854 nanoseconds.
Weight::from_ref_time(15_600_203)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(15_600_203, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_181
.saturating_add(Weight::from_ref_time(28_891).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(28_891, 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: 32_063 nanoseconds.
Weight::from_ref_time(32_624_200)
.saturating_add(Weight::from_proof_size(11027))
Weight::from_parts(32_624_200, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_727
.saturating_add(Weight::from_ref_time(113_689).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(113_689, 0).saturating_mul(a.into()))
// Standard Error: 1_785
.saturating_add(Weight::from_ref_time(29_618).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(29_618, 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_449 nanoseconds.
Weight::from_ref_time(21_345_957)
.saturating_add(Weight::from_proof_size(7311))
Weight::from_parts(21_345_957, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_390
.saturating_add(Weight::from_ref_time(105_313).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(105_313, 0).saturating_mul(a.into()))
// Standard Error: 1_436
.saturating_add(Weight::from_ref_time(9_437).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(9_437, 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_423 nanoseconds.
Weight::from_ref_time(21_290_701)
.saturating_add(Weight::from_proof_size(7311))
Weight::from_parts(21_290_701, 0)
.saturating_add(Weight::from_parts(0, 7311))
// Standard Error: 1_398
.saturating_add(Weight::from_ref_time(110_034).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(110_034, 0).saturating_mul(a.into()))
// Standard Error: 1_444
.saturating_add(Weight::from_ref_time(9_968).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(9_968, 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: 28_014 nanoseconds.
Weight::from_ref_time(28_864_371)
.saturating_add(Weight::from_proof_size(11027))
Weight::from_parts(28_864_371, 0)
.saturating_add(Weight::from_parts(0, 11027))
// Standard Error: 1_933
.saturating_add(Weight::from_ref_time(109_536).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(109_536, 0).saturating_mul(a.into()))
// Standard Error: 1_998
.saturating_add(Weight::from_ref_time(43_779).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(43_779, 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: 21_285 nanoseconds.
Weight::from_ref_time(22_065_300)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(22_065_300, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_703
.saturating_add(Weight::from_ref_time(42_186).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(42_186, 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_992 nanoseconds.
Weight::from_ref_time(22_026_633)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(22_026_633, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_663
.saturating_add(Weight::from_ref_time(60_910).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(60_910, 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_755 nanoseconds.
Weight::from_ref_time(17_775_492)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(17_775_492, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_281
.saturating_add(Weight::from_ref_time(28_738).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(28_738, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -198,8 +198,8 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `139`
// Estimated: `3716`
// Minimum execution time: 22_598 nanoseconds.
Weight::from_ref_time(23_639_320)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(23_639_320, 0)
.saturating_add(Weight::from_parts(0, 3716))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -211,10 +211,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
// Measured: `196 + p * (37 ±0)`
// Estimated: `3716`
// Minimum execution time: 17_907 nanoseconds.
Weight::from_ref_time(18_737_185)
.saturating_add(Weight::from_proof_size(3716))
Weight::from_parts(18_737_185, 0)
.saturating_add(Weight::from_parts(0, 3716))
// Standard Error: 1_069
.saturating_add(Weight::from_ref_time(26_491).saturating_mul(p.into()))
.saturating_add(Weight::from_parts(26_491, 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_416 nanoseconds.
Weight::from_ref_time(15_764_000)
.saturating_add(Weight::from_proof_size(5490))
Weight::from_parts(15_764_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_720 nanoseconds.
Weight::from_ref_time(12_152_000)
.saturating_add(Weight::from_proof_size(2959))
Weight::from_parts(12_152_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_384 nanoseconds.
Weight::from_ref_time(8_706_000)
.saturating_add(Weight::from_proof_size(1006))
Weight::from_parts(8_706_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_110 nanoseconds.
Weight::from_ref_time(3_206_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(3_206_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_302 nanoseconds.
Weight::from_ref_time(23_817_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(23_817_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: 12_529 nanoseconds.
Weight::from_ref_time(13_079_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_079_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_305_045 nanoseconds.
Weight::from_ref_time(2_312_341_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(2_312_341_000, 0)
.saturating_add(Weight::from_parts(0, 5250))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(8_440_544).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(8_440_544, 0).saturating_mul(n.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(223_194).saturating_mul(m.into()))
.saturating_add(Weight::from_parts(223_194, 0).saturating_mul(m.into()))
// Standard Error: 26_047
.saturating_add(Weight::from_ref_time(313_891).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(313_891, 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_581 nanoseconds.
Weight::from_ref_time(29_011_000)
.saturating_add(Weight::from_proof_size(7749))
Weight::from_parts(29_011_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: 29_869 nanoseconds.
Weight::from_ref_time(30_206_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(30_206_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: 23_945 nanoseconds.
Weight::from_ref_time(24_259_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(24_259_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: 13_847 nanoseconds.
Weight::from_ref_time(14_105_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(14_105_000, 0)
.saturating_add(Weight::from_parts(0, 2653))
// Standard Error: 12_887
.saturating_add(Weight::from_ref_time(12_017_604).saturating_mul(i.into()))
.saturating_add(Weight::from_parts(12_017_604, 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_259 nanoseconds.
Weight::from_ref_time(17_731_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(17_731_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: 16_951 nanoseconds.
Weight::from_ref_time(17_177_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(17_177_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: 12_733 nanoseconds.
Weight::from_ref_time(13_154_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_154_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: 12_624 nanoseconds.
Weight::from_ref_time(12_887_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(12_887_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_089 nanoseconds.
Weight::from_ref_time(20_583_000)
.saturating_add(Weight::from_proof_size(5180))
Weight::from_parts(20_583_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: 13_647 nanoseconds.
Weight::from_ref_time(13_894_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(13_894_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_035 nanoseconds.
Weight::from_ref_time(16_232_000)
.saturating_add(Weight::from_proof_size(2653))
Weight::from_parts(16_232_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: 33_357 nanoseconds.
Weight::from_ref_time(34_794_000)
.saturating_add(Weight::from_proof_size(7962))
Weight::from_parts(34_794_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: 32_496 nanoseconds.
Weight::from_ref_time(33_068_000)
.saturating_add(Weight::from_proof_size(7962))
Weight::from_parts(33_068_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: 25_557 nanoseconds.
Weight::from_ref_time(25_923_000)
.saturating_add(Weight::from_proof_size(5315))
Weight::from_parts(25_923_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: 26_147 nanoseconds.
Weight::from_ref_time(26_386_000)
.saturating_add(Weight::from_proof_size(5315))
Weight::from_parts(26_386_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: 25_233 nanoseconds.
Weight::from_ref_time(25_665_000)
.saturating_add(Weight::from_proof_size(5295))
Weight::from_parts(25_665_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: 24_311 nanoseconds.
Weight::from_ref_time(24_544_000)
.saturating_add(Weight::from_proof_size(5295))
Weight::from_parts(24_544_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: 18_197 nanoseconds.
Weight::from_ref_time(18_442_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(18_442_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: 18_606 nanoseconds.
Weight::from_ref_time(19_032_000)
.saturating_add(Weight::from_proof_size(5250))
Weight::from_parts(19_032_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_902 nanoseconds.
Weight::from_ref_time(15_216_000)
.saturating_add(Weight::from_proof_size(2527))
Weight::from_parts(15_216_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: 15_771 nanoseconds.
Weight::from_ref_time(16_013_000)
.saturating_add(Weight::from_proof_size(5152))
Weight::from_parts(16_013_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_703 nanoseconds.
Weight::from_ref_time(15_905_000)
.saturating_add(Weight::from_proof_size(2597))
Weight::from_parts(15_905_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: 33_712 nanoseconds.
Weight::from_ref_time(34_365_000)
.saturating_add(Weight::from_proof_size(7814))
Weight::from_parts(34_365_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_171 nanoseconds.
Weight::from_ref_time(14_264_475)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(14_264_475, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 3_826
.saturating_add(Weight::from_ref_time(4_102_412).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(4_102_412, 0).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 4_750 nanoseconds.
Weight::from_ref_time(4_872_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(4_872_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: 6_448 nanoseconds.
Weight::from_ref_time(20_274_161)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(20_274_161, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 4_587
.saturating_add(Weight::from_ref_time(4_321_327).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(4_321_327, 0).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_092 nanoseconds.
Weight::from_ref_time(8_417_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(8_417_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: 6_410 nanoseconds.
Weight::from_ref_time(19_538_670)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(19_538_670, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 4_387
.saturating_add(Weight::from_ref_time(4_098_456).saturating_mul(c.into()))
.saturating_add(Weight::from_parts(4_098_456, 0).saturating_mul(c.into()))
}
}
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `75`
// Estimated: `4830`
// Minimum execution time: 26_692 nanoseconds.
Weight::from_ref_time(27_382_000)
.saturating_add(Weight::from_proof_size(4830))
Weight::from_parts(27_382_000, 0)
.saturating_add(Weight::from_parts(0, 4830))
.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_056 nanoseconds.
Weight::from_ref_time(22_401_000)
.saturating_add(Weight::from_proof_size(499))
Weight::from_parts(22_401_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: 16_901 nanoseconds.
Weight::from_ref_time(17_262_000)
.saturating_add(Weight::from_proof_size(499))
Weight::from_parts(17_262_000, 0)
.saturating_add(Weight::from_parts(0, 499))
.saturating_add(T::DbWeight::get().reads(1))
}
fn execute() -> Weight {
@@ -94,8 +94,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_467 nanoseconds.
Weight::from_ref_time(8_708_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(8_708_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)
@@ -104,8 +104,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 8_532 nanoseconds.
Weight::from_ref_time(8_766_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(8_766_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
@@ -115,8 +115,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_399 nanoseconds.
Weight::from_ref_time(2_586_000)
.saturating_add(Weight::from_proof_size(0))
Weight::from_parts(2_586_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
@@ -140,8 +140,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `75`
// Estimated: `8025`
// Minimum execution time: 30_956 nanoseconds.
Weight::from_ref_time(31_602_000)
.saturating_add(Weight::from_proof_size(8025))
Weight::from_parts(31_602_000, 0)
.saturating_add(Weight::from_parts(0, 8025))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -164,8 +164,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `257`
// Estimated: `8729`
// Minimum execution time: 33_283 nanoseconds.
Weight::from_ref_time(34_433_000)
.saturating_add(Weight::from_proof_size(8729))
Weight::from_parts(34_433_000, 0)
.saturating_add(Weight::from_parts(0, 8729))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -176,8 +176,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `129`
// Estimated: `10029`
// Minimum execution time: 17_349 nanoseconds.
Weight::from_ref_time(18_701_000)
.saturating_add(Weight::from_proof_size(10029))
Weight::from_parts(18_701_000, 0)
.saturating_add(Weight::from_parts(0, 10029))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -188,8 +188,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `133`
// Estimated: `10033`
// Minimum execution time: 18_574 nanoseconds.
Weight::from_ref_time(19_071_000)
.saturating_add(Weight::from_proof_size(10033))
Weight::from_parts(19_071_000, 0)
.saturating_add(Weight::from_parts(0, 10033))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -200,8 +200,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `140`
// Estimated: `12515`
// Minimum execution time: 22_520 nanoseconds.
Weight::from_ref_time(23_083_000)
.saturating_add(Weight::from_proof_size(12515))
Weight::from_parts(23_083_000, 0)
.saturating_add(Weight::from_parts(0, 12515))
.saturating_add(T::DbWeight::get().reads(5))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
@@ -221,8 +221,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `142`
// Estimated: `10257`
// Minimum execution time: 39_510 nanoseconds.
Weight::from_ref_time(40_272_000)
.saturating_add(Weight::from_proof_size(10257))
Weight::from_parts(40_272_000, 0)
.saturating_add(Weight::from_parts(0, 10257))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -233,8 +233,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `172`
// Estimated: `7597`
// Minimum execution time: 11_057 nanoseconds.
Weight::from_ref_time(11_408_000)
.saturating_add(Weight::from_proof_size(7597))
Weight::from_parts(11_408_000, 0)
.saturating_add(Weight::from_parts(0, 7597))
.saturating_add(T::DbWeight::get().reads(3))
}
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
@@ -244,8 +244,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `140`
// Estimated: `10040`
// Minimum execution time: 22_914 nanoseconds.
Weight::from_ref_time(23_231_000)
.saturating_add(Weight::from_proof_size(10040))
Weight::from_parts(23_231_000, 0)
.saturating_add(Weight::from_parts(0, 10040))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -266,8 +266,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
// Measured: `146`
// Estimated: `15231`
// Minimum execution time: 47_637 nanoseconds.
Weight::from_ref_time(48_179_000)
.saturating_add(Weight::from_proof_size(15231))
Weight::from_parts(48_179_000, 0)
.saturating_add(Weight::from_parts(0, 15231))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for WestmintXcmWeight<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 WestmintXcmWeight<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(20_735_000 as u64)
Weight::from_parts(20_735_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(28_940_000 as u64)
Weight::from_parts(28_940_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(50_175_000 as u64)
Weight::from_parts(50_175_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_059_000 as u64)
Weight::from_parts(4_059_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_181_000 as u64)
Weight::from_parts(22_181_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(45_905_000 as u64)
Weight::from_parts(45_905_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(29_820_000 as u64)
Weight::from_parts(29_820_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(360_208_000 as u64)
Weight::from_parts(360_208_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_876_000 as u64)
Weight::from_parts(3_876_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(11_240_000 as u64)
Weight::from_parts(11_240_000 as u64, 0)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
pub(crate) fn transact() -> Weight {
Weight::from_ref_time(12_244_000 as u64)
Weight::from_parts(12_244_000 as u64, 0)
}
pub(crate) fn refund_surplus() -> Weight {
Weight::from_ref_time(3_963_000 as u64)
Weight::from_parts(3_963_000 as u64, 0)
}
pub(crate) fn set_error_handler() -> Weight {
Weight::from_ref_time(2_871_000 as u64)
Weight::from_parts(2_871_000 as u64, 0)
}
pub(crate) fn set_appendix() -> Weight {
Weight::from_ref_time(2_805_000 as u64)
Weight::from_parts(2_805_000 as u64, 0)
}
pub(crate) fn clear_error() -> Weight {
Weight::from_ref_time(2_759_000 as u64)
Weight::from_parts(2_759_000 as u64, 0)
}
pub(crate) fn descend_origin() -> Weight {
Weight::from_ref_time(3_596_000 as u64)
Weight::from_parts(3_596_000 as u64, 0)
}
pub(crate) fn clear_origin() -> Weight {
Weight::from_ref_time(2_750_000 as u64)
Weight::from_parts(2_750_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(24_921_000 as u64)
Weight::from_parts(24_921_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(15_880_000 as u64)
Weight::from_parts(15_880_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_771_000 as u64)
Weight::from_parts(2_771_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(27_043_000 as u64)
Weight::from_parts(27_043_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_668_000 as u64)
Weight::from_parts(4_668_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(399_081_000 as u64)
Weight::from_parts(399_081_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(123_792_000 as u64)
Weight::from_parts(123_792_000 as u64, 0)
}
pub(crate) fn expect_asset() -> Weight {
Weight::from_ref_time(13_056_000 as u64)
Weight::from_parts(13_056_000 as u64, 0)
}
pub(crate) fn expect_origin() -> Weight {
Weight::from_ref_time(2_780_000 as u64)
Weight::from_parts(2_780_000 as u64, 0)
}
pub(crate) fn expect_error() -> Weight {
Weight::from_ref_time(2_839_000 as u64)
Weight::from_parts(2_839_000 as u64, 0)
}
pub(crate) fn expect_transact_status() -> Weight {
Weight::from_ref_time(2_951_000 as u64)
Weight::from_parts(2_951_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(28_130_000 as u64)
Weight::from_parts(28_130_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_754_000 as u64)
Weight::from_parts(4_754_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(25_584_000 as u64)
Weight::from_parts(25_584_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_832_000 as u64)
Weight::from_parts(2_832_000 as u64, 0)
}
pub(crate) fn set_topic() -> Weight {
Weight::from_ref_time(2_804_000 as u64)
Weight::from_parts(2_804_000 as u64, 0)
}
pub(crate) fn clear_topic() -> Weight {
Weight::from_ref_time(2_747_000 as u64)
Weight::from_parts(2_747_000 as u64, 0)
}
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(2_736_000 as u64)
Weight::from_parts(2_736_000 as u64, 0)
}
pub(crate) fn unpaid_execution() -> Weight {
Weight::from_ref_time(2_969_000 as u64)
Weight::from_parts(2_969_000 as u64, 0)
}
}
@@ -64,7 +64,7 @@ fn test_asset_xcm_trader() {
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
// We are going to buy 4e9 weight
let bought = Weight::from_ref_time(4_000_000_000u64);
let bought = Weight::from_parts(4_000_000_000u64, 0);
// Lets calculate amount needed
let asset_amount_needed =
@@ -143,7 +143,7 @@ fn test_asset_xcm_trader_with_refund() {
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
// We are going to buy 4e9 weight
let bought = Weight::from_ref_time(4_000_000_000u64);
let bought = Weight::from_parts(4_000_000_000u64, 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
// lets calculate amount needed
@@ -212,7 +212,7 @@ fn test_asset_xcm_trader_refund_not_possible_since_amount_less_than_ed() {
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
// We are going to buy 5e9 weight
let bought = Weight::from_ref_time(500_000_000u64);
let bought = Weight::from_parts(500_000_000u64, 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
@@ -262,7 +262,7 @@ fn test_that_buying_ed_refund_does_not_refund() {
// Set Alice as block author, who will receive fees
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
let bought = Weight::from_ref_time(500_000_000u64);
let bought = Weight::from_parts(500_000_000u64, 0);
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
@@ -334,7 +334,7 @@ fn test_asset_xcm_trader_not_possible_for_non_sufficient_assets() {
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
// We are going to buy 4e9 weight
let bought = Weight::from_ref_time(4_000_000_000u64);
let bought = Weight::from_parts(4_000_000_000u64, 0);
// lets calculate amount needed
let asset_amount_needed = WeightToFee::weight_to_fee(&bought);