mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
Fixes PoV over-estimation (#13766)
* Align log Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use max instead of sum Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make comment ordering deterministic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont add Pov overhead when all is ignored Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update test pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-run weights on bm2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually use new weights Fucked up the merge for this file... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update contract weights 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
46e2d3e5f8
commit
ebfe00d590
Generated
+162
-133
@@ -18,9 +18,9 @@
|
||||
//! Autogenerated weights for pallet_vesting
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
@@ -31,9 +31,6 @@
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --pallet=pallet_vesting
|
||||
// --no-storage-info
|
||||
// --no-median-slopes
|
||||
// --no-min-squares
|
||||
// --extrinsic=*
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
@@ -68,44 +65,50 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9286`
|
||||
// Minimum execution time: 31_657_000 picoseconds.
|
||||
Weight::from_parts(30_569_947, 9286)
|
||||
// Standard Error: 794
|
||||
.saturating_add(Weight::from_parts(63_114, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_413
|
||||
.saturating_add(Weight::from_parts(58_636, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 36_182_000 picoseconds.
|
||||
Weight::from_parts(35_159_830, 4764)
|
||||
// Standard Error: 952
|
||||
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_694
|
||||
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9286`
|
||||
// Minimum execution time: 30_474_000 picoseconds.
|
||||
Weight::from_parts(30_227_344, 9286)
|
||||
// Standard Error: 1_005
|
||||
.saturating_add(Weight::from_parts(56_742, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_788
|
||||
.saturating_add(Weight::from_parts(33_890, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_344_000 picoseconds.
|
||||
Weight::from_parts(38_921_936, 4764)
|
||||
// Standard Error: 1_283
|
||||
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_283
|
||||
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -113,20 +116,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 33_681_000 picoseconds.
|
||||
Weight::from_parts(32_540_534, 12879)
|
||||
// Standard Error: 2_642
|
||||
.saturating_add(Weight::from_parts(62_200, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_701
|
||||
.saturating_add(Weight::from_parts(69_703, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_461_000 picoseconds.
|
||||
Weight::from_parts(38_206_465, 4764)
|
||||
// Standard Error: 743
|
||||
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_322
|
||||
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -134,14 +139,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 32_255_000 picoseconds.
|
||||
Weight::from_parts(31_637_918, 12879)
|
||||
// Standard Error: 3_135
|
||||
.saturating_add(Weight::from_parts(62_121, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_579
|
||||
.saturating_add(Weight::from_parts(61_055, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_029_000 picoseconds.
|
||||
Weight::from_parts(42_153_438, 4764)
|
||||
// Standard Error: 1_108
|
||||
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_971
|
||||
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
@@ -150,19 +155,21 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 51_697_000 picoseconds.
|
||||
Weight::from_parts(52_048_055, 12879)
|
||||
// Standard Error: 1_598
|
||||
.saturating_add(Weight::from_parts(60_508, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_843
|
||||
.saturating_add(Weight::from_parts(37_870, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 75_223_000 picoseconds.
|
||||
Weight::from_parts(76_675_778, 4764)
|
||||
// Standard Error: 2_534
|
||||
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_509
|
||||
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
@@ -171,25 +178,29 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `15482`
|
||||
// Minimum execution time: 54_585_000 picoseconds.
|
||||
Weight::from_parts(54_492_070, 15482)
|
||||
// Standard Error: 1_694
|
||||
.saturating_add(Weight::from_parts(52_633, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_014
|
||||
.saturating_add(Weight::from_parts(45_485, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 76_922_000 picoseconds.
|
||||
Weight::from_parts(78_634_098, 6196)
|
||||
// Standard Error: 2_099
|
||||
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_736
|
||||
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -197,20 +208,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 34_312_000 picoseconds.
|
||||
Weight::from_parts(33_740_101, 12879)
|
||||
// Standard Error: 996
|
||||
.saturating_add(Weight::from_parts(62_123, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_841
|
||||
.saturating_add(Weight::from_parts(56_463, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_476_000 picoseconds.
|
||||
Weight::from_parts(38_261_747, 4764)
|
||||
// Standard Error: 1_794
|
||||
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_313
|
||||
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -218,14 +231,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 34_965_000 picoseconds.
|
||||
Weight::from_parts(33_831_484, 12879)
|
||||
// Standard Error: 1_530
|
||||
.saturating_add(Weight::from_parts(59_136, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_827
|
||||
.saturating_add(Weight::from_parts(58_493, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 43_764_000 picoseconds.
|
||||
Weight::from_parts(42_679_386, 4764)
|
||||
// Standard Error: 1_224
|
||||
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_261
|
||||
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(4_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
}
|
||||
@@ -236,44 +249,50 @@ impl WeightInfo for () {
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9286`
|
||||
// Minimum execution time: 31_657_000 picoseconds.
|
||||
Weight::from_parts(30_569_947, 9286)
|
||||
// Standard Error: 794
|
||||
.saturating_add(Weight::from_parts(63_114, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_413
|
||||
.saturating_add(Weight::from_parts(58_636, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 36_182_000 picoseconds.
|
||||
Weight::from_parts(35_159_830, 4764)
|
||||
// Standard Error: 952
|
||||
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_694
|
||||
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[1, 28]`.
|
||||
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `9286`
|
||||
// Minimum execution time: 30_474_000 picoseconds.
|
||||
Weight::from_parts(30_227_344, 9286)
|
||||
// Standard Error: 1_005
|
||||
.saturating_add(Weight::from_parts(56_742, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_788
|
||||
.saturating_add(Weight::from_parts(33_890, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_344_000 picoseconds.
|
||||
Weight::from_parts(38_921_936, 4764)
|
||||
// Standard Error: 1_283
|
||||
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_283
|
||||
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -281,20 +300,22 @@ impl WeightInfo for () {
|
||||
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 33_681_000 picoseconds.
|
||||
Weight::from_parts(32_540_534, 12879)
|
||||
// Standard Error: 2_642
|
||||
.saturating_add(Weight::from_parts(62_200, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_701
|
||||
.saturating_add(Weight::from_parts(69_703, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_461_000 picoseconds.
|
||||
Weight::from_parts(38_206_465, 4764)
|
||||
// Standard Error: 743
|
||||
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_322
|
||||
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -302,14 +323,14 @@ impl WeightInfo for () {
|
||||
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 32_255_000 picoseconds.
|
||||
Weight::from_parts(31_637_918, 12879)
|
||||
// Standard Error: 3_135
|
||||
.saturating_add(Weight::from_parts(62_121, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 5_579
|
||||
.saturating_add(Weight::from_parts(61_055, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_029_000 picoseconds.
|
||||
Weight::from_parts(42_153_438, 4764)
|
||||
// Standard Error: 1_108
|
||||
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_971
|
||||
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
@@ -318,19 +339,21 @@ impl WeightInfo for () {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 51_697_000 picoseconds.
|
||||
Weight::from_parts(52_048_055, 12879)
|
||||
// Standard Error: 1_598
|
||||
.saturating_add(Weight::from_parts(60_508, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_843
|
||||
.saturating_add(Weight::from_parts(37_870, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 75_223_000 picoseconds.
|
||||
Weight::from_parts(76_675_778, 4764)
|
||||
// Standard Error: 2_534
|
||||
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_509
|
||||
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
@@ -339,25 +362,29 @@ impl WeightInfo for () {
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
/// The range of component `s` is `[0, 27]`.
|
||||
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `15482`
|
||||
// Minimum execution time: 54_585_000 picoseconds.
|
||||
Weight::from_parts(54_492_070, 15482)
|
||||
// Standard Error: 1_694
|
||||
.saturating_add(Weight::from_parts(52_633, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_014
|
||||
.saturating_add(Weight::from_parts(45_485, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
// Estimated: `6196`
|
||||
// Minimum execution time: 76_922_000 picoseconds.
|
||||
Weight::from_parts(78_634_098, 6196)
|
||||
// Standard Error: 2_099
|
||||
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_736
|
||||
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -365,20 +392,22 @@ impl WeightInfo for () {
|
||||
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 34_312_000 picoseconds.
|
||||
Weight::from_parts(33_740_101, 12879)
|
||||
// Standard Error: 996
|
||||
.saturating_add(Weight::from_parts(62_123, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 1_841
|
||||
.saturating_add(Weight::from_parts(56_463, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_476_000 picoseconds.
|
||||
Weight::from_parts(38_261_747, 4764)
|
||||
// Standard Error: 1_794
|
||||
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 3_313
|
||||
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
/// Storage: Vesting Vesting (r:1 w:1)
|
||||
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Locks (r:1 w:1)
|
||||
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
||||
/// Storage: Balances Freezes (r:1 w:0)
|
||||
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
||||
/// Storage: System Account (r:1 w:1)
|
||||
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
||||
/// The range of component `l` is `[0, 49]`.
|
||||
@@ -386,14 +415,14 @@ impl WeightInfo for () {
|
||||
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
||||
// Estimated: `12879`
|
||||
// Minimum execution time: 34_965_000 picoseconds.
|
||||
Weight::from_parts(33_831_484, 12879)
|
||||
// Standard Error: 1_530
|
||||
.saturating_add(Weight::from_parts(59_136, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_827
|
||||
.saturating_add(Weight::from_parts(58_493, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 43_764_000 picoseconds.
|
||||
Weight::from_parts(42_679_386, 4764)
|
||||
// Standard Error: 1_224
|
||||
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 2_261
|
||||
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user