mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
Migrate to Weight::from_parts (#2245)
* Migrate to from_parts Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix remaining files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p polkadot-primitives Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use Master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p polkadot-primitives Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
1de575dc25
commit
558502345f
+13
-13
@@ -53,18 +53,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_987 nanoseconds.
|
||||
Weight::from_ref_time(19_221_047)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(19_221_047, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_233
|
||||
.saturating_add(Weight::from_ref_time(3_808_598).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_808_598, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_203 nanoseconds.
|
||||
Weight::from_ref_time(4_337_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(4_337_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn batch_all(c: u32, ) -> Weight {
|
||||
@@ -72,18 +72,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_986 nanoseconds.
|
||||
Weight::from_ref_time(14_991_349)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(14_991_349, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_440
|
||||
.saturating_add(Weight::from_ref_time(4_032_363).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_032_363, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_768 nanoseconds.
|
||||
Weight::from_ref_time(7_998_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(7_998_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
/// The range of component `c` is `[0, 1000]`.
|
||||
fn force_batch(c: u32, ) -> Weight {
|
||||
@@ -91,9 +91,9 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_906 nanoseconds.
|
||||
Weight::from_ref_time(16_782_253)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(16_782_253, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_131
|
||||
.saturating_add(Weight::from_ref_time(3_780_339).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_780_339, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user