mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
Migrate to Weight::from_parts (#6794)
* Migrate to from_parts Have a look at https://github.com/ggwpez/substrate-scripts/blob/master/migrate-from-parts.py Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Adapt to master Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate"} --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
c5637bda91
commit
177bedc160
@@ -64,8 +64,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Measured: `652`
|
||||
// Estimated: `20437`
|
||||
// Minimum execution time: 145_850 nanoseconds.
|
||||
Weight::from_ref_time(160_914_000)
|
||||
.saturating_add(Weight::from_proof_size(20437))
|
||||
Weight::from_parts(160_914_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 20437))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -82,8 +82,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Measured: `216`
|
||||
// Estimated: `1359`
|
||||
// Minimum execution time: 10_201 nanoseconds.
|
||||
Weight::from_ref_time(10_728_000)
|
||||
.saturating_add(Weight::from_proof_size(1359))
|
||||
Weight::from_parts(10_728_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1359))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -106,8 +106,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Measured: `652`
|
||||
// Estimated: `20437`
|
||||
// Minimum execution time: 147_863 nanoseconds.
|
||||
Weight::from_ref_time(166_266_000)
|
||||
.saturating_add(Weight::from_proof_size(20437))
|
||||
Weight::from_parts(166_266_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 20437))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -132,8 +132,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Measured: `726`
|
||||
// Estimated: `23934`
|
||||
// Minimum execution time: 68_241 nanoseconds.
|
||||
Weight::from_ref_time(76_038_000)
|
||||
.saturating_add(Weight::from_proof_size(23934))
|
||||
Weight::from_parts(76_038_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 23934))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
@@ -150,8 +150,8 @@ impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<
|
||||
// Measured: `472`
|
||||
// Estimated: `11788`
|
||||
// Minimum execution time: 20_763 nanoseconds.
|
||||
Weight::from_ref_time(22_172_000)
|
||||
.saturating_add(Weight::from_proof_size(11788))
|
||||
Weight::from_parts(22_172_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 11788))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user