mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Deprecate Weight::from_{ref_time, proof_size} (#13475)
* Deprecate Weight::from_{ref_time, proof_size}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Update templates
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Use from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Use from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Dont revert comment 🤦
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances
* Update weight files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* More fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Adapt to Master changes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
7981d4aa59
commit
9e56e1acdd
@@ -90,9 +90,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_650 nanoseconds.
|
||||
Weight::from_ref_time(8_344_960)
|
||||
Weight::from_parts(8_344_960, 0)
|
||||
// Standard Error: 2_629
|
||||
.saturating_add(Weight::from_ref_time(268_557).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(268_557, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Lottery Lottery (r:1 w:1)
|
||||
@@ -196,9 +196,9 @@ impl WeightInfo for () {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_650 nanoseconds.
|
||||
Weight::from_ref_time(8_344_960)
|
||||
Weight::from_parts(8_344_960, 0)
|
||||
// Standard Error: 2_629
|
||||
.saturating_add(Weight::from_ref_time(268_557).saturating_mul(n.into()))
|
||||
.saturating_add(Weight::from_parts(268_557, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: Lottery Lottery (r:1 w:1)
|
||||
|
||||
Reference in New Issue
Block a user