mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31: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
@@ -51,10 +51,10 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_075 nanoseconds.
|
||||
Weight::from_ref_time(6_138_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_138_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 8
|
||||
.saturating_add(Weight::from_ref_time(1_723).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(1_723, 0).saturating_mul(s.into()))
|
||||
}
|
||||
/// Storage: Ump NeedsDispatch (r:1 w:1)
|
||||
/// Proof Skipped: Ump NeedsDispatch (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -69,8 +69,8 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
|
||||
// Measured: `272`
|
||||
// Estimated: `2078`
|
||||
// Minimum execution time: 9_509 nanoseconds.
|
||||
Weight::from_ref_time(9_782_000)
|
||||
.saturating_add(Weight::from_proof_size(2078))
|
||||
Weight::from_parts(9_782_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2078))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> runtime_parachains::ump::WeightInfo for WeightInfo
|
||||
// Measured: `257`
|
||||
// Estimated: `3231`
|
||||
// Minimum execution time: 23_623 nanoseconds.
|
||||
Weight::from_ref_time(23_932_000)
|
||||
.saturating_add(Weight::from_proof_size(3231))
|
||||
Weight::from_parts(23_932_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3231))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user