mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +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
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Measured: `4`
|
||||
// Estimated: `1002`
|
||||
// Minimum execution time: 12_101 nanoseconds.
|
||||
Weight::from_ref_time(12_656_000)
|
||||
.saturating_add(Weight::from_proof_size(1002))
|
||||
Weight::from_parts(12_656_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1002))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Measured: `725`
|
||||
// Estimated: `19470`
|
||||
// Minimum execution time: 69_639 nanoseconds.
|
||||
Weight::from_ref_time(73_490_000)
|
||||
.saturating_add(Weight::from_proof_size(19470))
|
||||
Weight::from_parts(73_490_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 19470))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -112,8 +112,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Measured: `7060445`
|
||||
// Estimated: `51339005`
|
||||
// Minimum execution time: 15_963_666 nanoseconds.
|
||||
Weight::from_ref_time(16_480_261_000)
|
||||
.saturating_add(Weight::from_proof_size(51339005))
|
||||
Weight::from_parts(16_480_261_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 51339005))
|
||||
.saturating_add(T::DbWeight::get().reads(3688))
|
||||
.saturating_add(T::DbWeight::get().writes(3683))
|
||||
}
|
||||
@@ -130,8 +130,8 @@ impl<T: frame_system::Config> runtime_common::auctions::WeightInfo for WeightInf
|
||||
// Measured: `178884`
|
||||
// Estimated: `16009503`
|
||||
// Minimum execution time: 4_924_110 nanoseconds.
|
||||
Weight::from_ref_time(5_008_960_000)
|
||||
.saturating_add(Weight::from_proof_size(16009503))
|
||||
Weight::from_parts(5_008_960_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 16009503))
|
||||
.saturating_add(T::DbWeight::get().reads(3673))
|
||||
.saturating_add(T::DbWeight::get().writes(3673))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user