mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
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:
committed by
GitHub
parent
cf3ddb831c
commit
70a0864e4c
@@ -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)]
|
||||
|
||||
+4
-4
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_956 nanoseconds.
|
||||
Weight::from_ref_time(5_108_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_108_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_945 nanoseconds.
|
||||
Weight::from_ref_time(5_080_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_080_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_524 nanoseconds.
|
||||
Weight::from_ref_time(1_612_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_612_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(413).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(413, 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_865 nanoseconds.
|
||||
Weight::from_ref_time(6_939_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_939_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_762).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(1_762, 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_490 nanoseconds.
|
||||
Weight::from_ref_time(3_688_000)
|
||||
.saturating_add(Weight::from_proof_size(495))
|
||||
Weight::from_parts(3_688_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_683 nanoseconds.
|
||||
Weight::from_ref_time(1_726_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_726_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_736
|
||||
.saturating_add(Weight::from_ref_time(582_823).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(582_823, 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_711 nanoseconds.
|
||||
Weight::from_ref_time(1_787_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_787_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 779
|
||||
.saturating_add(Weight::from_ref_time(445_878).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(445_878, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -119,11 +119,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `81 + p * (69 ±0)`
|
||||
// Estimated: `72 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_428 nanoseconds.
|
||||
Weight::from_ref_time(3_492_000)
|
||||
.saturating_add(Weight::from_proof_size(72))
|
||||
Weight::from_parts(3_492_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 72))
|
||||
// Standard Error: 991
|
||||
.saturating_add(Weight::from_ref_time(953_258).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(953_258, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `141`
|
||||
// Estimated: `5288`
|
||||
// Minimum execution time: 21_487 nanoseconds.
|
||||
Weight::from_ref_time(21_977_000)
|
||||
.saturating_add(Weight::from_proof_size(5288))
|
||||
Weight::from_parts(21_977_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_630 nanoseconds.
|
||||
Weight::from_ref_time(10_963_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(10_963_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_627 nanoseconds.
|
||||
Weight::from_ref_time(13_906_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(13_906_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -97,15 +97,15 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0 + c * (240 ±0)`
|
||||
// Estimated: `5262 + c * (5180 ±0)`
|
||||
// Minimum execution time: 15_861 nanoseconds.
|
||||
Weight::from_ref_time(16_079_000)
|
||||
.saturating_add(Weight::from_proof_size(5262))
|
||||
Weight::from_parts(16_079_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
// Standard Error: 10_732
|
||||
.saturating_add(Weight::from_ref_time(14_192_928).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(14_192_928, 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_455 nanoseconds.
|
||||
Weight::from_ref_time(16_720_000)
|
||||
.saturating_add(Weight::from_proof_size(5308))
|
||||
Weight::from_parts(16_720_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
// Standard Error: 7_111
|
||||
.saturating_add(Weight::from_ref_time(13_717_750).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(13_717_750, 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_819 nanoseconds.
|
||||
Weight::from_ref_time(13_111_000)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(13_111_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -150,8 +150,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `275`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 22_897 nanoseconds.
|
||||
Weight::from_ref_time(23_386_000)
|
||||
.saturating_add(Weight::from_proof_size(5262))
|
||||
Weight::from_parts(23_386_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5262))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -164,8 +164,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `383`
|
||||
// Estimated: `5262`
|
||||
// Minimum execution time: 28_432 nanoseconds.
|
||||
Weight::from_ref_time(28_903_000)
|
||||
.saturating_add(Weight::from_proof_size(5262))
|
||||
Weight::from_parts(28_903_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: 39_823 nanoseconds.
|
||||
Weight::from_ref_time(40_380_000)
|
||||
.saturating_add(Weight::from_proof_size(10442))
|
||||
Weight::from_parts(40_380_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_924 nanoseconds.
|
||||
Weight::from_ref_time(35_584_000)
|
||||
.saturating_add(Weight::from_proof_size(10442))
|
||||
Weight::from_parts(35_584_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: 39_647 nanoseconds.
|
||||
Weight::from_ref_time(40_611_000)
|
||||
.saturating_add(Weight::from_proof_size(10442))
|
||||
Weight::from_parts(40_611_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_462 nanoseconds.
|
||||
Weight::from_ref_time(16_821_000)
|
||||
.saturating_add(Weight::from_proof_size(5262))
|
||||
Weight::from_parts(16_821_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_416 nanoseconds.
|
||||
Weight::from_ref_time(16_758_000)
|
||||
.saturating_add(Weight::from_proof_size(5262))
|
||||
Weight::from_parts(16_758_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_853 nanoseconds.
|
||||
Weight::from_ref_time(13_257_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(13_257_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_422 nanoseconds.
|
||||
Weight::from_ref_time(12_763_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(12_763_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_950 nanoseconds.
|
||||
Weight::from_ref_time(14_242_000)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(14_242_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_726 nanoseconds.
|
||||
Weight::from_ref_time(13_072_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(13_072_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_772 nanoseconds.
|
||||
Weight::from_ref_time(24_026_274)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(24_026_274, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Standard Error: 1_231
|
||||
.saturating_add(Weight::from_ref_time(203).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(203, 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: 23_310 nanoseconds.
|
||||
Weight::from_ref_time(23_724_000)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(23_724_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -338,12 +338,12 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `82`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 12_379 nanoseconds.
|
||||
Weight::from_ref_time(12_903_065)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(12_903_065, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
// Standard Error: 330
|
||||
.saturating_add(Weight::from_ref_time(667).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(667, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 330
|
||||
.saturating_add(Weight::from_ref_time(2_891).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(2_891, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -356,8 +356,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `471`
|
||||
// Estimated: `5300`
|
||||
// Minimum execution time: 23_531 nanoseconds.
|
||||
Weight::from_ref_time(23_845_000)
|
||||
.saturating_add(Weight::from_proof_size(5300))
|
||||
Weight::from_parts(23_845_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5300))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -368,8 +368,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `275`
|
||||
// Estimated: `2685`
|
||||
// Minimum execution time: 12_426 nanoseconds.
|
||||
Weight::from_ref_time(12_888_000)
|
||||
.saturating_add(Weight::from_proof_size(2685))
|
||||
Weight::from_parts(12_888_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2685))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -382,8 +382,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `309`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 26_365 nanoseconds.
|
||||
Weight::from_ref_time(26_700_000)
|
||||
.saturating_add(Weight::from_proof_size(5308))
|
||||
Weight::from_parts(26_700_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -400,8 +400,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `553`
|
||||
// Estimated: `13065`
|
||||
// Minimum execution time: 53_167 nanoseconds.
|
||||
Weight::from_ref_time(53_564_000)
|
||||
.saturating_add(Weight::from_proof_size(13065))
|
||||
Weight::from_parts(53_564_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 13065))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -414,8 +414,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `479`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 28_120 nanoseconds.
|
||||
Weight::from_ref_time(28_540_000)
|
||||
.saturating_add(Weight::from_proof_size(5308))
|
||||
Weight::from_parts(28_540_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -428,8 +428,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `479`
|
||||
// Estimated: `5308`
|
||||
// Minimum execution time: 28_503 nanoseconds.
|
||||
Weight::from_ref_time(28_988_000)
|
||||
.saturating_add(Weight::from_proof_size(5308))
|
||||
Weight::from_parts(28_988_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5308))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -440,8 +440,8 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `383`
|
||||
// Estimated: `3675`
|
||||
// Minimum execution time: 16_213 nanoseconds.
|
||||
Weight::from_ref_time(16_575_000)
|
||||
.saturating_add(Weight::from_proof_size(3675))
|
||||
Weight::from_parts(16_575_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3675))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
|
||||
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1178`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 46_493 nanoseconds.
|
||||
Weight::from_ref_time(47_804_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(47_804_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1062`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 35_020 nanoseconds.
|
||||
Weight::from_ref_time(35_462_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(35_462_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 26_282 nanoseconds.
|
||||
Weight::from_ref_time(26_915_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(26_915_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 29_529 nanoseconds.
|
||||
Weight::from_ref_time(30_135_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(30_135_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 46_969 nanoseconds.
|
||||
Weight::from_ref_time(47_657_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
Weight::from_parts(47_657_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5206))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1062`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 41_398 nanoseconds.
|
||||
Weight::from_ref_time(42_012_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(42_012_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1058`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 22_969 nanoseconds.
|
||||
Weight::from_ref_time(23_548_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(23_548_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+22
-22
@@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `178 + b * (78 ±0)`
|
||||
// Estimated: `178 + b * (2554 ±0)`
|
||||
// Minimum execution time: 14_234 nanoseconds.
|
||||
Weight::from_ref_time(15_794_150)
|
||||
.saturating_add(Weight::from_proof_size(178))
|
||||
Weight::from_parts(15_794_150, 0)
|
||||
.saturating_add(Weight::from_parts(0, 178))
|
||||
// Standard Error: 4_000
|
||||
.saturating_add(Weight::from_ref_time(2_477_800).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(2_477_800, 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: 7_190 nanoseconds.
|
||||
Weight::from_ref_time(7_441_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(7_441_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_495 nanoseconds.
|
||||
Weight::from_ref_time(7_666_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(7_666_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_713 nanoseconds.
|
||||
Weight::from_ref_time(27_978_009)
|
||||
.saturating_add(Weight::from_proof_size(56784))
|
||||
Weight::from_parts(27_978_009, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56784))
|
||||
// Standard Error: 1_293
|
||||
.saturating_add(Weight::from_ref_time(111_881).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(111_881, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
@@ -123,10 +123,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `536 + c * (48 ±0)`
|
||||
// Estimated: `48497`
|
||||
// Minimum execution time: 27_164 nanoseconds.
|
||||
Weight::from_ref_time(16_901_858)
|
||||
.saturating_add(Weight::from_proof_size(48497))
|
||||
Weight::from_parts(16_901_858, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48497))
|
||||
// Standard Error: 1_312
|
||||
.saturating_add(Weight::from_ref_time(108_799).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(108_799, 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: 26_007 nanoseconds.
|
||||
Weight::from_ref_time(26_416_000)
|
||||
.saturating_add(Weight::from_proof_size(5749))
|
||||
Weight::from_parts(26_416_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -163,15 +163,15 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `22784 + r * (148 ±0) + c * (97 ±0)`
|
||||
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
|
||||
// Minimum execution time: 16_056 nanoseconds.
|
||||
Weight::from_ref_time(16_335_000)
|
||||
.saturating_add(Weight::from_proof_size(52737))
|
||||
Weight::from_parts(16_335_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 52737))
|
||||
// Standard Error: 806_799
|
||||
.saturating_add(Weight::from_ref_time(29_195_677).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(29_195_677, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(r.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 12_185 nanoseconds.
|
||||
Weight::from_ref_time(12_423_059)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(12_423_059, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(596).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(596, 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_394 nanoseconds.
|
||||
Weight::from_ref_time(28_339_222)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_339_222, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 525
|
||||
.saturating_add(Weight::from_ref_time(76_810).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(76_810, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_641).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_641, 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_605 nanoseconds.
|
||||
Weight::from_ref_time(19_882_694)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(19_882_694, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 486
|
||||
.saturating_add(Weight::from_ref_time(73_686).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(73_686, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_615).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_615, 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: 40_558 nanoseconds.
|
||||
Weight::from_ref_time(31_782_538)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
Weight::from_parts(31_782_538, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8424))
|
||||
// Standard Error: 587
|
||||
.saturating_add(Weight::from_ref_time(94_913).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(94_913, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_647).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_647, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `318 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 24_889 nanoseconds.
|
||||
Weight::from_ref_time(27_183_432)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(27_183_432, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 835
|
||||
.saturating_add(Weight::from_ref_time(79_518).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(79_518, 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_143 nanoseconds.
|
||||
Weight::from_ref_time(18_532_968)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(18_532_968, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 632
|
||||
.saturating_add(Weight::from_ref_time(75_565).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(75_565, 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: 26_917 nanoseconds.
|
||||
Weight::from_ref_time(28_425_612)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_425_612, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 685
|
||||
.saturating_add(Weight::from_ref_time(81_581).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(81_581, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
@@ -55,10 +55,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `159 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 15_168 nanoseconds.
|
||||
Weight::from_ref_time(15_986_761)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(15_986_761, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
// Standard Error: 2_885
|
||||
.saturating_add(Weight::from_ref_time(12_185).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(12_185, 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_310 nanoseconds.
|
||||
Weight::from_ref_time(32_466_194)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
Weight::from_parts(32_466_194, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11027))
|
||||
// Standard Error: 1_813
|
||||
.saturating_add(Weight::from_ref_time(120_725).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(120_725, 0).saturating_mul(a.into()))
|
||||
// Standard Error: 1_873
|
||||
.saturating_add(Weight::from_ref_time(32_578).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(32_578, 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_363 nanoseconds.
|
||||
Weight::from_ref_time(21_135_277)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
Weight::from_parts(21_135_277, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7311))
|
||||
// Standard Error: 1_404
|
||||
.saturating_add(Weight::from_ref_time(120_045).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(120_045, 0).saturating_mul(a.into()))
|
||||
// Standard Error: 1_450
|
||||
.saturating_add(Weight::from_ref_time(8_992).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(8_992, 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_086 nanoseconds.
|
||||
Weight::from_ref_time(21_145_287)
|
||||
.saturating_add(Weight::from_proof_size(7311))
|
||||
Weight::from_parts(21_145_287, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7311))
|
||||
// Standard Error: 1_612
|
||||
.saturating_add(Weight::from_ref_time(113_598).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(113_598, 0).saturating_mul(a.into()))
|
||||
// Standard Error: 1_666
|
||||
.saturating_add(Weight::from_ref_time(11_520).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(11_520, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -136,12 +136,12 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `482 + a * (68 ±0) + p * (37 ±0)`
|
||||
// Estimated: `11027`
|
||||
// Minimum execution time: 27_819 nanoseconds.
|
||||
Weight::from_ref_time(28_662_588)
|
||||
.saturating_add(Weight::from_proof_size(11027))
|
||||
Weight::from_parts(28_662_588, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11027))
|
||||
// Standard Error: 2_297
|
||||
.saturating_add(Weight::from_ref_time(128_485).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(128_485, 0).saturating_mul(a.into()))
|
||||
// Standard Error: 2_373
|
||||
.saturating_add(Weight::from_ref_time(47_044).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(47_044, 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_187 nanoseconds.
|
||||
Weight::from_ref_time(22_430_290)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(22_430_290, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
// Standard Error: 6_530
|
||||
.saturating_add(Weight::from_ref_time(43_133).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(43_133, 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_985 nanoseconds.
|
||||
Weight::from_ref_time(21_852_273)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(21_852_273, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
// Standard Error: 1_662
|
||||
.saturating_add(Weight::from_ref_time(66_644).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(66_644, 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_958 nanoseconds.
|
||||
Weight::from_ref_time(17_752_361)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(17_752_361, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
// Standard Error: 1_173
|
||||
.saturating_add(Weight::from_ref_time(25_691).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(25_691, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -198,10 +198,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `139`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 23_055 nanoseconds.
|
||||
Weight::from_ref_time(23_892_965)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(23_892_965, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
// Standard Error: 1_390
|
||||
.saturating_add(Weight::from_ref_time(16_195).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(16_195, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -213,8 +213,8 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `196 + p * (37 ±0)`
|
||||
// Estimated: `3716`
|
||||
// Minimum execution time: 18_344 nanoseconds.
|
||||
Weight::from_ref_time(20_533_110)
|
||||
.saturating_add(Weight::from_proof_size(3716))
|
||||
Weight::from_parts(20_533_110, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3716))
|
||||
.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_187 nanoseconds.
|
||||
Weight::from_ref_time(15_459_000)
|
||||
.saturating_add(Weight::from_proof_size(5490))
|
||||
Weight::from_parts(15_459_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_795 nanoseconds.
|
||||
Weight::from_ref_time(11_994_000)
|
||||
.saturating_add(Weight::from_proof_size(2959))
|
||||
Weight::from_parts(11_994_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_408 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_185 nanoseconds.
|
||||
Weight::from_ref_time(3_282_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(3_282_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: 24_517 nanoseconds.
|
||||
Weight::from_ref_time(24_884_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(24_884_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2653))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `42`
|
||||
// Estimated: `2653`
|
||||
// Minimum execution time: 13_312 nanoseconds.
|
||||
Weight::from_ref_time(13_652_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(13_652_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_287_290 nanoseconds.
|
||||
Weight::from_ref_time(2_319_526_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(2_319_526_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
// Standard Error: 25_275
|
||||
.saturating_add(Weight::from_ref_time(8_587_226).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(8_587_226, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 25_275
|
||||
.saturating_add(Weight::from_ref_time(193_381).saturating_mul(m.into()))
|
||||
.saturating_add(Weight::from_parts(193_381, 0).saturating_mul(m.into()))
|
||||
// Standard Error: 25_275
|
||||
.saturating_add(Weight::from_ref_time(296_151).saturating_mul(a.into()))
|
||||
.saturating_add(Weight::from_parts(296_151, 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: 29_225 nanoseconds.
|
||||
Weight::from_ref_time(29_894_000)
|
||||
.saturating_add(Weight::from_proof_size(7749))
|
||||
Weight::from_parts(29_894_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `492`
|
||||
// Estimated: `5250`
|
||||
// Minimum execution time: 30_673 nanoseconds.
|
||||
Weight::from_ref_time(31_553_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(31_553_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -164,8 +164,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `492`
|
||||
// Estimated: `5250`
|
||||
// Minimum execution time: 24_944 nanoseconds.
|
||||
Weight::from_ref_time(25_233_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(25_233_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -179,15 +179,15 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `770 + i * (108 ±0)`
|
||||
// Estimated: `2653 + i * (2597 ±0)`
|
||||
// Minimum execution time: 14_364 nanoseconds.
|
||||
Weight::from_ref_time(14_520_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(14_520_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2653))
|
||||
// Standard Error: 12_908
|
||||
.saturating_add(Weight::from_ref_time(12_176_880).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(12_176_880, 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_798 nanoseconds.
|
||||
Weight::from_ref_time(18_009_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(18_009_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -212,8 +212,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `492`
|
||||
// Estimated: `5250`
|
||||
// Minimum execution time: 17_924 nanoseconds.
|
||||
Weight::from_ref_time(18_168_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(18_168_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -224,8 +224,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314`
|
||||
// Estimated: `2653`
|
||||
// Minimum execution time: 13_425 nanoseconds.
|
||||
Weight::from_ref_time(13_846_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(13_846_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2653))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -236,8 +236,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314`
|
||||
// Estimated: `2653`
|
||||
// Minimum execution time: 13_484 nanoseconds.
|
||||
Weight::from_ref_time(13_715_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(13_715_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: 21_132 nanoseconds.
|
||||
Weight::from_ref_time(21_421_000)
|
||||
.saturating_add(Weight::from_proof_size(5180))
|
||||
Weight::from_parts(21_421_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_763 nanoseconds.
|
||||
Weight::from_ref_time(14_136_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(14_136_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_125 nanoseconds.
|
||||
Weight::from_ref_time(16_516_000)
|
||||
.saturating_add(Weight::from_proof_size(2653))
|
||||
Weight::from_parts(16_516_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2653))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -294,8 +294,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `623`
|
||||
// Estimated: `7962`
|
||||
// Minimum execution time: 34_408 nanoseconds.
|
||||
Weight::from_ref_time(34_820_000)
|
||||
.saturating_add(Weight::from_proof_size(7962))
|
||||
Weight::from_parts(34_820_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: 33_385 nanoseconds.
|
||||
Weight::from_ref_time(34_088_000)
|
||||
.saturating_add(Weight::from_proof_size(7962))
|
||||
Weight::from_parts(34_088_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: 27_303 nanoseconds.
|
||||
Weight::from_ref_time(27_692_000)
|
||||
.saturating_add(Weight::from_proof_size(5315))
|
||||
Weight::from_parts(27_692_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5315))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -338,8 +338,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `623`
|
||||
// Estimated: `5315`
|
||||
// Minimum execution time: 27_530 nanoseconds.
|
||||
Weight::from_ref_time(28_122_000)
|
||||
.saturating_add(Weight::from_proof_size(5315))
|
||||
Weight::from_parts(28_122_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5315))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -352,8 +352,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314`
|
||||
// Estimated: `5295`
|
||||
// Minimum execution time: 26_384 nanoseconds.
|
||||
Weight::from_ref_time(27_285_000)
|
||||
.saturating_add(Weight::from_proof_size(5295))
|
||||
Weight::from_parts(27_285_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_599 nanoseconds.
|
||||
Weight::from_ref_time(24_992_000)
|
||||
.saturating_add(Weight::from_proof_size(5295))
|
||||
Weight::from_parts(24_992_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5295))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -380,8 +380,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `492`
|
||||
// Estimated: `5250`
|
||||
// Minimum execution time: 19_754 nanoseconds.
|
||||
Weight::from_ref_time(20_071_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(20_071_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5250))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -394,8 +394,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `525`
|
||||
// Estimated: `5250`
|
||||
// Minimum execution time: 19_376 nanoseconds.
|
||||
Weight::from_ref_time(19_716_000)
|
||||
.saturating_add(Weight::from_proof_size(5250))
|
||||
Weight::from_parts(19_716_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: 15_069 nanoseconds.
|
||||
Weight::from_ref_time(15_273_000)
|
||||
.saturating_add(Weight::from_proof_size(2527))
|
||||
Weight::from_parts(15_273_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_900 nanoseconds.
|
||||
Weight::from_ref_time(16_182_000)
|
||||
.saturating_add(Weight::from_proof_size(5152))
|
||||
Weight::from_parts(16_182_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_789 nanoseconds.
|
||||
Weight::from_ref_time(16_115_000)
|
||||
.saturating_add(Weight::from_proof_size(2597))
|
||||
Weight::from_parts(16_115_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2597))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -452,8 +452,8 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `636`
|
||||
// Estimated: `7814`
|
||||
// Minimum execution time: 34_557 nanoseconds.
|
||||
Weight::from_ref_time(34_927_000)
|
||||
.saturating_add(Weight::from_proof_size(7814))
|
||||
Weight::from_parts(34_927_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_416 nanoseconds.
|
||||
Weight::from_ref_time(18_983_305)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(18_983_305, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_082
|
||||
.saturating_add(Weight::from_ref_time(4_175_368).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_175_368, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_581 nanoseconds.
|
||||
Weight::from_ref_time(4_767_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(4_767_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_279 nanoseconds.
|
||||
Weight::from_ref_time(21_320_216)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(21_320_216, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_995
|
||||
.saturating_add(Weight::from_ref_time(4_376_040).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_376_040, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_298 nanoseconds.
|
||||
Weight::from_ref_time(8_522_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_522_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_311 nanoseconds.
|
||||
Weight::from_ref_time(16_307_926)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(16_307_926, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_381
|
||||
.saturating_add(Weight::from_ref_time(4_172_851).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_172_851, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `4645`
|
||||
// Minimum execution time: 25_244 nanoseconds.
|
||||
Weight::from_ref_time(25_671_000)
|
||||
.saturating_add(Weight::from_proof_size(4645))
|
||||
Weight::from_parts(25_671_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4645))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 25_183 nanoseconds.
|
||||
Weight::from_ref_time(25_684_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
Weight::from_parts(25_684_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: 18_819 nanoseconds.
|
||||
Weight::from_ref_time(19_048_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
Weight::from_parts(19_048_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 499))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
@@ -96,8 +96,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(18_446_744_073_709_551_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -106,8 +106,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_636 nanoseconds.
|
||||
Weight::from_ref_time(8_906_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_906_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
|
||||
@@ -117,8 +117,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_486 nanoseconds.
|
||||
Weight::from_ref_time(2_652_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(2_652_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
@@ -142,8 +142,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `7729`
|
||||
// Minimum execution time: 29_811 nanoseconds.
|
||||
Weight::from_ref_time(30_291_000)
|
||||
.saturating_add(Weight::from_proof_size(7729))
|
||||
Weight::from_parts(30_291_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7729))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -166,8 +166,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `220`
|
||||
// Estimated: `8470`
|
||||
// Minimum execution time: 31_884 nanoseconds.
|
||||
Weight::from_ref_time(32_567_000)
|
||||
.saturating_add(Weight::from_proof_size(8470))
|
||||
Weight::from_parts(32_567_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8470))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -178,8 +178,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `95`
|
||||
// Estimated: `9995`
|
||||
// Minimum execution time: 14_098 nanoseconds.
|
||||
Weight::from_ref_time(14_349_000)
|
||||
.saturating_add(Weight::from_proof_size(9995))
|
||||
Weight::from_parts(14_349_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9995))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -190,8 +190,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `99`
|
||||
// Estimated: `9999`
|
||||
// Minimum execution time: 14_117 nanoseconds.
|
||||
Weight::from_ref_time(14_383_000)
|
||||
.saturating_add(Weight::from_proof_size(9999))
|
||||
Weight::from_parts(14_383_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9999))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -202,8 +202,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `12481`
|
||||
// Minimum execution time: 15_353 nanoseconds.
|
||||
Weight::from_ref_time(15_558_000)
|
||||
.saturating_add(Weight::from_proof_size(12481))
|
||||
Weight::from_parts(15_558_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 12481))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
|
||||
@@ -223,8 +223,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `10041`
|
||||
// Minimum execution time: 28_752 nanoseconds.
|
||||
Weight::from_ref_time(29_435_000)
|
||||
.saturating_add(Weight::from_proof_size(10041))
|
||||
Weight::from_parts(29_435_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10041))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -235,8 +235,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `136`
|
||||
// Estimated: `7561`
|
||||
// Minimum execution time: 7_143 nanoseconds.
|
||||
Weight::from_ref_time(7_368_000)
|
||||
.saturating_add(Weight::from_proof_size(7561))
|
||||
Weight::from_parts(7_368_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7561))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
@@ -246,8 +246,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `10006`
|
||||
// Minimum execution time: 14_381 nanoseconds.
|
||||
Weight::from_ref_time(14_582_000)
|
||||
.saturating_add(Weight::from_proof_size(10006))
|
||||
Weight::from_parts(14_582_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10006))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -268,8 +268,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `112`
|
||||
// Estimated: `15027`
|
||||
// Minimum execution time: 34_190 nanoseconds.
|
||||
Weight::from_ref_time(34_889_000)
|
||||
.saturating_add(Weight::from_proof_size(15027))
|
||||
Weight::from_parts(34_889_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15027))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for StatemineXcmWeight<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 StatemineXcmWeight<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)
|
||||
}
|
||||
|
||||
+7
-7
@@ -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(22_035_000 as u64)
|
||||
Weight::from_parts(22_035_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(54_300_000 as u64)
|
||||
Weight::from_parts(54_300_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(78_569_000 as u64)
|
||||
Weight::from_parts(78_569_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_652_000 as u64)
|
||||
Weight::from_parts(4_652_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(23_684_000 as u64)
|
||||
Weight::from_parts(23_684_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_884_000 as u64)
|
||||
Weight::from_parts(45_884_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(30_239_000 as u64)
|
||||
Weight::from_parts(30_239_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+29
-29
@@ -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(450_021_000 as u64)
|
||||
Weight::from_parts(450_021_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(4_086_000 as u64)
|
||||
Weight::from_parts(4_086_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_290_000 as u64)
|
||||
Weight::from_parts(11_290_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(13_288_000 as u64)
|
||||
Weight::from_parts(13_288_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(4_270_000 as u64)
|
||||
Weight::from_parts(4_270_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(3_205_000 as u64)
|
||||
Weight::from_parts(3_205_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(3_246_000 as u64)
|
||||
Weight::from_parts(3_246_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(3_189_000 as u64)
|
||||
Weight::from_parts(3_189_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(4_222_000 as u64)
|
||||
Weight::from_parts(4_222_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(3_178_000 as u64)
|
||||
Weight::from_parts(3_178_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_770_000 as u64)
|
||||
Weight::from_parts(24_770_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(14_967_000 as u64)
|
||||
Weight::from_parts(14_967_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(3_186_000 as u64)
|
||||
Weight::from_parts(3_186_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(25_797_000 as u64)
|
||||
Weight::from_parts(25_797_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(5_170_000 as u64)
|
||||
Weight::from_parts(5_170_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(508_189_000 as u64)
|
||||
Weight::from_parts(508_189_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(156_147_000 as u64)
|
||||
Weight::from_parts(156_147_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_asset() -> Weight {
|
||||
Weight::from_ref_time(14_507_000 as u64)
|
||||
Weight::from_parts(14_507_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_origin() -> Weight {
|
||||
Weight::from_ref_time(3_329_000 as u64)
|
||||
Weight::from_parts(3_329_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_error() -> Weight {
|
||||
Weight::from_ref_time(3_164_000 as u64)
|
||||
Weight::from_parts(3_164_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_transact_status() -> Weight {
|
||||
Weight::from_ref_time(3_415_000 as u64)
|
||||
Weight::from_parts(3_415_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(27_966_000 as u64)
|
||||
Weight::from_parts(27_966_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(5_019_000 as u64)
|
||||
Weight::from_parts(5_019_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_097_000 as u64)
|
||||
Weight::from_parts(25_097_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(3_193_000 as u64)
|
||||
Weight::from_parts(3_193_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_topic() -> Weight {
|
||||
Weight::from_ref_time(3_146_000 as u64)
|
||||
Weight::from_parts(3_146_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_topic() -> Weight {
|
||||
Weight::from_ref_time(3_178_000 as u64)
|
||||
Weight::from_parts(3_178_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_fees_mode() -> Weight {
|
||||
Weight::from_ref_time(3_134_000 as u64)
|
||||
Weight::from_parts(3_134_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn unpaid_execution() -> Weight {
|
||||
Weight::from_ref_time(3_282_000 as u64)
|
||||
Weight::from_parts(3_282_000 as u64, 0)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,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 =
|
||||
@@ -141,7 +141,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();
|
||||
|
||||
@@ -211,7 +211,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 small amount
|
||||
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() {
|
||||
RuntimeHelper::<Runtime>::run_to_block(2, Some(AccountId::from(ALICE)));
|
||||
|
||||
// We are gonna buy ED
|
||||
let bought = Weight::from_ref_time(ExistentialDeposit::get().try_into().unwrap());
|
||||
let bought = Weight::from_parts(ExistentialDeposit::get().try_into().unwrap(), 0);
|
||||
|
||||
let asset_multilocation = AssetIdForTrustBackedAssetsConvert::reverse_ref(1).unwrap();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user