mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11: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
cf3ddb831c
commit
70a0864e4c
+30
-30
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `4645`
|
||||
// Minimum execution time: 24_136 nanoseconds.
|
||||
Weight::from_ref_time(24_562_000)
|
||||
.saturating_add(Weight::from_proof_size(4645))
|
||||
Weight::from_parts(24_562_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4645))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -74,8 +74,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `32`
|
||||
// Estimated: `499`
|
||||
// Minimum execution time: 23_272 nanoseconds.
|
||||
Weight::from_ref_time(23_644_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
Weight::from_parts(23_644_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 499))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
}
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
@@ -85,8 +85,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(18_446_744_073_709_551_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
/// Storage: Benchmark Override (r:0 w:0)
|
||||
/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -95,8 +95,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
|
||||
Weight::from_ref_time(18_446_744_073_709_551_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(18_446_744_073_709_551_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
/// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
|
||||
/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -105,8 +105,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_377 nanoseconds.
|
||||
Weight::from_ref_time(8_642_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_642_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
|
||||
@@ -116,8 +116,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_435 nanoseconds.
|
||||
Weight::from_ref_time(2_556_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(2_556_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
|
||||
@@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `7729`
|
||||
// Minimum execution time: 28_539 nanoseconds.
|
||||
Weight::from_ref_time(29_177_000)
|
||||
.saturating_add(Weight::from_proof_size(7729))
|
||||
Weight::from_parts(29_177_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7729))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
}
|
||||
@@ -165,8 +165,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `220`
|
||||
// Estimated: `8470`
|
||||
// Minimum execution time: 30_607 nanoseconds.
|
||||
Weight::from_ref_time(31_019_000)
|
||||
.saturating_add(Weight::from_proof_size(8470))
|
||||
Weight::from_parts(31_019_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8470))
|
||||
.saturating_add(T::DbWeight::get().reads(6))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -177,8 +177,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `95`
|
||||
// Estimated: `9995`
|
||||
// Minimum execution time: 13_842 nanoseconds.
|
||||
Weight::from_ref_time(14_281_000)
|
||||
.saturating_add(Weight::from_proof_size(9995))
|
||||
Weight::from_parts(14_281_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9995))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -189,8 +189,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `99`
|
||||
// Estimated: `9999`
|
||||
// Minimum execution time: 13_505 nanoseconds.
|
||||
Weight::from_ref_time(13_981_000)
|
||||
.saturating_add(Weight::from_proof_size(9999))
|
||||
Weight::from_parts(13_981_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9999))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -201,8 +201,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `12481`
|
||||
// Minimum execution time: 16_415 nanoseconds.
|
||||
Weight::from_ref_time(16_752_000)
|
||||
.saturating_add(Weight::from_proof_size(12481))
|
||||
Weight::from_parts(16_752_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 12481))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
|
||||
@@ -222,8 +222,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `10041`
|
||||
// Minimum execution time: 29_952 nanoseconds.
|
||||
Weight::from_ref_time(30_592_000)
|
||||
.saturating_add(Weight::from_proof_size(10041))
|
||||
Weight::from_parts(30_592_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10041))
|
||||
.saturating_add(T::DbWeight::get().reads(7))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
}
|
||||
@@ -234,8 +234,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `136`
|
||||
// Estimated: `7561`
|
||||
// Minimum execution time: 8_259 nanoseconds.
|
||||
Weight::from_ref_time(8_608_000)
|
||||
.saturating_add(Weight::from_proof_size(7561))
|
||||
Weight::from_parts(8_608_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 7561))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
}
|
||||
/// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
|
||||
@@ -245,8 +245,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `106`
|
||||
// Estimated: `10006`
|
||||
// Minimum execution time: 16_259 nanoseconds.
|
||||
Weight::from_ref_time(16_574_000)
|
||||
.saturating_add(Weight::from_proof_size(10006))
|
||||
Weight::from_parts(16_574_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10006))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -267,8 +267,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `112`
|
||||
// Estimated: `15027`
|
||||
// Minimum execution time: 35_748 nanoseconds.
|
||||
Weight::from_ref_time(36_667_000)
|
||||
.saturating_add(Weight::from_proof_size(15027))
|
||||
Weight::from_parts(36_667_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15027))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user