mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 04:31:08 +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
@@ -60,9 +60,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_404 nanoseconds.
|
||||
Weight::from_ref_time(343_031)
|
||||
Weight::from_parts(343_031, 0)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_404).saturating_mul(l.into()))
|
||||
.saturating_add(Weight::from_parts(1_404, 0).saturating_mul(l.into()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,8 +74,8 @@ impl WeightInfo for () {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_404 nanoseconds.
|
||||
Weight::from_ref_time(343_031)
|
||||
Weight::from_parts(343_031, 0)
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(1_404).saturating_mul(l.into()))
|
||||
.saturating_add(Weight::from_parts(1_404, 0).saturating_mul(l.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user