mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +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
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Importing a block with 0 Extrinsics.
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+4
-4
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_956 nanoseconds.
|
||||
Weight::from_ref_time(5_247_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_247_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_875 nanoseconds.
|
||||
Weight::from_ref_time(5_123_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_123_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Executing a NO-OP `System::remarks` Extrinsic.
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+18
-18
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_541 nanoseconds.
|
||||
Weight::from_ref_time(1_600_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_600_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(368).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(368, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
@@ -64,10 +64,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_433 nanoseconds.
|
||||
Weight::from_ref_time(6_528_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_528_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_718).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(1_718, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: System Digest (r:1 w:1)
|
||||
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_378 nanoseconds.
|
||||
Weight::from_ref_time(3_546_000)
|
||||
.saturating_add(Weight::from_proof_size(495))
|
||||
Weight::from_parts(3_546_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 495))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -91,10 +91,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_595 nanoseconds.
|
||||
Weight::from_ref_time(1_637_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_637_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_677
|
||||
.saturating_add(Weight::from_ref_time(581_830).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(581_830, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -105,10 +105,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_602 nanoseconds.
|
||||
Weight::from_ref_time(1_645_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_645_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 808
|
||||
.saturating_add(Weight::from_ref_time(448_210).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(448_210, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -119,11 +119,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `68 + p * (69 ±0)`
|
||||
// Estimated: `66 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_400 nanoseconds.
|
||||
Weight::from_ref_time(3_518_000)
|
||||
.saturating_add(Weight::from_proof_size(66))
|
||||
Weight::from_parts(3_518_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 66))
|
||||
// Standard Error: 949
|
||||
.saturating_add(Weight::from_ref_time(952_748).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(952_748, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1314`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 45_555 nanoseconds.
|
||||
Weight::from_ref_time(46_097_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(46_097_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: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 34_465 nanoseconds.
|
||||
Weight::from_ref_time(35_054_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(35_054_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: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 25_670 nanoseconds.
|
||||
Weight::from_ref_time(26_254_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(26_254_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: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 28_919 nanoseconds.
|
||||
Weight::from_ref_time(29_611_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(29_611_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: `1310`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 44_604 nanoseconds.
|
||||
Weight::from_ref_time(45_498_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
Weight::from_parts(45_498_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: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 39_412 nanoseconds.
|
||||
Weight::from_ref_time(40_181_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(40_181_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: `1232`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 22_520 nanoseconds.
|
||||
Weight::from_ref_time(23_045_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(23_045_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+22
-22
@@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `214 + b * (78 ±0)`
|
||||
// Estimated: `213 + b * (2554 ±0)`
|
||||
// Minimum execution time: 13_768 nanoseconds.
|
||||
Weight::from_ref_time(15_128_018)
|
||||
.saturating_add(Weight::from_proof_size(213))
|
||||
Weight::from_parts(15_128_018, 0)
|
||||
.saturating_add(Weight::from_parts(0, 213))
|
||||
// Standard Error: 3_110
|
||||
.saturating_add(Weight::from_ref_time(2_490_861).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(2_490_861, 0).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_359 nanoseconds.
|
||||
Weight::from_ref_time(6_591_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_591_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_722 nanoseconds.
|
||||
Weight::from_ref_time(6_963_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_963_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -105,13 +105,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `1167 + c * (48 ±0)`
|
||||
// Estimated: `56785 + c * (49 ±0)`
|
||||
// Minimum execution time: 35_190 nanoseconds.
|
||||
Weight::from_ref_time(27_223_783)
|
||||
.saturating_add(Weight::from_proof_size(56785))
|
||||
Weight::from_parts(27_223_783, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56785))
|
||||
// Standard Error: 1_270
|
||||
.saturating_add(Weight::from_ref_time(103_824).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(103_824, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
@@ -123,10 +123,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `503 + c * (48 ±0)`
|
||||
// Estimated: `48497`
|
||||
// Minimum execution time: 26_271 nanoseconds.
|
||||
Weight::from_ref_time(16_336_190)
|
||||
.saturating_add(Weight::from_proof_size(48497))
|
||||
Weight::from_parts(16_336_190, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48497))
|
||||
// Standard Error: 1_250
|
||||
.saturating_add(Weight::from_ref_time(105_123).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(105_123, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `187`
|
||||
// Estimated: `5749`
|
||||
// Minimum execution time: 26_583 nanoseconds.
|
||||
Weight::from_ref_time(26_888_000)
|
||||
.saturating_add(Weight::from_proof_size(5749))
|
||||
Weight::from_parts(26_888_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -163,15 +163,15 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `22878 + r * (148 ±0) + c * (97 ±0)`
|
||||
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
|
||||
// Minimum execution time: 16_250 nanoseconds.
|
||||
Weight::from_ref_time(16_601_000)
|
||||
.saturating_add(Weight::from_proof_size(52737))
|
||||
Weight::from_parts(16_601_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 52737))
|
||||
// Standard Error: 763_853
|
||||
.saturating_add(Weight::from_ref_time(27_869_355).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(27_869_355, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(r.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 12_039 nanoseconds.
|
||||
Weight::from_ref_time(12_378_049)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(12_378_049, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(485).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(485, 0).saturating_mul(z.into()))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
@@ -67,12 +67,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 35_309 nanoseconds.
|
||||
Weight::from_ref_time(28_767_595)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_767_595, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 572
|
||||
.saturating_add(Weight::from_ref_time(73_429).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(73_429, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_487).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_487, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_191 nanoseconds.
|
||||
Weight::from_ref_time(19_850_530)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(19_850_530, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 440
|
||||
.saturating_add(Weight::from_ref_time(68_426).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(68_426, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_505).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_505, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -105,12 +105,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `451 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 39_875 nanoseconds.
|
||||
Weight::from_ref_time(32_057_678)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
Weight::from_parts(32_057_678, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8424))
|
||||
// Standard Error: 715
|
||||
.saturating_add(Weight::from_ref_time(84_736).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(84_736, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 7
|
||||
.saturating_add(Weight::from_ref_time(1_511).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_511, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `321 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 25_536 nanoseconds.
|
||||
Weight::from_ref_time(27_146_180)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(27_146_180, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 991
|
||||
.saturating_add(Weight::from_ref_time(77_408).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(77_408, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -137,10 +137,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 17_409 nanoseconds.
|
||||
Weight::from_ref_time(18_559_189)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(18_559_189, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 518
|
||||
.saturating_add(Weight::from_ref_time(72_083).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(72_083, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -152,10 +152,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `517 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_502 nanoseconds.
|
||||
Weight::from_ref_time(28_258_573)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_258_573, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 819
|
||||
.saturating_add(Weight::from_ref_time(78_480).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(78_480, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `297`
|
||||
// Estimated: `5544`
|
||||
// Minimum execution time: 15_673 nanoseconds.
|
||||
Weight::from_ref_time(16_101_000)
|
||||
.saturating_add(Weight::from_proof_size(5544))
|
||||
Weight::from_parts(16_101_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5544))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `279`
|
||||
// Estimated: `3033`
|
||||
// Minimum execution time: 12_241 nanoseconds.
|
||||
Weight::from_ref_time(12_552_000)
|
||||
.saturating_add(Weight::from_proof_size(3033))
|
||||
Weight::from_parts(12_552_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3033))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `49`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 7_105 nanoseconds.
|
||||
Weight::from_ref_time(7_296_000)
|
||||
.saturating_add(Weight::from_proof_size(1006))
|
||||
Weight::from_parts(7_296_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `57`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_270 nanoseconds.
|
||||
Weight::from_ref_time(3_398_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(3_398_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
}
|
||||
|
||||
+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_752 nanoseconds.
|
||||
Weight::from_ref_time(15_025_089)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(15_025_089, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_912
|
||||
.saturating_add(Weight::from_ref_time(3_735_986).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_735_986, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_237 nanoseconds.
|
||||
Weight::from_ref_time(4_392_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(4_392_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_645 nanoseconds.
|
||||
Weight::from_ref_time(16_082_395)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(16_082_395, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_061
|
||||
.saturating_add(Weight::from_ref_time(3_918_503).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_918_503, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_613 nanoseconds.
|
||||
Weight::from_ref_time(7_868_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(7_868_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_909 nanoseconds.
|
||||
Weight::from_ref_time(11_406_668)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(11_406_668, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_399
|
||||
.saturating_add(Weight::from_ref_time(3_759_278).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_759_278, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+30
-30
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `4645`
|
||||
// Minimum execution time: 23_601 nanoseconds.
|
||||
Weight::from_ref_time(24_078_000)
|
||||
.saturating_add(Weight::from_proof_size(4645))
|
||||
Weight::from_parts(24_078_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_225 nanoseconds.
|
||||
Weight::from_ref_time(23_887_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
Weight::from_parts(23_887_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_434 nanoseconds.
|
||||
Weight::from_ref_time(8_839_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_839_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_484 nanoseconds.
|
||||
Weight::from_ref_time(2_611_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(2_611_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_465 nanoseconds.
|
||||
Weight::from_ref_time(29_023_000)
|
||||
.saturating_add(Weight::from_proof_size(7729))
|
||||
Weight::from_parts(29_023_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: 31_086 nanoseconds.
|
||||
Weight::from_ref_time(31_385_000)
|
||||
.saturating_add(Weight::from_proof_size(8470))
|
||||
Weight::from_parts(31_385_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_701 nanoseconds.
|
||||
Weight::from_ref_time(13_987_000)
|
||||
.saturating_add(Weight::from_proof_size(9995))
|
||||
Weight::from_parts(13_987_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_723 nanoseconds.
|
||||
Weight::from_ref_time(14_166_000)
|
||||
.saturating_add(Weight::from_proof_size(9999))
|
||||
Weight::from_parts(14_166_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: 15_381 nanoseconds.
|
||||
Weight::from_ref_time(16_770_000)
|
||||
.saturating_add(Weight::from_proof_size(12481))
|
||||
Weight::from_parts(16_770_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: 27_952 nanoseconds.
|
||||
Weight::from_ref_time(28_321_000)
|
||||
.saturating_add(Weight::from_proof_size(10041))
|
||||
Weight::from_parts(28_321_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_516 nanoseconds.
|
||||
Weight::from_ref_time(8_922_000)
|
||||
.saturating_add(Weight::from_proof_size(7561))
|
||||
Weight::from_parts(8_922_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_615 nanoseconds.
|
||||
Weight::from_ref_time(17_074_000)
|
||||
.saturating_add(Weight::from_proof_size(10006))
|
||||
Weight::from_parts(17_074_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: 36_726 nanoseconds.
|
||||
Weight::from_ref_time(37_319_000)
|
||||
.saturating_add(Weight::from_proof_size(15027))
|
||||
Weight::from_parts(37_319_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15027))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubKusamaXcmWeight<Call> {
|
||||
// Currently there is no trusted reserve
|
||||
fn reserve_asset_deposited(_assets: &MultiAssets) -> Weight {
|
||||
// TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974
|
||||
Weight::from_ref_time(1_000_000_000 as u64)
|
||||
Weight::from_parts(1_000_000_000 as u64, 0)
|
||||
}
|
||||
fn receive_teleported_asset(assets: &MultiAssets) -> Weight {
|
||||
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
|
||||
@@ -123,7 +123,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubKusamaXcmWeight<Call> {
|
||||
|
||||
fn deposit_asset(assets: &MultiAssetFilter, _dest: &MultiLocation) -> Weight {
|
||||
// Hardcoded till the XCM pallet is fixed
|
||||
let hardcoded_weight = Weight::from_ref_time(1_000_000_000 as u64);
|
||||
let hardcoded_weight = Weight::from_parts(1_000_000_000 as u64, 0);
|
||||
let weight = assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::deposit_asset());
|
||||
hardcoded_weight.min(weight)
|
||||
}
|
||||
|
||||
+7
-7
@@ -51,14 +51,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(18_301_000 as u64)
|
||||
Weight::from_parts(18_301_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(29_321_000 as u64)
|
||||
Weight::from_parts(29_321_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,17 +77,17 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(50_754_000 as u64)
|
||||
Weight::from_parts(50_754_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(3_814_000 as u64)
|
||||
Weight::from_parts(3_814_000 as u64, 0)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(21_596_000 as u64)
|
||||
Weight::from_parts(21_596_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(45_534_000 as u64)
|
||||
Weight::from_parts(45_534_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -123,7 +123,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(26_876_000 as u64)
|
||||
Weight::from_parts(26_876_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+29
-29
@@ -61,39 +61,39 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_holding() -> Weight {
|
||||
Weight::from_ref_time(30_320_000 as u64)
|
||||
Weight::from_parts(30_320_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn buy_execution() -> Weight {
|
||||
Weight::from_ref_time(2_776_000 as u64)
|
||||
Weight::from_parts(2_776_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(10_396_000 as u64)
|
||||
Weight::from_parts(10_396_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(11_646_000 as u64)
|
||||
Weight::from_parts(11_646_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(2_853_000 as u64)
|
||||
Weight::from_parts(2_853_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(2_746_000 as u64)
|
||||
Weight::from_parts(2_746_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(2_742_000 as u64)
|
||||
Weight::from_parts(2_742_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(2_750_000 as u64)
|
||||
Weight::from_parts(2_750_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(3_512_000 as u64)
|
||||
Weight::from_parts(3_512_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(2_710_000 as u64)
|
||||
Weight::from_parts(2_710_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -108,19 +108,19 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(23_834_000 as u64)
|
||||
Weight::from_parts(23_834_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(14_091_000 as u64)
|
||||
Weight::from_parts(14_091_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(2_702_000 as u64)
|
||||
Weight::from_parts(2_702_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -135,14 +135,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(24_071_000 as u64)
|
||||
Weight::from_parts(24_071_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(4_648_000 as u64)
|
||||
Weight::from_parts(4_648_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
@@ -158,24 +158,24 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(26_772_000 as u64)
|
||||
Weight::from_parts(26_772_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn burn_asset() -> Weight {
|
||||
Weight::from_ref_time(4_249_000 as u64)
|
||||
Weight::from_parts(4_249_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_asset() -> Weight {
|
||||
Weight::from_ref_time(2_860_000 as u64)
|
||||
Weight::from_parts(2_860_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_origin() -> Weight {
|
||||
Weight::from_ref_time(2_849_000 as u64)
|
||||
Weight::from_parts(2_849_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_error() -> Weight {
|
||||
Weight::from_ref_time(2_692_000 as u64)
|
||||
Weight::from_parts(2_692_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_transact_status() -> Weight {
|
||||
Weight::from_ref_time(2_886_000 as u64)
|
||||
Weight::from_parts(2_886_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -190,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn query_pallet() -> Weight {
|
||||
Weight::from_ref_time(28_452_000 as u64)
|
||||
Weight::from_parts(28_452_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn expect_pallet() -> Weight {
|
||||
Weight::from_ref_time(4_257_000 as u64)
|
||||
Weight::from_parts(4_257_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -210,23 +210,23 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_transact_status() -> Weight {
|
||||
Weight::from_ref_time(24_235_000 as u64)
|
||||
Weight::from_parts(24_235_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn clear_transact_status() -> Weight {
|
||||
Weight::from_ref_time(2_749_000 as u64)
|
||||
Weight::from_parts(2_749_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_topic() -> Weight {
|
||||
Weight::from_ref_time(2_718_000 as u64)
|
||||
Weight::from_parts(2_718_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_topic() -> Weight {
|
||||
Weight::from_ref_time(2_685_000 as u64)
|
||||
Weight::from_parts(2_685_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_fees_mode() -> Weight {
|
||||
Weight::from_ref_time(2_735_000 as u64)
|
||||
Weight::from_parts(2_735_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn unpaid_execution() -> Weight {
|
||||
Weight::from_ref_time(2_842_000 as u64)
|
||||
Weight::from_parts(2_842_000 as u64, 0)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Importing a block with 0 Extrinsics.
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+4
-4
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_798 nanoseconds.
|
||||
Weight::from_ref_time(5_139_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_139_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_942 nanoseconds.
|
||||
Weight::from_ref_time(5_056_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_056_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Executing a NO-OP `System::remarks` Extrinsic.
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+18
-18
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_628 nanoseconds.
|
||||
Weight::from_ref_time(1_691_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_691_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(369).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(369, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
@@ -64,10 +64,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_332 nanoseconds.
|
||||
Weight::from_ref_time(6_564_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_564_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_714).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(1_714, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: System Digest (r:1 w:1)
|
||||
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_441 nanoseconds.
|
||||
Weight::from_ref_time(3_684_000)
|
||||
.saturating_add(Weight::from_proof_size(495))
|
||||
Weight::from_parts(3_684_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 495))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -91,10 +91,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_698 nanoseconds.
|
||||
Weight::from_ref_time(1_802_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_802_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_738
|
||||
.saturating_add(Weight::from_ref_time(576_825).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(576_825, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -105,10 +105,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_782 nanoseconds.
|
||||
Weight::from_ref_time(1_826_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_826_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 808
|
||||
.saturating_add(Weight::from_ref_time(446_795).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(446_795, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -119,11 +119,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `68 + p * (69 ±0)`
|
||||
// Estimated: `66 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_444 nanoseconds.
|
||||
Weight::from_ref_time(3_538_000)
|
||||
.saturating_add(Weight::from_proof_size(66))
|
||||
Weight::from_parts(3_538_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 66))
|
||||
// Standard Error: 920
|
||||
.saturating_add(Weight::from_ref_time(950_898).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(950_898, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1316`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 44_427 nanoseconds.
|
||||
Weight::from_ref_time(45_164_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(45_164_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: `1200`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 34_287 nanoseconds.
|
||||
Weight::from_ref_time(34_918_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(34_918_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: `1350`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 25_850 nanoseconds.
|
||||
Weight::from_ref_time(26_521_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(26_521_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: `1350`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 29_118 nanoseconds.
|
||||
Weight::from_ref_time(29_706_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(29_706_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: `1312`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 45_010 nanoseconds.
|
||||
Weight::from_ref_time(45_568_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
Weight::from_parts(45_568_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: `1200`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 39_332 nanoseconds.
|
||||
Weight::from_ref_time(40_015_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(40_015_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: `1234`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 22_710 nanoseconds.
|
||||
Weight::from_ref_time(23_111_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(23_111_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+22
-22
@@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `214 + b * (78 ±0)`
|
||||
// Estimated: `213 + b * (2554 ±0)`
|
||||
// Minimum execution time: 13_937 nanoseconds.
|
||||
Weight::from_ref_time(14_498_919)
|
||||
.saturating_add(Weight::from_proof_size(213))
|
||||
Weight::from_parts(14_498_919, 0)
|
||||
.saturating_add(Weight::from_parts(0, 213))
|
||||
// Standard Error: 2_987
|
||||
.saturating_add(Weight::from_ref_time(2_491_437).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(2_491_437, 0).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_465 nanoseconds.
|
||||
Weight::from_ref_time(6_739_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_739_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_624 nanoseconds.
|
||||
Weight::from_ref_time(6_822_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_822_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -105,13 +105,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `1167 + c * (48 ±0)`
|
||||
// Estimated: `56785 + c * (49 ±0)`
|
||||
// Minimum execution time: 34_794 nanoseconds.
|
||||
Weight::from_ref_time(27_197_409)
|
||||
.saturating_add(Weight::from_proof_size(56785))
|
||||
Weight::from_parts(27_197_409, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56785))
|
||||
// Standard Error: 1_259
|
||||
.saturating_add(Weight::from_ref_time(101_424).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(101_424, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
@@ -123,10 +123,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `503 + c * (48 ±0)`
|
||||
// Estimated: `48497`
|
||||
// Minimum execution time: 26_471 nanoseconds.
|
||||
Weight::from_ref_time(16_092_836)
|
||||
.saturating_add(Weight::from_proof_size(48497))
|
||||
Weight::from_parts(16_092_836, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48497))
|
||||
// Standard Error: 1_283
|
||||
.saturating_add(Weight::from_ref_time(103_788).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(103_788, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `187`
|
||||
// Estimated: `5749`
|
||||
// Minimum execution time: 25_597 nanoseconds.
|
||||
Weight::from_ref_time(25_981_000)
|
||||
.saturating_add(Weight::from_proof_size(5749))
|
||||
Weight::from_parts(25_981_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -163,15 +163,15 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `22878 + r * (148 ±0) + c * (97 ±0)`
|
||||
// Estimated: `52737 + c * (2519 ±0) + r * (2602 ±0)`
|
||||
// Minimum execution time: 15_961 nanoseconds.
|
||||
Weight::from_ref_time(16_207_000)
|
||||
.saturating_add(Weight::from_proof_size(52737))
|
||||
Weight::from_parts(16_207_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 52737))
|
||||
// Standard Error: 748_921
|
||||
.saturating_add(Weight::from_ref_time(27_460_211).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(27_460_211, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(r.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 11_693 nanoseconds.
|
||||
Weight::from_ref_time(12_218_501)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(12_218_501, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(479).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(479, 0).saturating_mul(z.into()))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
@@ -67,12 +67,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 35_181 nanoseconds.
|
||||
Weight::from_ref_time(28_585_764)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_585_764, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 609
|
||||
.saturating_add(Weight::from_ref_time(72_658).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(72_658, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_476).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_476, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_110 nanoseconds.
|
||||
Weight::from_ref_time(19_809_417)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(19_809_417, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 448
|
||||
.saturating_add(Weight::from_ref_time(69_542).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(69_542, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 4
|
||||
.saturating_add(Weight::from_ref_time(1_514).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_514, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -105,12 +105,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `451 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 39_991 nanoseconds.
|
||||
Weight::from_ref_time(31_329_529)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
Weight::from_parts(31_329_529, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8424))
|
||||
// Standard Error: 567
|
||||
.saturating_add(Weight::from_ref_time(90_826).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(90_826, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_527).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_527, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `321 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 25_124 nanoseconds.
|
||||
Weight::from_ref_time(26_655_548)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(26_655_548, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 743
|
||||
.saturating_add(Weight::from_ref_time(78_904).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(78_904, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -137,10 +137,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 16_950 nanoseconds.
|
||||
Weight::from_ref_time(18_308_894)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(18_308_894, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 676
|
||||
.saturating_add(Weight::from_ref_time(71_574).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(71_574, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -152,10 +152,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `517 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_127 nanoseconds.
|
||||
Weight::from_ref_time(27_889_146)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(27_889_146, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 729
|
||||
.saturating_add(Weight::from_ref_time(78_618).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(78_618, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `297`
|
||||
// Estimated: `5544`
|
||||
// Minimum execution time: 15_314 nanoseconds.
|
||||
Weight::from_ref_time(15_944_000)
|
||||
.saturating_add(Weight::from_proof_size(5544))
|
||||
Weight::from_parts(15_944_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5544))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `279`
|
||||
// Estimated: `3033`
|
||||
// Minimum execution time: 11_831 nanoseconds.
|
||||
Weight::from_ref_time(12_113_000)
|
||||
.saturating_add(Weight::from_proof_size(3033))
|
||||
Weight::from_parts(12_113_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3033))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `49`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 6_885 nanoseconds.
|
||||
Weight::from_ref_time(7_281_000)
|
||||
.saturating_add(Weight::from_proof_size(1006))
|
||||
Weight::from_parts(7_281_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `57`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_222 nanoseconds.
|
||||
Weight::from_ref_time(3_321_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(3_321_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
}
|
||||
|
||||
+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_910 nanoseconds.
|
||||
Weight::from_ref_time(5_269_110)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(5_269_110, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_509
|
||||
.saturating_add(Weight::from_ref_time(3_869_188).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_869_188, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_304 nanoseconds.
|
||||
Weight::from_ref_time(4_463_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(4_463_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_985 nanoseconds.
|
||||
Weight::from_ref_time(10_119_502)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(10_119_502, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_585
|
||||
.saturating_add(Weight::from_ref_time(4_063_211).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_063_211, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_746 nanoseconds.
|
||||
Weight::from_ref_time(8_027_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_027_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: 6_082 nanoseconds.
|
||||
Weight::from_ref_time(10_385_233)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(10_385_233, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_217
|
||||
.saturating_add(Weight::from_ref_time(3_855_940).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(3_855_940, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+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))
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubPolkadotXcmWeight<Call> {
|
||||
// Currently there is no trusted reserve
|
||||
fn reserve_asset_deposited(_assets: &MultiAssets) -> Weight {
|
||||
// TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974
|
||||
Weight::from_ref_time(1_000_000_000 as u64)
|
||||
Weight::from_parts(1_000_000_000 as u64, 0)
|
||||
}
|
||||
fn receive_teleported_asset(assets: &MultiAssets) -> Weight {
|
||||
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
|
||||
@@ -123,7 +123,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubPolkadotXcmWeight<Call> {
|
||||
|
||||
fn deposit_asset(assets: &MultiAssetFilter, _dest: &MultiLocation) -> Weight {
|
||||
// Hardcoded till the XCM pallet is fixed
|
||||
let hardcoded_weight = Weight::from_ref_time(1_000_000_000 as u64);
|
||||
let hardcoded_weight = Weight::from_parts(1_000_000_000 as u64, 0);
|
||||
let weight = assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::deposit_asset());
|
||||
hardcoded_weight.min(weight)
|
||||
}
|
||||
@@ -150,7 +150,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubPolkadotXcmWeight<Call> {
|
||||
_xcm: &Xcm<()>,
|
||||
) -> Weight {
|
||||
// Hardcoded till the XCM pallet is fixed
|
||||
let hardcoded_weight = Weight::from_ref_time(200_000_000 as u64);
|
||||
let hardcoded_weight = Weight::from_parts(200_000_000 as u64, 0);
|
||||
let weight = assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::initiate_teleport());
|
||||
hardcoded_weight.min(weight)
|
||||
}
|
||||
|
||||
+7
-7
@@ -51,14 +51,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(18_910_000 as u64)
|
||||
Weight::from_parts(18_910_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(29_462_000 as u64)
|
||||
Weight::from_parts(29_462_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,17 +77,17 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(51_265_000 as u64)
|
||||
Weight::from_parts(51_265_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(3_874_000 as u64)
|
||||
Weight::from_parts(3_874_000 as u64, 0)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(23_139_000 as u64)
|
||||
Weight::from_parts(23_139_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(49_375_000 as u64)
|
||||
Weight::from_parts(49_375_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -123,7 +123,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(28_809_000 as u64)
|
||||
Weight::from_parts(28_809_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+29
-29
@@ -61,39 +61,39 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_holding() -> Weight {
|
||||
Weight::from_ref_time(30_138_000 as u64)
|
||||
Weight::from_parts(30_138_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn buy_execution() -> Weight {
|
||||
Weight::from_ref_time(2_860_000 as u64)
|
||||
Weight::from_parts(2_860_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(10_421_000 as u64)
|
||||
Weight::from_parts(10_421_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(11_744_000 as u64)
|
||||
Weight::from_parts(11_744_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(3_024_000 as u64)
|
||||
Weight::from_parts(3_024_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(2_820_000 as u64)
|
||||
Weight::from_parts(2_820_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(2_869_000 as u64)
|
||||
Weight::from_parts(2_869_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(2_838_000 as u64)
|
||||
Weight::from_parts(2_838_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(3_620_000 as u64)
|
||||
Weight::from_parts(3_620_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(2_819_000 as u64)
|
||||
Weight::from_parts(2_819_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -108,19 +108,19 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(23_931_000 as u64)
|
||||
Weight::from_parts(23_931_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(13_776_000 as u64)
|
||||
Weight::from_parts(13_776_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(2_784_000 as u64)
|
||||
Weight::from_parts(2_784_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -135,14 +135,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(23_940_000 as u64)
|
||||
Weight::from_parts(23_940_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(4_676_000 as u64)
|
||||
Weight::from_parts(4_676_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
@@ -158,24 +158,24 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(26_390_000 as u64)
|
||||
Weight::from_parts(26_390_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn burn_asset() -> Weight {
|
||||
Weight::from_ref_time(4_435_000 as u64)
|
||||
Weight::from_parts(4_435_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_asset() -> Weight {
|
||||
Weight::from_ref_time(2_940_000 as u64)
|
||||
Weight::from_parts(2_940_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_origin() -> Weight {
|
||||
Weight::from_ref_time(2_898_000 as u64)
|
||||
Weight::from_parts(2_898_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_error() -> Weight {
|
||||
Weight::from_ref_time(2_795_000 as u64)
|
||||
Weight::from_parts(2_795_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_transact_status() -> Weight {
|
||||
Weight::from_ref_time(2_908_000 as u64)
|
||||
Weight::from_parts(2_908_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -190,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn query_pallet() -> Weight {
|
||||
Weight::from_ref_time(26_452_000 as u64)
|
||||
Weight::from_parts(26_452_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn expect_pallet() -> Weight {
|
||||
Weight::from_ref_time(4_303_000 as u64)
|
||||
Weight::from_parts(4_303_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -210,23 +210,23 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_transact_status() -> Weight {
|
||||
Weight::from_ref_time(23_994_000 as u64)
|
||||
Weight::from_parts(23_994_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn clear_transact_status() -> Weight {
|
||||
Weight::from_ref_time(2_789_000 as u64)
|
||||
Weight::from_parts(2_789_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_topic() -> Weight {
|
||||
Weight::from_ref_time(2_789_000 as u64)
|
||||
Weight::from_parts(2_789_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_topic() -> Weight {
|
||||
Weight::from_ref_time(2_836_000 as u64)
|
||||
Weight::from_parts(2_836_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_fees_mode() -> Weight {
|
||||
Weight::from_ref_time(2_763_000 as u64)
|
||||
Weight::from_parts(2_763_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn unpaid_execution() -> Weight {
|
||||
Weight::from_ref_time(2_872_000 as u64)
|
||||
Weight::from_parts(2_872_000 as u64, 0)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Importing a block with 0 Extrinsics.
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+4
-4
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_865 nanoseconds.
|
||||
Weight::from_ref_time(5_007_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_007_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightIn
|
||||
// Measured: `76`
|
||||
// Estimated: `571`
|
||||
// Minimum execution time: 4_893 nanoseconds.
|
||||
Weight::from_ref_time(5_198_000)
|
||||
.saturating_add(Weight::from_proof_size(571))
|
||||
Weight::from_parts(5_198_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 571))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ pub mod constants {
|
||||
parameter_types! {
|
||||
/// Executing a NO-OP `System::remarks` Extrinsic.
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000));
|
||||
Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
+18
-18
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_592 nanoseconds.
|
||||
Weight::from_ref_time(679_524)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(679_524, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(367).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(367, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// The range of component `b` is `[0, 3932160]`.
|
||||
fn remark_with_event(b: u32, ) -> Weight {
|
||||
@@ -64,10 +64,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_673 nanoseconds.
|
||||
Weight::from_ref_time(6_751_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_751_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 0
|
||||
.saturating_add(Weight::from_ref_time(1_715).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(1_715, 0).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: System Digest (r:1 w:1)
|
||||
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
|
||||
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `495`
|
||||
// Minimum execution time: 3_408 nanoseconds.
|
||||
Weight::from_ref_time(3_633_000)
|
||||
.saturating_add(Weight::from_proof_size(495))
|
||||
Weight::from_parts(3_633_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 495))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -91,10 +91,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_727 nanoseconds.
|
||||
Weight::from_ref_time(1_753_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_753_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1_876
|
||||
.saturating_add(Weight::from_ref_time(581_935).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(581_935, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -105,10 +105,10 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 1_743 nanoseconds.
|
||||
Weight::from_ref_time(1_769_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(1_769_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 803
|
||||
.saturating_add(Weight::from_ref_time(446_779).saturating_mul(i.into()))
|
||||
.saturating_add(Weight::from_parts(446_779, 0).saturating_mul(i.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
||||
}
|
||||
/// Storage: Skipped Metadata (r:0 w:0)
|
||||
@@ -119,11 +119,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `68 + p * (69 ±0)`
|
||||
// Estimated: `66 + p * (70 ±0)`
|
||||
// Minimum execution time: 3_536 nanoseconds.
|
||||
Weight::from_ref_time(3_649_000)
|
||||
.saturating_add(Weight::from_proof_size(66))
|
||||
Weight::from_parts(3_649_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 66))
|
||||
// Standard Error: 949
|
||||
.saturating_add(Weight::from_ref_time(986_632).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(986_632, 0).saturating_mul(p.into()))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
|
||||
.saturating_add(Weight::from_proof_size(70).saturating_mul(p.into()))
|
||||
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `1314`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 47_893 nanoseconds.
|
||||
Weight::from_ref_time(48_384_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(48_384_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: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 35_027 nanoseconds.
|
||||
Weight::from_ref_time(35_675_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(35_675_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: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 26_009 nanoseconds.
|
||||
Weight::from_ref_time(26_448_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(26_448_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: `1348`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 30_006 nanoseconds.
|
||||
Weight::from_ref_time(30_501_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(30_501_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: `1310`
|
||||
// Estimated: `5206`
|
||||
// Minimum execution time: 46_787 nanoseconds.
|
||||
Weight::from_ref_time(47_700_000)
|
||||
.saturating_add(Weight::from_proof_size(5206))
|
||||
Weight::from_parts(47_700_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: `1198`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 43_890 nanoseconds.
|
||||
Weight::from_ref_time(44_914_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(44_914_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: `1232`
|
||||
// Estimated: `2603`
|
||||
// Minimum execution time: 26_785 nanoseconds.
|
||||
Weight::from_ref_time(27_404_000)
|
||||
.saturating_add(Weight::from_proof_size(2603))
|
||||
Weight::from_parts(27_404_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 2603))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+22
-22
@@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `214 + b * (78 ±0)`
|
||||
// Estimated: `213 + b * (2554 ±0)`
|
||||
// Minimum execution time: 14_254 nanoseconds.
|
||||
Weight::from_ref_time(15_028_628)
|
||||
.saturating_add(Weight::from_proof_size(213))
|
||||
Weight::from_parts(15_028_628, 0)
|
||||
.saturating_add(Weight::from_parts(0, 213))
|
||||
// Standard Error: 3_094
|
||||
.saturating_add(Weight::from_ref_time(2_490_219).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(2_490_219, 0).saturating_mul(b.into()))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(Weight::from_proof_size(2554).saturating_mul(b.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||
/// Proof: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -72,8 +72,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_548 nanoseconds.
|
||||
Weight::from_ref_time(6_775_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(6_775_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||
@@ -83,8 +83,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_922 nanoseconds.
|
||||
Weight::from_ref_time(7_184_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(7_184_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
@@ -105,13 +105,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `1167 + c * (48 ±0)`
|
||||
// Estimated: `56785 + c * (49 ±0)`
|
||||
// Minimum execution time: 35_329 nanoseconds.
|
||||
Weight::from_ref_time(27_879_325)
|
||||
.saturating_add(Weight::from_proof_size(56785))
|
||||
Weight::from_parts(27_879_325, 0)
|
||||
.saturating_add(Weight::from_parts(0, 56785))
|
||||
// Standard Error: 1_269
|
||||
.saturating_add(Weight::from_ref_time(108_458).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(108_458, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
.saturating_add(Weight::from_proof_size(49).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into()))
|
||||
}
|
||||
/// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||
/// Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(48002), added: 48497, mode: MaxEncodedLen)
|
||||
@@ -123,10 +123,10 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `503 + c * (48 ±0)`
|
||||
// Estimated: `48497`
|
||||
// Minimum execution time: 27_322 nanoseconds.
|
||||
Weight::from_ref_time(16_354_913)
|
||||
.saturating_add(Weight::from_proof_size(48497))
|
||||
Weight::from_parts(16_354_913, 0)
|
||||
.saturating_add(Weight::from_parts(0, 48497))
|
||||
// Standard Error: 1_399
|
||||
.saturating_add(Weight::from_ref_time(108_840).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(108_840, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -141,8 +141,8 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `187`
|
||||
// Estimated: `5749`
|
||||
// Minimum execution time: 26_074 nanoseconds.
|
||||
Weight::from_ref_time(26_574_000)
|
||||
.saturating_add(Weight::from_proof_size(5749))
|
||||
Weight::from_parts(26_574_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5749))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
@@ -163,15 +163,15 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
||||
// Measured: `22878 + r * (148 ±0) + c * (97 ±0)`
|
||||
// Estimated: `52737 + r * (2602 ±0) + c * (2519 ±0)`
|
||||
// Minimum execution time: 15_727 nanoseconds.
|
||||
Weight::from_ref_time(16_001_000)
|
||||
.saturating_add(Weight::from_proof_size(52737))
|
||||
Weight::from_parts(16_001_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 52737))
|
||||
// Standard Error: 792_964
|
||||
.saturating_add(Weight::from_ref_time(28_827_951).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(28_827_951, 0).saturating_mul(c.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into())))
|
||||
.saturating_add(Weight::from_proof_size(2602).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_proof_size(2519).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2602).saturating_mul(r.into()))
|
||||
.saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -53,10 +53,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 11_903 nanoseconds.
|
||||
Weight::from_ref_time(12_398_025)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(12_398_025, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 1
|
||||
.saturating_add(Weight::from_ref_time(550).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(550, 0).saturating_mul(z.into()))
|
||||
}
|
||||
/// Storage: Multisig Multisigs (r:1 w:1)
|
||||
/// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen)
|
||||
@@ -67,12 +67,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `314 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 35_780 nanoseconds.
|
||||
Weight::from_ref_time(29_310_705)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(29_310_705, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 602
|
||||
.saturating_add(Weight::from_ref_time(70_837).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(70_837, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 5
|
||||
.saturating_add(Weight::from_ref_time(1_545).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_545, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -85,12 +85,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_552 nanoseconds.
|
||||
Weight::from_ref_time(19_998_713)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(19_998_713, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 711
|
||||
.saturating_add(Weight::from_ref_time(72_463).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(72_463, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_573).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_573, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -105,12 +105,12 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `451 + s * (33 ±0)`
|
||||
// Estimated: `8424`
|
||||
// Minimum execution time: 40_836 nanoseconds.
|
||||
Weight::from_ref_time(32_275_692)
|
||||
.saturating_add(Weight::from_proof_size(8424))
|
||||
Weight::from_parts(32_275_692, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8424))
|
||||
// Standard Error: 673
|
||||
.saturating_add(Weight::from_ref_time(92_895).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(92_895, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 6
|
||||
.saturating_add(Weight::from_ref_time(1_569).saturating_mul(z.into()))
|
||||
.saturating_add(Weight::from_parts(1_569, 0).saturating_mul(z.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `321 + s * (2 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_440 nanoseconds.
|
||||
Weight::from_ref_time(27_434_937)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(27_434_937, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 725
|
||||
.saturating_add(Weight::from_ref_time(80_283).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(80_283, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -137,10 +137,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `313`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 17_335 nanoseconds.
|
||||
Weight::from_ref_time(18_873_349)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(18_873_349, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 490
|
||||
.saturating_add(Weight::from_ref_time(74_017).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(74_017, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -152,10 +152,10 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `517 + s * (1 ±0)`
|
||||
// Estimated: `5821`
|
||||
// Minimum execution time: 26_731 nanoseconds.
|
||||
Weight::from_ref_time(28_534_422)
|
||||
.saturating_add(Weight::from_proof_size(5821))
|
||||
Weight::from_parts(28_534_422, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5821))
|
||||
// Standard Error: 740
|
||||
.saturating_add(Weight::from_ref_time(78_223).saturating_mul(s.into()))
|
||||
.saturating_add(Weight::from_parts(78_223, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `297`
|
||||
// Estimated: `5544`
|
||||
// Minimum execution time: 15_721 nanoseconds.
|
||||
Weight::from_ref_time(16_081_000)
|
||||
.saturating_add(Weight::from_proof_size(5544))
|
||||
Weight::from_parts(16_081_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 5544))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -70,8 +70,8 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `279`
|
||||
// Estimated: `3033`
|
||||
// Minimum execution time: 12_031 nanoseconds.
|
||||
Weight::from_ref_time(12_339_000)
|
||||
.saturating_add(Weight::from_proof_size(3033))
|
||||
Weight::from_parts(12_339_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3033))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
|
||||
+4
-4
@@ -56,8 +56,8 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `49`
|
||||
// Estimated: `1006`
|
||||
// Minimum execution time: 7_216 nanoseconds.
|
||||
Weight::from_ref_time(7_445_000)
|
||||
.saturating_add(Weight::from_proof_size(1006))
|
||||
Weight::from_parts(7_445_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 1006))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `57`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_181 nanoseconds.
|
||||
Weight::from_ref_time(3_322_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(3_322_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
}
|
||||
}
|
||||
|
||||
+13
-13
@@ -53,18 +53,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 6_179 nanoseconds.
|
||||
Weight::from_ref_time(19_315_482)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(19_315_482, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 3_383
|
||||
.saturating_add(Weight::from_ref_time(4_126_811).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_126_811, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn as_derivative() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_474 nanoseconds.
|
||||
Weight::from_ref_time(4_666_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(4_666_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: 6_210 nanoseconds.
|
||||
Weight::from_ref_time(12_190_913)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(12_190_913, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 2_328
|
||||
.saturating_add(Weight::from_ref_time(4_370_533).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_370_533, 0).saturating_mul(c.into()))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_194 nanoseconds.
|
||||
Weight::from_ref_time(8_300_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(8_300_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: 6_207 nanoseconds.
|
||||
Weight::from_ref_time(9_704_236)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(9_704_236, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 4_155
|
||||
.saturating_add(Weight::from_ref_time(4_130_222).saturating_mul(c.into()))
|
||||
.saturating_add(Weight::from_parts(4_130_222, 0).saturating_mul(c.into()))
|
||||
}
|
||||
}
|
||||
|
||||
+30
-30
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_xcm::WeightInfo for WeightInfo<T> {
|
||||
// Measured: `38`
|
||||
// Estimated: `4645`
|
||||
// Minimum execution time: 25_656 nanoseconds.
|
||||
Weight::from_ref_time(25_942_000)
|
||||
.saturating_add(Weight::from_proof_size(4645))
|
||||
Weight::from_parts(25_942_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: 26_559 nanoseconds.
|
||||
Weight::from_ref_time(27_040_000)
|
||||
.saturating_add(Weight::from_proof_size(499))
|
||||
Weight::from_parts(27_040_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: 9_204 nanoseconds.
|
||||
Weight::from_ref_time(9_400_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(9_400_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_652 nanoseconds.
|
||||
Weight::from_ref_time(2_790_000)
|
||||
.saturating_add(Weight::from_proof_size(0))
|
||||
Weight::from_parts(2_790_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: 29_636 nanoseconds.
|
||||
Weight::from_ref_time(30_041_000)
|
||||
.saturating_add(Weight::from_proof_size(7729))
|
||||
Weight::from_parts(30_041_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: 31_854 nanoseconds.
|
||||
Weight::from_ref_time(32_416_000)
|
||||
.saturating_add(Weight::from_proof_size(8470))
|
||||
Weight::from_parts(32_416_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_994 nanoseconds.
|
||||
Weight::from_ref_time(14_361_000)
|
||||
.saturating_add(Weight::from_proof_size(9995))
|
||||
Weight::from_parts(14_361_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: 14_337 nanoseconds.
|
||||
Weight::from_ref_time(14_651_000)
|
||||
.saturating_add(Weight::from_proof_size(9999))
|
||||
Weight::from_parts(14_651_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: 15_624 nanoseconds.
|
||||
Weight::from_ref_time(15_936_000)
|
||||
.saturating_add(Weight::from_proof_size(12481))
|
||||
Weight::from_parts(15_936_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: 26_774 nanoseconds.
|
||||
Weight::from_ref_time(27_140_000)
|
||||
.saturating_add(Weight::from_proof_size(10041))
|
||||
Weight::from_parts(27_140_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: 7_233 nanoseconds.
|
||||
Weight::from_ref_time(7_487_000)
|
||||
.saturating_add(Weight::from_proof_size(7561))
|
||||
Weight::from_parts(7_487_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: 14_801 nanoseconds.
|
||||
Weight::from_ref_time(15_090_000)
|
||||
.saturating_add(Weight::from_proof_size(10006))
|
||||
Weight::from_parts(15_090_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: 32_613 nanoseconds.
|
||||
Weight::from_ref_time(32_978_000)
|
||||
.saturating_add(Weight::from_proof_size(15027))
|
||||
Weight::from_parts(32_978_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 15027))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubRococoXcmWeight<Call> {
|
||||
// Currently there is no trusted reserve
|
||||
fn reserve_asset_deposited(_assets: &MultiAssets) -> Weight {
|
||||
// TODO: hardcoded - fix https://github.com/paritytech/cumulus/issues/1974
|
||||
Weight::from_ref_time(1_000_000_000 as u64)
|
||||
Weight::from_parts(1_000_000_000 as u64, 0)
|
||||
}
|
||||
fn receive_teleported_asset(assets: &MultiAssets) -> Weight {
|
||||
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
|
||||
@@ -123,7 +123,7 @@ impl<Call> XcmWeightInfo<Call> for BridgeHubRococoXcmWeight<Call> {
|
||||
|
||||
fn deposit_asset(assets: &MultiAssetFilter, _dest: &MultiLocation) -> Weight {
|
||||
// Hardcoded till the XCM pallet is fixed
|
||||
let hardcoded_weight = Weight::from_ref_time(1_000_000_000 as u64);
|
||||
let hardcoded_weight = Weight::from_parts(1_000_000_000 as u64, 0);
|
||||
let weight = assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::deposit_asset());
|
||||
hardcoded_weight.min(weight)
|
||||
}
|
||||
|
||||
+7
-7
@@ -51,14 +51,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn withdraw_asset() -> Weight {
|
||||
Weight::from_ref_time(20_377_000 as u64)
|
||||
Weight::from_parts(20_377_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: System Account (r:2 w:2)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn transfer_asset() -> Weight {
|
||||
Weight::from_ref_time(31_004_000 as u64)
|
||||
Weight::from_parts(31_004_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
@@ -77,17 +77,17 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(54_173_000 as u64)
|
||||
Weight::from_parts(54_173_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||
}
|
||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||
Weight::from_ref_time(4_635_000 as u64)
|
||||
Weight::from_parts(4_635_000 as u64, 0)
|
||||
}
|
||||
// Storage: System Account (r:1 w:1)
|
||||
// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
pub(crate) fn deposit_asset() -> Weight {
|
||||
Weight::from_ref_time(23_155_000 as u64)
|
||||
Weight::from_parts(23_155_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
@@ -106,7 +106,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||
Weight::from_ref_time(52_599_000 as u64)
|
||||
Weight::from_parts(52_599_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
@@ -123,7 +123,7 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_teleport() -> Weight {
|
||||
Weight::from_ref_time(34_004_000 as u64)
|
||||
Weight::from_parts(34_004_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
|
||||
+29
-29
@@ -61,39 +61,39 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_holding() -> Weight {
|
||||
Weight::from_ref_time(32_598_000 as u64)
|
||||
Weight::from_parts(32_598_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn buy_execution() -> Weight {
|
||||
Weight::from_ref_time(3_195_000 as u64)
|
||||
Weight::from_parts(3_195_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||
// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn query_response() -> Weight {
|
||||
Weight::from_ref_time(10_939_000 as u64)
|
||||
Weight::from_parts(10_939_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
}
|
||||
pub(crate) fn transact() -> Weight {
|
||||
Weight::from_ref_time(12_473_000 as u64)
|
||||
Weight::from_parts(12_473_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn refund_surplus() -> Weight {
|
||||
Weight::from_ref_time(3_458_000 as u64)
|
||||
Weight::from_parts(3_458_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_error_handler() -> Weight {
|
||||
Weight::from_ref_time(3_252_000 as u64)
|
||||
Weight::from_parts(3_252_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_appendix() -> Weight {
|
||||
Weight::from_ref_time(3_249_000 as u64)
|
||||
Weight::from_parts(3_249_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_error() -> Weight {
|
||||
Weight::from_ref_time(3_190_000 as u64)
|
||||
Weight::from_parts(3_190_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn descend_origin() -> Weight {
|
||||
Weight::from_ref_time(4_268_000 as u64)
|
||||
Weight::from_parts(4_268_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_origin() -> Weight {
|
||||
Weight::from_ref_time(3_255_000 as u64)
|
||||
Weight::from_parts(3_255_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -108,19 +108,19 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_error() -> Weight {
|
||||
Weight::from_ref_time(25_755_000 as u64)
|
||||
Weight::from_parts(25_755_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn claim_asset() -> Weight {
|
||||
Weight::from_ref_time(15_124_000 as u64)
|
||||
Weight::from_parts(15_124_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
pub(crate) fn trap() -> Weight {
|
||||
Weight::from_ref_time(3_164_000 as u64)
|
||||
Weight::from_parts(3_164_000 as u64, 0)
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
@@ -135,14 +135,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn subscribe_version() -> Weight {
|
||||
Weight::from_ref_time(25_329_000 as u64)
|
||||
Weight::from_parts(25_329_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||
}
|
||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||
// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
|
||||
pub(crate) fn unsubscribe_version() -> Weight {
|
||||
Weight::from_ref_time(5_253_000 as u64)
|
||||
Weight::from_parts(5_253_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
@@ -158,24 +158,24 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||
Weight::from_ref_time(29_304_000 as u64)
|
||||
Weight::from_parts(29_304_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn burn_asset() -> Weight {
|
||||
Weight::from_ref_time(5_275_000 as u64)
|
||||
Weight::from_parts(5_275_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_asset() -> Weight {
|
||||
Weight::from_ref_time(3_355_000 as u64)
|
||||
Weight::from_parts(3_355_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_origin() -> Weight {
|
||||
Weight::from_ref_time(3_391_000 as u64)
|
||||
Weight::from_parts(3_391_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_error() -> Weight {
|
||||
Weight::from_ref_time(3_192_000 as u64)
|
||||
Weight::from_parts(3_192_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn expect_transact_status() -> Weight {
|
||||
Weight::from_ref_time(3_342_000 as u64)
|
||||
Weight::from_parts(3_342_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -190,12 +190,12 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn query_pallet() -> Weight {
|
||||
Weight::from_ref_time(28_426_000 as u64)
|
||||
Weight::from_parts(28_426_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn expect_pallet() -> Weight {
|
||||
Weight::from_ref_time(4_826_000 as u64)
|
||||
Weight::from_parts(4_826_000 as u64, 0)
|
||||
}
|
||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||
// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
||||
@@ -210,23 +210,23 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||
// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
|
||||
pub(crate) fn report_transact_status() -> Weight {
|
||||
Weight::from_ref_time(26_238_000 as u64)
|
||||
Weight::from_parts(26_238_000 as u64, 0)
|
||||
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||
}
|
||||
pub(crate) fn clear_transact_status() -> Weight {
|
||||
Weight::from_ref_time(3_240_000 as u64)
|
||||
Weight::from_parts(3_240_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_topic() -> Weight {
|
||||
Weight::from_ref_time(3_181_000 as u64)
|
||||
Weight::from_parts(3_181_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn clear_topic() -> Weight {
|
||||
Weight::from_ref_time(3_142_000 as u64)
|
||||
Weight::from_parts(3_142_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn set_fees_mode() -> Weight {
|
||||
Weight::from_ref_time(3_216_000 as u64)
|
||||
Weight::from_parts(3_216_000 as u64, 0)
|
||||
}
|
||||
pub(crate) fn unpaid_execution() -> Weight {
|
||||
Weight::from_ref_time(3_394_000 as u64)
|
||||
Weight::from_parts(3_394_000 as u64, 0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user