mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07: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
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1178`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 46_493 nanoseconds.
|
||||
Weight::from_ref_time(47_804_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(47_804_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1062`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 35_020 nanoseconds.
|
||||
Weight::from_ref_time(35_462_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(35_462_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 26_282 nanoseconds.
|
||||
Weight::from_ref_time(26_915_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(26_915_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 29_529 nanoseconds.
|
||||
Weight::from_ref_time(30_135_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(30_135_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1174`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 46_969 nanoseconds.
|
||||
Weight::from_ref_time(47_657_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
Weight::from_parts(47_657_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5206))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1062`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 41_398 nanoseconds.
|
||||
Weight::from_ref_time(42_012_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(42_012_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1058`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 22_969 nanoseconds.
|
||||
Weight::from_ref_time(23_548_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(23_548_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user