diff --git a/pallets/attestation/src/default_weights.rs b/pallets/attestation/src/default_weights.rs index 715e51cae..d10c548f7 100644 --- a/pallets/attestation/src/default_weights.rs +++ b/pallets/attestation/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for attestation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -62,41 +62,41 @@ impl WeightInfo for SubstrateWeight { // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn add() -> Weight { - Weight::from_ref_time(54_325_000 as u64) + Weight::from_ref_time(54_780_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(33_435_000 as u64) + Weight::from_ref_time(32_733_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(51_293_000 as u64) + Weight::from_ref_time(106_759_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(51_952_000 as u64) + Weight::from_ref_time(115_795_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(67_531_000 as u64) + Weight::from_ref_time(78_288_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(61_904_000 as u64) + Weight::from_ref_time(163_101_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -108,41 +108,41 @@ impl WeightInfo for () { // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn add() -> Weight { - Weight::from_ref_time(54_325_000 as u64) + Weight::from_ref_time(54_780_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(33_435_000 as u64) + Weight::from_ref_time(32_733_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(51_293_000 as u64) + Weight::from_ref_time(106_759_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(51_952_000 as u64) + Weight::from_ref_time(115_795_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(67_531_000 as u64) + Weight::from_ref_time(78_288_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(61_904_000 as u64) + Weight::from_ref_time(163_101_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/ctype/src/default_weights.rs b/pallets/ctype/src/default_weights.rs index 9e2905c44..8256f8dc5 100644 --- a/pallets/ctype/src/default_weights.rs +++ b/pallets/ctype/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for ctype //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-30, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -58,15 +58,15 @@ impl WeightInfo for SubstrateWeight { // Storage: Ctype Ctypes (r:1 w:1) /// The range of component `l` is `[1, 5242880]`. fn add(l: u32, ) -> Weight { - Weight::from_ref_time(10_200_000 as u64) + Weight::from_ref_time(33_628_268 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_946 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Ctype Ctypes (r:1 w:1) fn set_block_number() -> Weight { - Weight::from_ref_time(20_685_000 as u64) + Weight::from_ref_time(33_846_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -78,15 +78,15 @@ impl WeightInfo for () { // Storage: Ctype Ctypes (r:1 w:1) /// The range of component `l` is `[1, 5242880]`. fn add(l: u32, ) -> Weight { - Weight::from_ref_time(10_200_000 as u64) + Weight::from_ref_time(33_628_268 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_946 as u64).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Ctype Ctypes (r:1 w:1) fn set_block_number() -> Weight { - Weight::from_ref_time(20_685_000 as u64) + Weight::from_ref_time(33_846_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } diff --git a/pallets/delegation/src/default_weights.rs b/pallets/delegation/src/default_weights.rs index 7d021c3cb..d944ced55 100644 --- a/pallets/delegation/src/default_weights.rs +++ b/pallets/delegation/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for delegation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -68,14 +68,14 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationNodes (r:0 w:1) fn create_hierarchy() -> Weight { - Weight::from_ref_time(57_306_000 as u64) + Weight::from_ref_time(57_165_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:2) // Storage: System Account (r:1 w:1) fn add_delegation() -> Weight { - Weight::from_ref_time(62_800_000 as u64) + Weight::from_ref_time(59_194_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -84,11 +84,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[1, 5]`. /// The range of component `c` is `[1, 5]`. fn revoke_delegation_root_child(r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(32_902_000 as u64) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(13_890_000 as u64).saturating_mul(r as u64)) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(399_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(30_362_556 as u64) + // Standard Error: 31_911 + .saturating_add(Weight::from_ref_time(13_672_561 as u64).saturating_mul(r as u64)) + // Standard Error: 31_911 + .saturating_add(Weight::from_ref_time(376_731 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) @@ -97,10 +97,12 @@ impl WeightInfo for SubstrateWeight { // Storage: Delegation DelegationHierarchies (r:1 w:0) /// The range of component `r` is `[1, 5]`. /// The range of component `c` is `[1, 5]`. - fn revoke_delegation_leaf(_r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(48_305_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(4_062_000 as u64).saturating_mul(c as u64)) + fn revoke_delegation_leaf(r: u32, c: u32, ) -> Weight { + Weight::from_ref_time(45_294_416 as u64) + // Standard Error: 8_393 + .saturating_add(Weight::from_ref_time(52_151 as u64).saturating_mul(r as u64)) + // Standard Error: 8_393 + .saturating_add(Weight::from_ref_time(3_859_294 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -110,9 +112,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Delegation DelegationHierarchies (r:1 w:1) /// The range of component `r` is `[1, 5]`. fn remove_delegation(r: u32, ) -> Weight { - Weight::from_ref_time(68_555_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(24_147_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(66_501_212 as u64) + // Standard Error: 22_866 + .saturating_add(Weight::from_ref_time(24_301_511 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -123,9 +125,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Delegation DelegationHierarchies (r:0 w:1) /// The range of component `r` is `[1, 5]`. fn reclaim_deposit(r: u32, ) -> Weight { - Weight::from_ref_time(61_377_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(24_028_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(59_266_691 as u64) + // Standard Error: 22_483 + .saturating_add(Weight::from_ref_time(24_188_686 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -134,38 +136,38 @@ impl WeightInfo for SubstrateWeight { // Storage: Delegation DelegationNodes (r:1 w:0) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn can_attest() -> Weight { - Weight::from_ref_time(18_398_000 as u64) + Weight::from_ref_time(16_560_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:0) /// The range of component `c` is `[1, 5]`. fn can_revoke(c: u32, ) -> Weight { - Weight::from_ref_time(13_088_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(4_399_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_488_563 as u64) + // Standard Error: 9_838 + .saturating_add(Weight::from_ref_time(4_191_391 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:2 w:0) /// The range of component `c` is `[1, 5]`. fn can_remove(c: u32, ) -> Weight { - Weight::from_ref_time(13_085_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(4_401_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_493_181 as u64) + // Standard Error: 9_161 + .saturating_add(Weight::from_ref_time(4_183_081 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_043_000 as u64) + Weight::from_ref_time(67_915_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_426_000 as u64) + Weight::from_ref_time(62_926_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -178,14 +180,14 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationNodes (r:0 w:1) fn create_hierarchy() -> Weight { - Weight::from_ref_time(57_306_000 as u64) + Weight::from_ref_time(57_165_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:2) // Storage: System Account (r:1 w:1) fn add_delegation() -> Weight { - Weight::from_ref_time(62_800_000 as u64) + Weight::from_ref_time(59_194_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -194,11 +196,11 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 5]`. /// The range of component `c` is `[1, 5]`. fn revoke_delegation_root_child(r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(32_902_000 as u64) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(13_890_000 as u64).saturating_mul(r as u64)) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(399_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(30_362_556 as u64) + // Standard Error: 31_911 + .saturating_add(Weight::from_ref_time(13_672_561 as u64).saturating_mul(r as u64)) + // Standard Error: 31_911 + .saturating_add(Weight::from_ref_time(376_731 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(r as u64))) @@ -207,10 +209,12 @@ impl WeightInfo for () { // Storage: Delegation DelegationHierarchies (r:1 w:0) /// The range of component `r` is `[1, 5]`. /// The range of component `c` is `[1, 5]`. - fn revoke_delegation_leaf(_r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(48_305_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(4_062_000 as u64).saturating_mul(c as u64)) + fn revoke_delegation_leaf(r: u32, c: u32, ) -> Weight { + Weight::from_ref_time(45_294_416 as u64) + // Standard Error: 8_393 + .saturating_add(Weight::from_ref_time(52_151 as u64).saturating_mul(r as u64)) + // Standard Error: 8_393 + .saturating_add(Weight::from_ref_time(3_859_294 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(RocksDbWeight::get().writes(1 as u64)) @@ -220,9 +224,9 @@ impl WeightInfo for () { // Storage: Delegation DelegationHierarchies (r:1 w:1) /// The range of component `r` is `[1, 5]`. fn remove_delegation(r: u32, ) -> Weight { - Weight::from_ref_time(68_555_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(24_147_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(66_501_212 as u64) + // Standard Error: 22_866 + .saturating_add(Weight::from_ref_time(24_301_511 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -233,9 +237,9 @@ impl WeightInfo for () { // Storage: Delegation DelegationHierarchies (r:0 w:1) /// The range of component `r` is `[1, 5]`. fn reclaim_deposit(r: u32, ) -> Weight { - Weight::from_ref_time(61_377_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(24_028_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(59_266_691 as u64) + // Standard Error: 22_483 + .saturating_add(Weight::from_ref_time(24_188_686 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -244,38 +248,38 @@ impl WeightInfo for () { // Storage: Delegation DelegationNodes (r:1 w:0) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn can_attest() -> Weight { - Weight::from_ref_time(18_398_000 as u64) + Weight::from_ref_time(16_560_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:0) /// The range of component `c` is `[1, 5]`. fn can_revoke(c: u32, ) -> Weight { - Weight::from_ref_time(13_088_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(4_399_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_488_563 as u64) + // Standard Error: 9_838 + .saturating_add(Weight::from_ref_time(4_191_391 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:2 w:0) /// The range of component `c` is `[1, 5]`. fn can_remove(c: u32, ) -> Weight { - Weight::from_ref_time(13_085_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(4_401_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_493_181 as u64) + // Standard Error: 9_161 + .saturating_add(Weight::from_ref_time(4_183_081 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_043_000 as u64) + Weight::from_ref_time(67_915_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_426_000 as u64) + Weight::from_ref_time(62_926_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/did/src/default_weights.rs b/pallets/did/src/default_weights.rs index 673c7fd65..3a6990ac7 100644 --- a/pallets/did/src/default_weights.rs +++ b/pallets/did/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for did //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -96,11 +96,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(159_180_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(1_144_000 as u64).saturating_mul(n as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(6_080_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(155_362_954 as u64) + // Standard Error: 11_821 + .saturating_add(Weight::from_ref_time(1_263_549 as u64).saturating_mul(n as u64)) + // Standard Error: 4_570 + .saturating_add(Weight::from_ref_time(6_149_636 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -113,11 +113,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(159_584_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(1_263_000 as u64).saturating_mul(n as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(6_550_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(155_463_794 as u64) + // Standard Error: 12_431 + .saturating_add(Weight::from_ref_time(1_422_221 as u64).saturating_mul(n as u64)) + // Standard Error: 4_806 + .saturating_add(Weight::from_ref_time(6_691_406 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -130,11 +130,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(144_697_000 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(1_346_000 as u64).saturating_mul(n as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(5_674_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(141_772_067 as u64) + // Standard Error: 10_731 + .saturating_add(Weight::from_ref_time(1_239_702 as u64).saturating_mul(n as u64)) + // Standard Error: 4_149 + .saturating_add(Weight::from_ref_time(5_863_721 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -145,9 +145,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Did ServiceEndpoints (r:0 w:1) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { - Weight::from_ref_time(47_977_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_644_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(45_992_948 as u64) + // Standard Error: 6_651 + .saturating_add(Weight::from_ref_time(1_286_699 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -158,154 +158,154 @@ impl WeightInfo for SubstrateWeight { // Storage: Did ServiceEndpoints (r:0 w:1) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { - Weight::from_ref_time(50_814_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_657_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(48_328_567 as u64) + // Standard Error: 7_613 + .saturating_add(Weight::from_ref_time(1_325_701 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ed25519_key() -> Weight { - Weight::from_ref_time(95_185_000 as u64) + Weight::from_ref_time(94_077_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_sr25519_key() -> Weight { - Weight::from_ref_time(96_880_000 as u64) + Weight::from_ref_time(95_122_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ecdsa_key() -> Weight { - Weight::from_ref_time(84_388_000 as u64) + Weight::from_ref_time(80_276_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_authentication_key() -> Weight { - Weight::from_ref_time(46_019_000 as u64) + Weight::from_ref_time(44_189_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_authentication_key() -> Weight { - Weight::from_ref_time(46_018_000 as u64) + Weight::from_ref_time(43_575_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_authentication_key() -> Weight { - Weight::from_ref_time(46_052_000 as u64) + Weight::from_ref_time(43_395_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(45_621_000 as u64) + Weight::from_ref_time(43_007_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(45_414_000 as u64) + Weight::from_ref_time(43_625_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(45_478_000 as u64) + Weight::from_ref_time(43_135_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(43_012_000 as u64) + Weight::from_ref_time(40_555_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(42_950_000 as u64) + Weight::from_ref_time(40_539_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(42_823_000 as u64) + Weight::from_ref_time(40_439_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(45_531_000 as u64) + Weight::from_ref_time(43_628_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(45_501_000 as u64) + Weight::from_ref_time(43_908_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(45_190_000 as u64) + Weight::from_ref_time(43_418_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(43_191_000 as u64) + Weight::from_ref_time(40_519_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(43_154_000 as u64) + Weight::from_ref_time(40_720_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(43_091_000 as u64) + Weight::from_ref_time(40_956_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_903_000 as u64) + Weight::from_ref_time(42_934_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_779_000 as u64) + Weight::from_ref_time(42_870_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(44_745_000 as u64) + Weight::from_ref_time(42_610_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_437_000 as u64) + Weight::from_ref_time(40_817_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_447_000 as u64) + Weight::from_ref_time(41_022_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(43_188_000 as u64) + Weight::from_ref_time(40_682_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -313,52 +313,52 @@ impl WeightInfo for SubstrateWeight { // Storage: Did DidEndpointsCount (r:1 w:1) // Storage: Did ServiceEndpoints (r:1 w:1) fn add_service_endpoint() -> Weight { - Weight::from_ref_time(52_071_000 as u64) + Weight::from_ref_time(51_035_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did ServiceEndpoints (r:1 w:1) // Storage: Did DidEndpointsCount (r:1 w:1) fn remove_service_endpoint() -> Weight { - Weight::from_ref_time(44_962_000 as u64) + Weight::from_ref_time(42_794_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_sr25519(l: u32, ) -> Weight { - Weight::from_ref_time(29_998_000 as u64) + Weight::from_ref_time(42_471_912 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(4_136 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ed25519(l: u32, ) -> Weight { - Weight::from_ref_time(37_880_000 as u64) + Weight::from_ref_time(44_021_425 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(2_466 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ecdsa(l: u32, ) -> Weight { - Weight::from_ref_time(20_289_000 as u64) + Weight::from_ref_time(25_362_991 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_491 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(61_871_000 as u64) + Weight::from_ref_time(59_406_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_313_000 as u64) + Weight::from_ref_time(63_316_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -374,11 +374,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(159_180_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(1_144_000 as u64).saturating_mul(n as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(6_080_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(155_362_954 as u64) + // Standard Error: 11_821 + .saturating_add(Weight::from_ref_time(1_263_549 as u64).saturating_mul(n as u64)) + // Standard Error: 4_570 + .saturating_add(Weight::from_ref_time(6_149_636 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -391,11 +391,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(159_584_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(1_263_000 as u64).saturating_mul(n as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(6_550_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(155_463_794 as u64) + // Standard Error: 12_431 + .saturating_add(Weight::from_ref_time(1_422_221 as u64).saturating_mul(n as u64)) + // Standard Error: 4_806 + .saturating_add(Weight::from_ref_time(6_691_406 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -408,11 +408,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 10]`. /// The range of component `c` is `[1, 25]`. fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(144_697_000 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(1_346_000 as u64).saturating_mul(n as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(5_674_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(141_772_067 as u64) + // Standard Error: 10_731 + .saturating_add(Weight::from_ref_time(1_239_702 as u64).saturating_mul(n as u64)) + // Standard Error: 4_149 + .saturating_add(Weight::from_ref_time(5_863_721 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -423,9 +423,9 @@ impl WeightInfo for () { // Storage: Did ServiceEndpoints (r:0 w:1) /// The range of component `c` is `[1, 25]`. fn delete(c: u32, ) -> Weight { - Weight::from_ref_time(47_977_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_644_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(45_992_948 as u64) + // Standard Error: 6_651 + .saturating_add(Weight::from_ref_time(1_286_699 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -436,154 +436,154 @@ impl WeightInfo for () { // Storage: Did ServiceEndpoints (r:0 w:1) /// The range of component `c` is `[1, 25]`. fn reclaim_deposit(c: u32, ) -> Weight { - Weight::from_ref_time(50_814_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_657_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(48_328_567 as u64) + // Standard Error: 7_613 + .saturating_add(Weight::from_ref_time(1_325_701 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ed25519_key() -> Weight { - Weight::from_ref_time(95_185_000 as u64) + Weight::from_ref_time(94_077_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_sr25519_key() -> Weight { - Weight::from_ref_time(96_880_000 as u64) + Weight::from_ref_time(95_122_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ecdsa_key() -> Weight { - Weight::from_ref_time(84_388_000 as u64) + Weight::from_ref_time(80_276_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_authentication_key() -> Weight { - Weight::from_ref_time(46_019_000 as u64) + Weight::from_ref_time(44_189_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_authentication_key() -> Weight { - Weight::from_ref_time(46_018_000 as u64) + Weight::from_ref_time(43_575_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_authentication_key() -> Weight { - Weight::from_ref_time(46_052_000 as u64) + Weight::from_ref_time(43_395_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(45_621_000 as u64) + Weight::from_ref_time(43_007_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(45_414_000 as u64) + Weight::from_ref_time(43_625_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(45_478_000 as u64) + Weight::from_ref_time(43_135_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(43_012_000 as u64) + Weight::from_ref_time(40_555_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(42_950_000 as u64) + Weight::from_ref_time(40_539_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(42_823_000 as u64) + Weight::from_ref_time(40_439_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(45_531_000 as u64) + Weight::from_ref_time(43_628_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(45_501_000 as u64) + Weight::from_ref_time(43_908_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(45_190_000 as u64) + Weight::from_ref_time(43_418_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(43_191_000 as u64) + Weight::from_ref_time(40_519_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(43_154_000 as u64) + Weight::from_ref_time(40_720_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(43_091_000 as u64) + Weight::from_ref_time(40_956_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_903_000 as u64) + Weight::from_ref_time(42_934_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_779_000 as u64) + Weight::from_ref_time(42_870_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(44_745_000 as u64) + Weight::from_ref_time(42_610_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_437_000 as u64) + Weight::from_ref_time(40_817_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_447_000 as u64) + Weight::from_ref_time(41_022_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(43_188_000 as u64) + Weight::from_ref_time(40_682_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -591,52 +591,52 @@ impl WeightInfo for () { // Storage: Did DidEndpointsCount (r:1 w:1) // Storage: Did ServiceEndpoints (r:1 w:1) fn add_service_endpoint() -> Weight { - Weight::from_ref_time(52_071_000 as u64) + Weight::from_ref_time(51_035_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Did ServiceEndpoints (r:1 w:1) // Storage: Did DidEndpointsCount (r:1 w:1) fn remove_service_endpoint() -> Weight { - Weight::from_ref_time(44_962_000 as u64) + Weight::from_ref_time(42_794_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_sr25519(l: u32, ) -> Weight { - Weight::from_ref_time(29_998_000 as u64) + Weight::from_ref_time(42_471_912 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(4_136 as u64).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ed25519(l: u32, ) -> Weight { - Weight::from_ref_time(37_880_000 as u64) + Weight::from_ref_time(44_021_425 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(2_466 as u64).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) /// The range of component `l` is `[1, 5242880]`. fn signature_verification_ecdsa(l: u32, ) -> Weight { - Weight::from_ref_time(20_289_000 as u64) + Weight::from_ref_time(25_362_991 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_491 as u64).saturating_mul(l as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(61_871_000 as u64) + Weight::from_ref_time(59_406_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_313_000 as u64) + Weight::from_ref_time(63_316_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/pallet-did-lookup/src/default_weights.rs b/pallets/pallet-did-lookup/src/default_weights.rs index b2e44bac5..dbed5d959 100644 --- a/pallets/pallet-did-lookup/src/default_weights.rs +++ b/pallets/pallet-did-lookup/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_did_lookup //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -62,7 +62,7 @@ impl WeightInfo for SubstrateWeight { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_account() -> Weight { - Weight::from_ref_time(133_182_000 as u64) + Weight::from_ref_time(129_957_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -70,7 +70,7 @@ impl WeightInfo for SubstrateWeight { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_sender() -> Weight { - Weight::from_ref_time(72_677_000 as u64) + Weight::from_ref_time(172_109_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -78,7 +78,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_sender_association() -> Weight { - Weight::from_ref_time(52_639_000 as u64) + Weight::from_ref_time(49_665_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -86,21 +86,21 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_account_association() -> Weight { - Weight::from_ref_time(54_561_000 as u64) + Weight::from_ref_time(111_285_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(67_094_000 as u64) + Weight::from_ref_time(146_508_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_960_000 as u64) + Weight::from_ref_time(58_367_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -112,7 +112,7 @@ impl WeightInfo for () { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_account() -> Weight { - Weight::from_ref_time(133_182_000 as u64) + Weight::from_ref_time(129_957_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -120,7 +120,7 @@ impl WeightInfo for () { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_sender() -> Weight { - Weight::from_ref_time(72_677_000 as u64) + Weight::from_ref_time(172_109_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -128,7 +128,7 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_sender_association() -> Weight { - Weight::from_ref_time(52_639_000 as u64) + Weight::from_ref_time(49_665_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -136,21 +136,21 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_account_association() -> Weight { - Weight::from_ref_time(54_561_000 as u64) + Weight::from_ref_time(111_285_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(67_094_000 as u64) + Weight::from_ref_time(146_508_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_960_000 as u64) + Weight::from_ref_time(58_367_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/pallet-inflation/src/default_weights.rs b/pallets/pallet-inflation/src/default_weights.rs index b8dbb3c07..24fc931c4 100644 --- a/pallets/pallet-inflation/src/default_weights.rs +++ b/pallets/pallet-inflation/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_inflation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -56,12 +56,12 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) fn on_initialize_mint_to_treasury() -> Weight { - Weight::from_ref_time(37_539_000 as u64) + Weight::from_ref_time(81_256_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(293_000 as u64) + Weight::from_ref_time(871_000 as u64) } } @@ -69,11 +69,11 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: System Account (r:1 w:1) fn on_initialize_mint_to_treasury() -> Weight { - Weight::from_ref_time(37_539_000 as u64) + Weight::from_ref_time(81_256_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(293_000 as u64) + Weight::from_ref_time(871_000 as u64) } } diff --git a/pallets/pallet-web3-names/src/default_weights.rs b/pallets/pallet-web3-names/src/default_weights.rs index bcf992c3d..a0f2e18ed 100644 --- a/pallets/pallet-web3-names/src/default_weights.rs +++ b/pallets/pallet-web3-names/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_web3_names //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -64,10 +64,8 @@ impl WeightInfo for SubstrateWeight { // Storage: Web3Names Banned (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `n` is `[3, 32]`. - fn claim(n: u32, ) -> Weight { - Weight::from_ref_time(58_711_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(n as u64)) + fn claim(_n: u32, ) -> Weight { + Weight::from_ref_time(79_918_651 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -75,7 +73,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn release_by_owner() -> Weight { - Weight::from_ref_time(56_091_000 as u64) + Weight::from_ref_time(115_743_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -84,9 +82,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Web3Names Names (r:0 w:1) /// The range of component `n` is `[3, 32]`. fn reclaim_deposit(n: u32, ) -> Weight { - Weight::from_ref_time(52_014_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(66_014_688 as u64) + // Standard Error: 138_142 + .saturating_add(Weight::from_ref_time(6_118 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -95,19 +93,15 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) /// The range of component `n` is `[3, 32]`. - fn ban(n: u32, ) -> Weight { - Weight::from_ref_time(56_989_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(n as u64)) + fn ban(_n: u32, ) -> Weight { + Weight::from_ref_time(65_086_706 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Web3Names Banned (r:1 w:1) /// The range of component `n` is `[3, 32]`. - fn unban(n: u32, ) -> Weight { - Weight::from_ref_time(31_185_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(40_000 as u64).saturating_mul(n as u64)) + fn unban(_n: u32, ) -> Weight { + Weight::from_ref_time(38_246_474 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -115,14 +109,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_280_000 as u64) + Weight::from_ref_time(67_804_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_896_000 as u64) + Weight::from_ref_time(59_442_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -135,10 +129,8 @@ impl WeightInfo for () { // Storage: Web3Names Banned (r:1 w:0) // Storage: System Account (r:1 w:1) /// The range of component `n` is `[3, 32]`. - fn claim(n: u32, ) -> Weight { - Weight::from_ref_time(58_711_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(n as u64)) + fn claim(_n: u32, ) -> Weight { + Weight::from_ref_time(79_918_651 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -146,7 +138,7 @@ impl WeightInfo for () { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn release_by_owner() -> Weight { - Weight::from_ref_time(56_091_000 as u64) + Weight::from_ref_time(115_743_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -155,9 +147,9 @@ impl WeightInfo for () { // Storage: Web3Names Names (r:0 w:1) /// The range of component `n` is `[3, 32]`. fn reclaim_deposit(n: u32, ) -> Weight { - Weight::from_ref_time(52_014_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(66_014_688 as u64) + // Standard Error: 138_142 + .saturating_add(Weight::from_ref_time(6_118 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -166,19 +158,15 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) /// The range of component `n` is `[3, 32]`. - fn ban(n: u32, ) -> Weight { - Weight::from_ref_time(56_989_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(n as u64)) + fn ban(_n: u32, ) -> Weight { + Weight::from_ref_time(65_086_706 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } // Storage: Web3Names Banned (r:1 w:1) /// The range of component `n` is `[3, 32]`. - fn unban(n: u32, ) -> Weight { - Weight::from_ref_time(31_185_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(40_000 as u64).saturating_mul(n as u64)) + fn unban(_n: u32, ) -> Weight { + Weight::from_ref_time(38_246_474 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -186,14 +174,14 @@ impl WeightInfo for () { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_280_000 as u64) + Weight::from_ref_time(67_804_000 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_896_000 as u64) + Weight::from_ref_time(59_442_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/pallets/parachain-staking/src/default_weights.rs b/pallets/parachain-staking/src/default_weights.rs index 40220b9cc..c447564d1 100644 --- a/pallets/parachain-staking/src/default_weights.rs +++ b/pallets/parachain-staking/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -78,12 +78,12 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: ParachainStaking Round (r:1 w:0) fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(7_687_000 as u64) + Weight::from_ref_time(7_295_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn on_initialize_round_update() -> Weight { - Weight::from_ref_time(22_824_000 as u64) + Weight::from_ref_time(20_334_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -93,13 +93,13 @@ impl WeightInfo for SubstrateWeight { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: System Account (r:1 w:1) fn on_initialize_network_rewards() -> Weight { - Weight::from_ref_time(57_477_000 as u64) + Weight::from_ref_time(53_479_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking ForceNewRound (r:0 w:1) fn force_new_round() -> Weight { - Weight::from_ref_time(8_703_000 as u64) + Weight::from_ref_time(15_272_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking CandidatePool (r:3 w:0) @@ -112,15 +112,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 75]`. /// The range of component `m` is `[0, 35]`. fn set_inflation(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 725_000 - .saturating_add(Weight::from_ref_time(503_847_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_542_000 - .saturating_add(Weight::from_ref_time(1_032_264_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(880_206_000 as u64) + // Standard Error: 5_316_702 + .saturating_add(Weight::from_ref_time(170_934_184 as u64).saturating_mul(n as u64)) + // Standard Error: 11_414_842 + .saturating_add(Weight::from_ref_time(326_552_012 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(152 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(145 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) // Storage: ParachainStaking TopCandidates (r:1 w:0) @@ -129,17 +131,18 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[16, 75]`. /// The range of component `m` is `[0, 35]`. fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 245_000 - .saturating_add(Weight::from_ref_time(26_950_000 as u64).saturating_mul(n as u64)) - // Standard Error: 412_000 - .saturating_add(Weight::from_ref_time(42_580_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(71_790_000 as u64) + // Standard Error: 27_483 + .saturating_add(Weight::from_ref_time(3_582_143 as u64).saturating_mul(n as u64)) + // Standard Error: 60_832 + .saturating_add(Weight::from_ref_time(349_083 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(29_360_000 as u64) + Weight::from_ref_time(56_977_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -160,11 +163,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[17, 75]`. /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 238_000 - .saturating_add(Weight::from_ref_time(27_688_000 as u64).saturating_mul(n as u64)) - // Standard Error: 393_000 - .saturating_add(Weight::from_ref_time(78_182_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(167_630_000 as u64) + // Standard Error: 33_915 + .saturating_add(Weight::from_ref_time(1_267_282 as u64).saturating_mul(n as u64)) + // Standard Error: 75_237 + .saturating_add(Weight::from_ref_time(32_352_601 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(10 as u64)) @@ -183,11 +186,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 225_000 - .saturating_add(Weight::from_ref_time(22_116_000 as u64).saturating_mul(n as u64)) - // Standard Error: 468_000 - .saturating_add(Weight::from_ref_time(45_139_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(74_868_992 as u64) + // Standard Error: 15_510 + .saturating_add(Weight::from_ref_time(844_907 as u64).saturating_mul(n as u64)) + // Standard Error: 32_208 + .saturating_add(Weight::from_ref_time(1_664_228 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -199,11 +202,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 253_000 - .saturating_add(Weight::from_ref_time(27_095_000 as u64).saturating_mul(n as u64)) - // Standard Error: 410_000 - .saturating_add(Weight::from_ref_time(50_128_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(102_892_381 as u64) + // Standard Error: 15_634 + .saturating_add(Weight::from_ref_time(884_087 as u64).saturating_mul(n as u64)) + // Standard Error: 25_354 + .saturating_add(Weight::from_ref_time(1_951_960 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -214,11 +217,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 262_000 - .saturating_add(Weight::from_ref_time(27_719_000 as u64).saturating_mul(n as u64)) - // Standard Error: 426_000 - .saturating_add(Weight::from_ref_time(51_151_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_163_088 as u64) + // Standard Error: 11_849 + .saturating_add(Weight::from_ref_time(470_670 as u64).saturating_mul(n as u64)) + // Standard Error: 19_216 + .saturating_add(Weight::from_ref_time(1_150_199 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -238,11 +241,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 246_000 - .saturating_add(Weight::from_ref_time(31_941_000 as u64).saturating_mul(n as u64)) - // Standard Error: 400_000 - .saturating_add(Weight::from_ref_time(87_138_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_532_000 as u64) + // Standard Error: 33_213 + .saturating_add(Weight::from_ref_time(1_131_850 as u64).saturating_mul(n as u64)) + // Standard Error: 72_738 + .saturating_add(Weight::from_ref_time(32_258_326 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(8 as u64)) @@ -263,12 +266,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. /// The range of component `u` is `[0, 9]`. - fn candidate_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 198_000 - .saturating_add(Weight::from_ref_time(28_533_000 as u64).saturating_mul(n as u64)) - // Standard Error: 412_000 - .saturating_add(Weight::from_ref_time(58_754_000 as u64).saturating_mul(m as u64)) + fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(71_965_734 as u64) + // Standard Error: 13_893 + .saturating_add(Weight::from_ref_time(925_357 as u64).saturating_mul(n as u64)) + // Standard Error: 28_840 + .saturating_add(Weight::from_ref_time(1_887_704 as u64).saturating_mul(m as u64)) + // Standard Error: 106_831 + .saturating_add(Weight::from_ref_time(1_865_718 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -284,11 +289,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 238_000 - .saturating_add(Weight::from_ref_time(27_302_000 as u64).saturating_mul(n as u64)) - // Standard Error: 494_000 - .saturating_add(Weight::from_ref_time(56_407_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_739_612 as u64) + // Standard Error: 16_793 + .saturating_add(Weight::from_ref_time(864_759 as u64).saturating_mul(n as u64)) + // Standard Error: 34_871 + .saturating_add(Weight::from_ref_time(1_709_617 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -307,11 +312,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 222_000 - .saturating_add(Weight::from_ref_time(26_756_000 as u64).saturating_mul(n as u64)) - // Standard Error: 493_000 - .saturating_add(Weight::from_ref_time(58_560_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(77_485_243 as u64) + // Standard Error: 14_703 + .saturating_add(Weight::from_ref_time(1_058_123 as u64).saturating_mul(n as u64)) + // Standard Error: 32_678 + .saturating_add(Weight::from_ref_time(2_182_817 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -330,12 +335,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. /// The range of component `u` is `[1, 9]`. - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 184_000 - .saturating_add(Weight::from_ref_time(28_310_000 as u64).saturating_mul(n as u64)) - // Standard Error: 409_000 - .saturating_add(Weight::from_ref_time(61_656_000 as u64).saturating_mul(m as u64)) + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(82_500_737 as u64) + // Standard Error: 12_571 + .saturating_add(Weight::from_ref_time(971_252 as u64).saturating_mul(n as u64)) + // Standard Error: 27_929 + .saturating_add(Weight::from_ref_time(1_947_599 as u64).saturating_mul(m as u64)) + // Standard Error: 108_324 + .saturating_add(Weight::from_ref_time(1_782_476 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -352,11 +359,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 231_000 - .saturating_add(Weight::from_ref_time(27_176_000 as u64).saturating_mul(n as u64)) - // Standard Error: 515_000 - .saturating_add(Weight::from_ref_time(59_103_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(72_772_464 as u64) + // Standard Error: 14_214 + .saturating_add(Weight::from_ref_time(909_175 as u64).saturating_mul(n as u64)) + // Standard Error: 31_591 + .saturating_add(Weight::from_ref_time(1_824_513 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -373,11 +380,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 225_000 - .saturating_add(Weight::from_ref_time(27_268_000 as u64).saturating_mul(n as u64)) - // Standard Error: 500_000 - .saturating_add(Weight::from_ref_time(59_282_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(80_275_828 as u64) + // Standard Error: 14_671 + .saturating_add(Weight::from_ref_time(913_421 as u64).saturating_mul(n as u64)) + // Standard Error: 32_607 + .saturating_add(Weight::from_ref_time(1_764_476 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -386,15 +393,15 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) /// The range of component `u` is `[1, 9]`. fn unlock_unstaked(u: u32, ) -> Weight { - Weight::from_ref_time(56_797_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(274_000 as u64).saturating_mul(u as u64)) + Weight::from_ref_time(53_730_996 as u64) + // Standard Error: 18_906 + .saturating_add(Weight::from_ref_time(410_777 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) fn set_max_candidate_stake() -> Weight { - Weight::from_ref_time(23_858_000 as u64) + Weight::from_ref_time(43_109_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking DelegatorState (r:1 w:0) @@ -404,7 +411,7 @@ impl WeightInfo for SubstrateWeight { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_delegator_rewards() -> Weight { - Weight::from_ref_time(46_081_000 as u64) + Weight::from_ref_time(40_000_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -415,14 +422,14 @@ impl WeightInfo for SubstrateWeight { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_collator_rewards() -> Weight { - Weight::from_ref_time(39_423_000 as u64) + Weight::from_ref_time(35_612_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_rewards() -> Weight { - Weight::from_ref_time(58_622_000 as u64) + Weight::from_ref_time(54_273_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -437,15 +444,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 75]`. /// The range of component `m` is `[0, 35]`. fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 617_000 - .saturating_add(Weight::from_ref_time(501_562_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_313_000 - .saturating_add(Weight::from_ref_time(1_032_648_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(869_446_000 as u64) + // Standard Error: 5_211_771 + .saturating_add(Weight::from_ref_time(166_314_407 as u64).saturating_mul(n as u64)) + // Standard Error: 11_189_560 + .saturating_add(Weight::from_ref_time(321_504_163 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(153 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(146 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } } @@ -453,12 +462,12 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: ParachainStaking Round (r:1 w:0) fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(7_687_000 as u64) + Weight::from_ref_time(7_295_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn on_initialize_round_update() -> Weight { - Weight::from_ref_time(22_824_000 as u64) + Weight::from_ref_time(20_334_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -468,13 +477,13 @@ impl WeightInfo for () { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: System Account (r:1 w:1) fn on_initialize_network_rewards() -> Weight { - Weight::from_ref_time(57_477_000 as u64) + Weight::from_ref_time(53_479_000 as u64) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking ForceNewRound (r:0 w:1) fn force_new_round() -> Weight { - Weight::from_ref_time(8_703_000 as u64) + Weight::from_ref_time(15_272_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking CandidatePool (r:3 w:0) @@ -487,15 +496,17 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 75]`. /// The range of component `m` is `[0, 35]`. fn set_inflation(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 725_000 - .saturating_add(Weight::from_ref_time(503_847_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_542_000 - .saturating_add(Weight::from_ref_time(1_032_264_000 as u64).saturating_mul(m as u64)) - .saturating_add(RocksDbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(RocksDbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(RocksDbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(RocksDbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(880_206_000 as u64) + // Standard Error: 5_316_702 + .saturating_add(Weight::from_ref_time(170_934_184 as u64).saturating_mul(n as u64)) + // Standard Error: 11_414_842 + .saturating_add(Weight::from_ref_time(326_552_012 as u64).saturating_mul(m as u64)) + .saturating_add(RocksDbWeight::get().reads(152 as u64)) + .saturating_add(RocksDbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(RocksDbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(RocksDbWeight::get().writes(145 as u64)) + .saturating_add(RocksDbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(RocksDbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) // Storage: ParachainStaking TopCandidates (r:1 w:0) @@ -504,17 +515,18 @@ impl WeightInfo for () { /// The range of component `n` is `[16, 75]`. /// The range of component `m` is `[0, 35]`. fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 245_000 - .saturating_add(Weight::from_ref_time(26_950_000 as u64).saturating_mul(n as u64)) - // Standard Error: 412_000 - .saturating_add(Weight::from_ref_time(42_580_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(71_790_000 as u64) + // Standard Error: 27_483 + .saturating_add(Weight::from_ref_time(3_582_143 as u64).saturating_mul(n as u64)) + // Standard Error: 60_832 + .saturating_add(Weight::from_ref_time(349_083 as u64).saturating_mul(m as u64)) + .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(29_360_000 as u64) + Weight::from_ref_time(56_977_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -535,11 +547,11 @@ impl WeightInfo for () { /// The range of component `n` is `[17, 75]`. /// The range of component `m` is `[0, 35]`. fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 238_000 - .saturating_add(Weight::from_ref_time(27_688_000 as u64).saturating_mul(n as u64)) - // Standard Error: 393_000 - .saturating_add(Weight::from_ref_time(78_182_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(167_630_000 as u64) + // Standard Error: 33_915 + .saturating_add(Weight::from_ref_time(1_267_282 as u64).saturating_mul(n as u64)) + // Standard Error: 75_237 + .saturating_add(Weight::from_ref_time(32_352_601 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(29 as u64)) .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(RocksDbWeight::get().writes(10 as u64)) @@ -558,11 +570,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 225_000 - .saturating_add(Weight::from_ref_time(22_116_000 as u64).saturating_mul(n as u64)) - // Standard Error: 468_000 - .saturating_add(Weight::from_ref_time(45_139_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(74_868_992 as u64) + // Standard Error: 15_510 + .saturating_add(Weight::from_ref_time(844_907 as u64).saturating_mul(n as u64)) + // Standard Error: 32_208 + .saturating_add(Weight::from_ref_time(1_664_228 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -574,11 +586,11 @@ impl WeightInfo for () { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 253_000 - .saturating_add(Weight::from_ref_time(27_095_000 as u64).saturating_mul(n as u64)) - // Standard Error: 410_000 - .saturating_add(Weight::from_ref_time(50_128_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(102_892_381 as u64) + // Standard Error: 15_634 + .saturating_add(Weight::from_ref_time(884_087 as u64).saturating_mul(n as u64)) + // Standard Error: 25_354 + .saturating_add(Weight::from_ref_time(1_951_960 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(21 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -589,11 +601,11 @@ impl WeightInfo for () { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 262_000 - .saturating_add(Weight::from_ref_time(27_719_000 as u64).saturating_mul(n as u64)) - // Standard Error: 426_000 - .saturating_add(Weight::from_ref_time(51_151_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_163_088 as u64) + // Standard Error: 11_849 + .saturating_add(Weight::from_ref_time(470_670 as u64).saturating_mul(n as u64)) + // Standard Error: 19_216 + .saturating_add(Weight::from_ref_time(1_150_199 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(5 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -613,11 +625,11 @@ impl WeightInfo for () { /// The range of component `n` is `[17, 74]`. /// The range of component `m` is `[0, 35]`. fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 246_000 - .saturating_add(Weight::from_ref_time(31_941_000 as u64).saturating_mul(n as u64)) - // Standard Error: 400_000 - .saturating_add(Weight::from_ref_time(87_138_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_532_000 as u64) + // Standard Error: 33_213 + .saturating_add(Weight::from_ref_time(1_131_850 as u64).saturating_mul(n as u64)) + // Standard Error: 72_738 + .saturating_add(Weight::from_ref_time(32_258_326 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(RocksDbWeight::get().writes(8 as u64)) @@ -638,12 +650,14 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. /// The range of component `u` is `[0, 9]`. - fn candidate_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 198_000 - .saturating_add(Weight::from_ref_time(28_533_000 as u64).saturating_mul(n as u64)) - // Standard Error: 412_000 - .saturating_add(Weight::from_ref_time(58_754_000 as u64).saturating_mul(m as u64)) + fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(71_965_734 as u64) + // Standard Error: 13_893 + .saturating_add(Weight::from_ref_time(925_357 as u64).saturating_mul(n as u64)) + // Standard Error: 28_840 + .saturating_add(Weight::from_ref_time(1_887_704 as u64).saturating_mul(m as u64)) + // Standard Error: 106_831 + .saturating_add(Weight::from_ref_time(1_865_718 as u64).saturating_mul(u as u64)) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(8 as u64)) } @@ -659,11 +673,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 74]`. /// The range of component `m` is `[0, 35]`. fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 238_000 - .saturating_add(Weight::from_ref_time(27_302_000 as u64).saturating_mul(n as u64)) - // Standard Error: 494_000 - .saturating_add(Weight::from_ref_time(56_407_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_739_612 as u64) + // Standard Error: 16_793 + .saturating_add(Weight::from_ref_time(864_759 as u64).saturating_mul(n as u64)) + // Standard Error: 34_871 + .saturating_add(Weight::from_ref_time(1_709_617 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(9 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -682,11 +696,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 222_000 - .saturating_add(Weight::from_ref_time(26_756_000 as u64).saturating_mul(n as u64)) - // Standard Error: 493_000 - .saturating_add(Weight::from_ref_time(58_560_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(77_485_243 as u64) + // Standard Error: 14_703 + .saturating_add(Weight::from_ref_time(1_058_123 as u64).saturating_mul(n as u64)) + // Standard Error: 32_678 + .saturating_add(Weight::from_ref_time(2_182_817 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(9 as u64)) } @@ -705,12 +719,14 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. /// The range of component `u` is `[1, 9]`. - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 184_000 - .saturating_add(Weight::from_ref_time(28_310_000 as u64).saturating_mul(n as u64)) - // Standard Error: 409_000 - .saturating_add(Weight::from_ref_time(61_656_000 as u64).saturating_mul(m as u64)) + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(82_500_737 as u64) + // Standard Error: 12_571 + .saturating_add(Weight::from_ref_time(971_252 as u64).saturating_mul(n as u64)) + // Standard Error: 27_929 + .saturating_add(Weight::from_ref_time(1_947_599 as u64).saturating_mul(m as u64)) + // Standard Error: 108_324 + .saturating_add(Weight::from_ref_time(1_782_476 as u64).saturating_mul(u as u64)) .saturating_add(RocksDbWeight::get().reads(12 as u64)) .saturating_add(RocksDbWeight::get().writes(9 as u64)) } @@ -727,11 +743,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 231_000 - .saturating_add(Weight::from_ref_time(27_176_000 as u64).saturating_mul(n as u64)) - // Standard Error: 515_000 - .saturating_add(Weight::from_ref_time(59_103_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(72_772_464 as u64) + // Standard Error: 14_214 + .saturating_add(Weight::from_ref_time(909_175 as u64).saturating_mul(n as u64)) + // Standard Error: 31_591 + .saturating_add(Weight::from_ref_time(1_824_513 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -748,11 +764,11 @@ impl WeightInfo for () { /// The range of component `n` is `[1, 75]`. /// The range of component `m` is `[1, 34]`. fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 225_000 - .saturating_add(Weight::from_ref_time(27_268_000 as u64).saturating_mul(n as u64)) - // Standard Error: 500_000 - .saturating_add(Weight::from_ref_time(59_282_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(80_275_828 as u64) + // Standard Error: 14_671 + .saturating_add(Weight::from_ref_time(913_421 as u64).saturating_mul(n as u64)) + // Standard Error: 32_607 + .saturating_add(Weight::from_ref_time(1_764_476 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(10 as u64)) .saturating_add(RocksDbWeight::get().writes(7 as u64)) } @@ -761,15 +777,15 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) /// The range of component `u` is `[1, 9]`. fn unlock_unstaked(u: u32, ) -> Weight { - Weight::from_ref_time(56_797_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(274_000 as u64).saturating_mul(u as u64)) + Weight::from_ref_time(53_730_996 as u64) + // Standard Error: 18_906 + .saturating_add(Weight::from_ref_time(410_777 as u64).saturating_mul(u as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) fn set_max_candidate_stake() -> Weight { - Weight::from_ref_time(23_858_000 as u64) + Weight::from_ref_time(43_109_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking DelegatorState (r:1 w:0) @@ -779,7 +795,7 @@ impl WeightInfo for () { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_delegator_rewards() -> Weight { - Weight::from_ref_time(46_081_000 as u64) + Weight::from_ref_time(40_000_000 as u64) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } @@ -790,14 +806,14 @@ impl WeightInfo for () { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_collator_rewards() -> Weight { - Weight::from_ref_time(39_423_000 as u64) + Weight::from_ref_time(35_612_000 as u64) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_rewards() -> Weight { - Weight::from_ref_time(58_622_000 as u64) + Weight::from_ref_time(54_273_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } @@ -812,14 +828,16 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 75]`. /// The range of component `m` is `[0, 35]`. fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 617_000 - .saturating_add(Weight::from_ref_time(501_562_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_313_000 - .saturating_add(Weight::from_ref_time(1_032_648_000 as u64).saturating_mul(m as u64)) - .saturating_add(RocksDbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(RocksDbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(RocksDbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(RocksDbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(869_446_000 as u64) + // Standard Error: 5_211_771 + .saturating_add(Weight::from_ref_time(166_314_407 as u64).saturating_mul(n as u64)) + // Standard Error: 11_189_560 + .saturating_add(Weight::from_ref_time(321_504_163 as u64).saturating_mul(m as u64)) + .saturating_add(RocksDbWeight::get().reads(153 as u64)) + .saturating_add(RocksDbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(RocksDbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(RocksDbWeight::get().writes(146 as u64)) + .saturating_add(RocksDbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(RocksDbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } } diff --git a/pallets/public-credentials/src/default_weights.rs b/pallets/public-credentials/src/default_weights.rs index 3a4ab99ef..1486b7698 100644 --- a/pallets/public-credentials/src/default_weights.rs +++ b/pallets/public-credentials/src/default_weights.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for public_credentials //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ +//! DATE: 2023-02-01, STEPS: {{cmd.steps}}\, REPEAT: {{cmd.repeat}}\, LOW RANGE: {{cmd.lowest_range_values}}\, HIGH RANGE: {{cmd.highest_range_values}}\ //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -65,23 +65,23 @@ impl WeightInfo for SubstrateWeight { // Storage: PublicCredentials CredentialSubjects (r:0 w:1) /// The range of component `c` is `[1, 100000]`. fn add(c: u32, ) -> Weight { - Weight::from_ref_time(72_318_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(96_667_665 as u64) + // Standard Error: 54 + .saturating_add(Weight::from_ref_time(2_659 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(45_231_000 as u64) + Weight::from_ref_time(43_871_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn unrevoke() -> Weight { - Weight::from_ref_time(45_143_000 as u64) + Weight::from_ref_time(85_230_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -89,7 +89,7 @@ impl WeightInfo for SubstrateWeight { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(69_585_000 as u64) + Weight::from_ref_time(69_558_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -97,7 +97,7 @@ impl WeightInfo for SubstrateWeight { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(69_922_000 as u64) + Weight::from_ref_time(79_250_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -105,7 +105,7 @@ impl WeightInfo for SubstrateWeight { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(88_236_000 as u64) + Weight::from_ref_time(82_619_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -113,7 +113,7 @@ impl WeightInfo for SubstrateWeight { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(82_126_000 as u64) + Weight::from_ref_time(185_610_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -127,23 +127,23 @@ impl WeightInfo for () { // Storage: PublicCredentials CredentialSubjects (r:0 w:1) /// The range of component `c` is `[1, 100000]`. fn add(c: u32, ) -> Weight { - Weight::from_ref_time(72_318_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(96_667_665 as u64) + // Standard Error: 54 + .saturating_add(Weight::from_ref_time(2_659 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(45_231_000 as u64) + Weight::from_ref_time(43_871_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn unrevoke() -> Weight { - Weight::from_ref_time(45_143_000 as u64) + Weight::from_ref_time(85_230_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -151,7 +151,7 @@ impl WeightInfo for () { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(69_585_000 as u64) + Weight::from_ref_time(69_558_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -159,7 +159,7 @@ impl WeightInfo for () { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(69_922_000 as u64) + Weight::from_ref_time(79_250_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -167,7 +167,7 @@ impl WeightInfo for () { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(88_236_000 as u64) + Weight::from_ref_time(82_619_000 as u64) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -175,7 +175,7 @@ impl WeightInfo for () { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(82_126_000 as u64) + Weight::from_ref_time(185_610_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/attestation.rs b/runtimes/peregrine/src/weights/attestation.rs index 4cf8085d4..c0ce47292 100644 --- a/runtimes/peregrine/src/weights/attestation.rs +++ b/runtimes/peregrine/src/weights/attestation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for attestation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -52,41 +52,41 @@ impl attestation::WeightInfo for WeightInfo { // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn add() -> Weight { - Weight::from_ref_time(57_114_000 as u64) + Weight::from_ref_time(53_744_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(34_634_000 as u64) + Weight::from_ref_time(32_562_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(52_872_000 as u64) + Weight::from_ref_time(106_038_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(52_778_000 as u64) + Weight::from_ref_time(50_583_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_052_000 as u64) + Weight::from_ref_time(146_133_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(62_863_000 as u64) + Weight::from_ref_time(61_290_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/ctype.rs b/runtimes/peregrine/src/weights/ctype.rs index cb9bfddb1..e46ec6508 100644 --- a/runtimes/peregrine/src/weights/ctype.rs +++ b/runtimes/peregrine/src/weights/ctype.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for ctype //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,15 +51,15 @@ impl ctype::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Ctype Ctypes (r:1 w:1) fn add(l: u32, ) -> Weight { - Weight::from_ref_time(6_447_000 as u64) + Weight::from_ref_time(25_806_258 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_949 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Ctype Ctypes (r:1 w:1) fn set_block_number() -> Weight { - Weight::from_ref_time(19_549_000 as u64) + Weight::from_ref_time(33_100_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/peregrine/src/weights/delegation.rs b/runtimes/peregrine/src/weights/delegation.rs index b29ea4c60..2ea8ab62c 100644 --- a/runtimes/peregrine/src/weights/delegation.rs +++ b/runtimes/peregrine/src/weights/delegation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for delegation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,35 +53,37 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationNodes (r:0 w:1) fn create_hierarchy() -> Weight { - Weight::from_ref_time(57_917_000 as u64) + Weight::from_ref_time(119_806_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:2) // Storage: System Account (r:1 w:1) fn add_delegation() -> Weight { - Weight::from_ref_time(62_749_000 as u64) + Weight::from_ref_time(59_204_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn revoke_delegation_root_child(r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(32_160_000 as u64) - // Standard Error: 37_000 - .saturating_add(Weight::from_ref_time(14_117_000 as u64).saturating_mul(r as u64)) - // Standard Error: 37_000 - .saturating_add(Weight::from_ref_time(467_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(30_658_951 as u64) + // Standard Error: 32_764 + .saturating_add(Weight::from_ref_time(13_456_648 as u64).saturating_mul(r as u64)) + // Standard Error: 32_764 + .saturating_add(Weight::from_ref_time(343_360 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Delegation DelegationNodes (r:6 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:0) - fn revoke_delegation_leaf(_r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(48_395_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(4_088_000 as u64).saturating_mul(c as u64)) + fn revoke_delegation_leaf(r: u32, c: u32, ) -> Weight { + Weight::from_ref_time(45_118_263 as u64) + // Standard Error: 8_164 + .saturating_add(Weight::from_ref_time(96_141 as u64).saturating_mul(r as u64)) + // Standard Error: 8_164 + .saturating_add(Weight::from_ref_time(3_856_481 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -90,9 +92,9 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:1) fn remove_delegation(r: u32, ) -> Weight { - Weight::from_ref_time(68_696_000 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(24_154_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(65_191_861 as u64) + // Standard Error: 16_842 + .saturating_add(Weight::from_ref_time(23_735_547 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -102,9 +104,9 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:0 w:1) fn reclaim_deposit(r: u32, ) -> Weight { - Weight::from_ref_time(60_232_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(24_455_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(58_376_138 as u64) + // Standard Error: 15_538 + .saturating_add(Weight::from_ref_time(23_608_366 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -113,36 +115,36 @@ impl delegation::WeightInfo for WeightInfo { // Storage: Delegation DelegationNodes (r:1 w:0) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn can_attest() -> Weight { - Weight::from_ref_time(18_381_000 as u64) + Weight::from_ref_time(16_434_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:0) fn can_revoke(c: u32, ) -> Weight { - Weight::from_ref_time(12_919_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(4_488_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_548_559 as u64) + // Standard Error: 9_366 + .saturating_add(Weight::from_ref_time(4_230_803 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:2 w:0) fn can_remove(c: u32, ) -> Weight { - Weight::from_ref_time(12_874_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(4_494_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_525_657 as u64) + // Standard Error: 10_072 + .saturating_add(Weight::from_ref_time(4_202_909 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_415_000 as u64) + Weight::from_ref_time(66_866_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_222_000 as u64) + Weight::from_ref_time(62_399_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/did.rs b/runtimes/peregrine/src/weights/did.rs index b7741255e..5bd407fbd 100644 --- a/runtimes/peregrine/src/weights/did.rs +++ b/runtimes/peregrine/src/weights/did.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for did //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -54,11 +54,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(160_839_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_114_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_112_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(154_242_538 as u64) + // Standard Error: 11_816 + .saturating_add(Weight::from_ref_time(1_291_514 as u64).saturating_mul(n as u64)) + // Standard Error: 4_568 + .saturating_add(Weight::from_ref_time(6_121_940 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -69,11 +69,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(159_049_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(1_405_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_634_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(156_036_020 as u64) + // Standard Error: 12_514 + .saturating_add(Weight::from_ref_time(1_318_211 as u64).saturating_mul(n as u64)) + // Standard Error: 4_838 + .saturating_add(Weight::from_ref_time(6_647_774 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -84,11 +84,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(145_535_000 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(1_296_000 as u64).saturating_mul(n as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(5_790_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(140_623_837 as u64) + // Standard Error: 12_354 + .saturating_add(Weight::from_ref_time(1_281_752 as u64).saturating_mul(n as u64)) + // Standard Error: 4_776 + .saturating_add(Weight::from_ref_time(5_831_386 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -98,9 +98,9 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidBlacklist (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:1) fn delete(c: u32, ) -> Weight { - Weight::from_ref_time(47_954_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_580_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(46_572_281 as u64) + // Standard Error: 28_609 + .saturating_add(Weight::from_ref_time(1_314_888 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -110,154 +110,154 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidBlacklist (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:1) fn reclaim_deposit(c: u32, ) -> Weight { - Weight::from_ref_time(50_904_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_597_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(51_661_403 as u64) + // Standard Error: 37_610 + .saturating_add(Weight::from_ref_time(1_123_156 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ed25519_key() -> Weight { - Weight::from_ref_time(95_978_000 as u64) + Weight::from_ref_time(96_270_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_sr25519_key() -> Weight { - Weight::from_ref_time(96_861_000 as u64) + Weight::from_ref_time(96_904_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ecdsa_key() -> Weight { - Weight::from_ref_time(85_248_000 as u64) + Weight::from_ref_time(79_920_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_authentication_key() -> Weight { - Weight::from_ref_time(46_146_000 as u64) + Weight::from_ref_time(43_971_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_authentication_key() -> Weight { - Weight::from_ref_time(46_260_000 as u64) + Weight::from_ref_time(44_098_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_authentication_key() -> Weight { - Weight::from_ref_time(45_864_000 as u64) + Weight::from_ref_time(43_855_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(45_780_000 as u64) + Weight::from_ref_time(43_560_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(45_722_000 as u64) + Weight::from_ref_time(43_720_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(45_389_000 as u64) + Weight::from_ref_time(43_960_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(43_074_000 as u64) + Weight::from_ref_time(40_791_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(43_327_000 as u64) + Weight::from_ref_time(40_618_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(43_082_000 as u64) + Weight::from_ref_time(41_272_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(46_064_000 as u64) + Weight::from_ref_time(44_122_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(45_833_000 as u64) + Weight::from_ref_time(43_451_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(45_778_000 as u64) + Weight::from_ref_time(43_511_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(43_047_000 as u64) + Weight::from_ref_time(40_645_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(42_916_000 as u64) + Weight::from_ref_time(41_175_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(42_956_000 as u64) + Weight::from_ref_time(40_653_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(45_280_000 as u64) + Weight::from_ref_time(42_519_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(45_296_000 as u64) + Weight::from_ref_time(46_821_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(45_088_000 as u64) + Weight::from_ref_time(42_646_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_544_000 as u64) + Weight::from_ref_time(40_941_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_816_000 as u64) + Weight::from_ref_time(40_708_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(43_364_000 as u64) + Weight::from_ref_time(40_705_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -265,49 +265,49 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:1 w:1) // Storage: Did ServiceEndpoints (r:1 w:1) fn add_service_endpoint() -> Weight { - Weight::from_ref_time(52_376_000 as u64) + Weight::from_ref_time(50_000_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did ServiceEndpoints (r:1 w:1) // Storage: Did DidEndpointsCount (r:1 w:1) fn remove_service_endpoint() -> Weight { - Weight::from_ref_time(44_781_000 as u64) + Weight::from_ref_time(41_847_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_sr25519(l: u32, ) -> Weight { - Weight::from_ref_time(33_808_000 as u64) + Weight::from_ref_time(42_527_787 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(4_137 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_ed25519(l: u32, ) -> Weight { - Weight::from_ref_time(33_492_000 as u64) + Weight::from_ref_time(44_941_450 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(2_466 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_ecdsa(l: u32, ) -> Weight { - Weight::from_ref_time(17_995_000 as u64) + Weight::from_ref_time(26_159_079 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_492 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(61_888_000 as u64) + Weight::from_ref_time(59_684_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_599_000 as u64) + Weight::from_ref_time(61_777_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/frame_system.rs b/runtimes/peregrine/src/weights/frame_system.rs index 906a163b8..51963a389 100644 --- a/runtimes/peregrine/src/weights/frame_system.rs +++ b/runtimes/peregrine/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,40 +48,42 @@ use sp_std::marker::PhantomData; /// Weights for `frame_system`. pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { - fn remark(_b: u32, ) -> Weight { - Weight::from_ref_time(14_175_000 as u64) + fn remark(b: u32, ) -> Weight { + Weight::from_ref_time(9_181_609 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(437 as u64).saturating_mul(b as u64)) } fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(7_764_894 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_938 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(13_995_000 as u64) + Weight::from_ref_time(26_362_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(4_415_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(813_000 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(12_890_000 as u64) + // Standard Error: 2_647 + .saturating_add(Weight::from_ref_time(881_235 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(545_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(664_000 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(6_671_000 as u64) + // Standard Error: 1_028 + .saturating_add(Weight::from_ref_time(606_534 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(2_790_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_326_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(18_655_000 as u64) + // Standard Error: 1_467 + .saturating_add(Weight::from_ref_time(1_102_440 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtimes/peregrine/src/weights/pallet_balances.rs b/runtimes/peregrine/src/weights/pallet_balances.rs index bcf580e56..fc478b1d0 100644 --- a/runtimes/peregrine/src/weights/pallet_balances.rs +++ b/runtimes/peregrine/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,43 +50,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - Weight::from_ref_time(88_189_000 as u64) + Weight::from_ref_time(82_600_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(57_636_000 as u64) + Weight::from_ref_time(54_696_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(42_797_000 as u64) + Weight::from_ref_time(77_811_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(47_791_000 as u64) + Weight::from_ref_time(91_737_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - Weight::from_ref_time(85_739_000 as u64) + Weight::from_ref_time(82_272_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(65_442_000 as u64) + Weight::from_ref_time(67_823_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(36_283_000 as u64) + Weight::from_ref_time(40_680_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_collective.rs b/runtimes/peregrine/src/weights/pallet_collective.rs index 489fcd877..737effb26 100644 --- a/runtimes/peregrine/src/weights/pallet_collective.rs +++ b/runtimes/peregrine/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,132 +48,126 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Council Members (r:1 w:1) - // Storage: Council Proposals (r:1 w:0) - // Storage: Council Voting (r:100 w:100) - // Storage: Council Prime (r:0 w:1) - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(10_971_000 as u64).saturating_mul(m as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(n as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(14_868_000 as u64).saturating_mul(p as u64)) + // Storage: TechnicalCommittee Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:100 w:100) + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + Weight::from_ref_time(24_326_000 as u64) + // Standard Error: 52_135 + .saturating_add(Weight::from_ref_time(5_876_570 as u64).saturating_mul(m as u64)) + // Standard Error: 52_135 + .saturating_add(Weight::from_ref_time(9_172_835 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } - // Storage: Council Members (r:1 w:0) - fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(32_462_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64)) + // Storage: TechnicalCommittee Members (r:1 w:0) + fn execute(b: u32, _m: u32, ) -> Weight { + Weight::from_ref_time(37_469_595 as u64) + // Standard Error: 459 + .saturating_add(Weight::from_ref_time(1_367 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:0) - fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(35_616_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(m as u64)) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:0) + fn propose_execute(b: u32, _m: u32, ) -> Weight { + Weight::from_ref_time(42_488_504 as u64) + // Standard Error: 554 + .saturating_add(Weight::from_ref_time(325 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalCount (r:1 w:1) - // Storage: Council Voting (r:0 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalCount (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(44_296_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(6_000 as u64).saturating_mul(b as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(240_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(45_053_607 as u64) + // Standard Error: 76 + .saturating_add(Weight::from_ref_time(3_780 as u64).saturating_mul(b as u64)) + // Standard Error: 801 + .saturating_add(Weight::from_ref_time(20_699 as u64).saturating_mul(m as u64)) + // Standard Error: 790 + .saturating_add(Weight::from_ref_time(190_041 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } - // Storage: Council Members (r:1 w:0) - // Storage: Council Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(50_347_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(43_483_325 as u64) + // Standard Error: 610 + .saturating_add(Weight::from_ref_time(41_394 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(49_966_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(221_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(48_727_116 as u64) + // Standard Error: 553 + .saturating_add(Weight::from_ref_time(24_482 as u64).saturating_mul(m as u64)) + // Standard Error: 539 + .saturating_add(Weight::from_ref_time(159_775 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(63_399_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(233_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(62_365_703 as u64) + // Standard Error: 68 + .saturating_add(Weight::from_ref_time(2_573 as u64).saturating_mul(b as u64)) + // Standard Error: 724 + .saturating_add(Weight::from_ref_time(18_799 as u64).saturating_mul(m as u64)) + // Standard Error: 706 + .saturating_add(Weight::from_ref_time(189_113 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council Proposals (r:1 w:1) - // Storage: Council ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(49_538_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(m as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(245_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(51_595_730 as u64) + // Standard Error: 543 + .saturating_add(Weight::from_ref_time(27_541 as u64).saturating_mul(m as u64)) + // Standard Error: 529 + .saturating_add(Weight::from_ref_time(161_400 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Council Voting (r:1 w:1) - // Storage: Council Members (r:1 w:0) - // Storage: Council Prime (r:1 w:0) - // Storage: Council ProposalOf (r:1 w:1) - // Storage: Council Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(64_754_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(240_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(65_669_837 as u64) + // Standard Error: 72 + .saturating_add(Weight::from_ref_time(2_523 as u64).saturating_mul(b as u64)) + // Standard Error: 768 + .saturating_add(Weight::from_ref_time(16_601 as u64).saturating_mul(m as u64)) + // Standard Error: 748 + .saturating_add(Weight::from_ref_time(191_574 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Council Proposals (r:1 w:1) - // Storage: Council Voting (r:0 w:1) - // Storage: Council ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(36_467_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(216_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(34_283_418 as u64) + // Standard Error: 774 + .saturating_add(Weight::from_ref_time(163_182 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_democracy.rs b/runtimes/peregrine/src/weights/pallet_democracy.rs index e17c00b76..428764007 100644 --- a/runtimes/peregrine/src/weights/pallet_democracy.rs +++ b/runtimes/peregrine/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -45,6 +45,7 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; +/// Weights for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicPropCount (r:1 w:1) @@ -52,15 +53,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - // Minimum execution time: 42_035 nanoseconds. - Weight::from_ref_time(42_673_000 as u64) + Weight::from_ref_time(69_080_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - // Minimum execution time: 37_908 nanoseconds. - Weight::from_ref_time(39_524_000 as u64) + Weight::from_ref_time(63_477_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -68,8 +67,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - // Minimum execution time: 48_027 nanoseconds. - Weight::from_ref_time(48_672_000 as u64) + Weight::from_ref_time(76_168_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -77,92 +75,80 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - // Minimum execution time: 48_623 nanoseconds. - Weight::from_ref_time(49_248_000 as u64) + Weight::from_ref_time(76_822_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - // Minimum execution time: 19_752 nanoseconds. - Weight::from_ref_time(20_235_000 as u64) + Weight::from_ref_time(35_673_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - // Minimum execution time: 75_593 nanoseconds. - Weight::from_ref_time(76_707_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + Weight::from_ref_time(123_234_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) + .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - // Minimum execution time: 15_433 nanoseconds. - Weight::from_ref_time(15_751_000 as u64) + Weight::from_ref_time(50_385_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - // Minimum execution time: 4_187 nanoseconds. - Weight::from_ref_time(4_344_000 as u64) + Weight::from_ref_time(8_686_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - // Minimum execution time: 4_424 nanoseconds. - Weight::from_ref_time(4_522_000 as u64) + Weight::from_ref_time(8_745_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - // Minimum execution time: 18_919 nanoseconds. - Weight::from_ref_time(19_574_000 as u64) + Weight::from_ref_time(35_068_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - // Minimum execution time: 24_749 nanoseconds. - Weight::from_ref_time(25_443_000 as u64) + Weight::from_ref_time(42_573_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { - // Minimum execution time: 63_025 nanoseconds. - Weight::from_ref_time(64_438_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(103_875_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - // Minimum execution time: 12_754 nanoseconds. - Weight::from_ref_time(13_249_000 as u64) + Weight::from_ref_time(44_940_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) - /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - // Minimum execution time: 6_036 nanoseconds. - Weight::from_ref_time(9_221_096 as u64) - // Standard Error: 3_753 - .saturating_add(Weight::from_ref_time(2_068_013 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(31_762_549 as u64) + // Standard Error: 32_532 + .saturating_add(Weight::from_ref_time(2_938_096 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -173,12 +159,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) - /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - // Minimum execution time: 8_435 nanoseconds. - Weight::from_ref_time(11_539_062 as u64) - // Standard Error: 3_966 - .saturating_add(Weight::from_ref_time(2_069_630 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(33_034_575 as u64) + // Standard Error: 26_162 + .saturating_add(Weight::from_ref_time(2_967_740 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,12 +170,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:3 w:3) // Storage: Balances Locks (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:2 w:2) - /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - // Minimum execution time: 39_949 nanoseconds. - Weight::from_ref_time(46_035_539 as u64) - // Standard Error: 5_044 - .saturating_add(Weight::from_ref_time(2_971_650 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(80_969_030 as u64) + // Standard Error: 16_576 + .saturating_add(Weight::from_ref_time(4_523_562 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -199,12 +181,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:2 w:2) - /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - // Minimum execution time: 23_826 nanoseconds. - Weight::from_ref_time(27_032_402 as u64) - // Standard Error: 4_525 - .saturating_add(Weight::from_ref_time(2_958_429 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(45_453_004 as u64) + // Standard Error: 6_897 + .saturating_add(Weight::from_ref_time(4_582_266 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -212,55 +192,43 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - // Minimum execution time: 4_775 nanoseconds. - Weight::from_ref_time(5_033_000 as u64) + Weight::from_ref_time(9_510_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32, ) -> Weight { - // Minimum execution time: 23_245 nanoseconds. - Weight::from_ref_time(30_061_940 as u64) - // Standard Error: 1_523 - .saturating_add(Weight::from_ref_time(34_810 as u64).saturating_mul(r as u64)) + fn unlock_remove(_r: u32, ) -> Weight { + Weight::from_ref_time(53_673_769 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - // Minimum execution time: 28_063 nanoseconds. - Weight::from_ref_time(30_002_043 as u64) - // Standard Error: 636 - .saturating_add(Weight::from_ref_time(67_182 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(49_547_603 as u64) + // Standard Error: 1_167 + .saturating_add(Weight::from_ref_time(79_485 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - // Minimum execution time: 15_306 nanoseconds. - Weight::from_ref_time(17_690_130 as u64) - // Standard Error: 836 - .saturating_add(Weight::from_ref_time(68_122 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(30_024_081 as u64) + // Standard Error: 5_043 + .saturating_add(Weight::from_ref_time(64_309 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - // Minimum execution time: 15_392 nanoseconds. - Weight::from_ref_time(17_610_812 as u64) - // Standard Error: 819 - .saturating_add(Weight::from_ref_time(69_086 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(31_825_914 as u64) + // Standard Error: 7_032 + .saturating_add(Weight::from_ref_time(39_497 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } - diff --git a/runtimes/peregrine/src/weights/pallet_did_lookup.rs b/runtimes/peregrine/src/weights/pallet_did_lookup.rs index d77e2be36..9cbc97efa 100644 --- a/runtimes/peregrine/src/weights/pallet_did_lookup.rs +++ b/runtimes/peregrine/src/weights/pallet_did_lookup.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_did_lookup //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -52,7 +52,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_account() -> Weight { - Weight::from_ref_time(134_609_000 as u64) + Weight::from_ref_time(131_739_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -60,7 +60,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_sender() -> Weight { - Weight::from_ref_time(74_100_000 as u64) + Weight::from_ref_time(69_855_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -68,7 +68,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_sender_association() -> Weight { - Weight::from_ref_time(53_384_000 as u64) + Weight::from_ref_time(107_033_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,21 +76,21 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_account_association() -> Weight { - Weight::from_ref_time(55_181_000 as u64) + Weight::from_ref_time(52_319_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(68_935_000 as u64) + Weight::from_ref_time(65_110_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(63_024_000 as u64) + Weight::from_ref_time(59_285_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_indices.rs b/runtimes/peregrine/src/weights/pallet_indices.rs index 40e31460b..c32997aca 100644 --- a/runtimes/peregrine/src/weights/pallet_indices.rs +++ b/runtimes/peregrine/src/weights/pallet_indices.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_indices //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,33 +50,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(45_859_000 as u64) + Weight::from_ref_time(43_787_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(58_382_000 as u64) + Weight::from_ref_time(53_305_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(49_802_000 as u64) + Weight::from_ref_time(100_629_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(50_024_000 as u64) + Weight::from_ref_time(50_909_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(57_560_000 as u64) + Weight::from_ref_time(125_410_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_inflation.rs b/runtimes/peregrine/src/weights/pallet_inflation.rs index dbee85de2..d6d1b239f 100644 --- a/runtimes/peregrine/src/weights/pallet_inflation.rs +++ b/runtimes/peregrine/src/weights/pallet_inflation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_inflation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,11 +50,11 @@ pub struct WeightInfo(PhantomData); impl pallet_inflation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn on_initialize_mint_to_treasury() -> Weight { - Weight::from_ref_time(37_031_000 as u64) + Weight::from_ref_time(34_563_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(264_000 as u64) + Weight::from_ref_time(365_000 as u64) } } diff --git a/runtimes/peregrine/src/weights/pallet_membership.rs b/runtimes/peregrine/src/weights/pallet_membership.rs index 5e8e7fd6b..e6d676e93 100644 --- a/runtimes/peregrine/src/weights/pallet_membership.rs +++ b/runtimes/peregrine/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,9 +53,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(35_545_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(47_155_524 as u64) + // Standard Error: 26_966 + .saturating_add(Weight::from_ref_time(13_730 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -65,9 +65,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_516_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(46_847_496 as u64) + // Standard Error: 28_947 + .saturating_add(Weight::from_ref_time(61_009 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,10 +76,8 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalMembership Prime (r:1 w:0) // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) - fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(40_058_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(m as u64)) + fn swap_member(_m: u32, ) -> Weight { + Weight::from_ref_time(54_007_351 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -89,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_939_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(183_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(45_028_828 as u64) + // Standard Error: 27_390 + .saturating_add(Weight::from_ref_time(180_459 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,9 +99,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(40_469_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(46_080_057 as u64) + // Standard Error: 28_927 + .saturating_add(Weight::from_ref_time(108_376 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -111,18 +109,16 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(15_927_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(17_664_638 as u64) + // Standard Error: 10_139 + .saturating_add(Weight::from_ref_time(34_875 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) - fn clear_prime(m: u32, ) -> Weight { - Weight::from_ref_time(9_858_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(m as u64)) + fn clear_prime(_m: u32, ) -> Weight { + Weight::from_ref_time(10_796_790 as u64) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } diff --git a/runtimes/peregrine/src/weights/pallet_preimage.rs b/runtimes/peregrine/src/weights/pallet_preimage.rs index 589dd9fd8..8d0629b8b 100644 --- a/runtimes/peregrine/src/weights/pallet_preimage.rs +++ b/runtimes/peregrine/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -48,88 +48,87 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(48_521_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_588 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(34_046_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_584 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(31_523_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_582 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(61_090_000 as u64) + Weight::from_ref_time(62_201_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(38_337_000 as u64) + Weight::from_ref_time(41_688_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(58_161_000 as u64) + Weight::from_ref_time(40_687_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(36_324_000 as u64) + Weight::from_ref_time(21_245_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(27_788_000 as u64) + Weight::from_ref_time(29_800_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(14_825_000 as u64) + Weight::from_ref_time(15_020_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(38_618_000 as u64) + Weight::from_ref_time(40_533_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(30_731_000 as u64) + Weight::from_ref_time(14_710_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(15_233_000 as u64) + Weight::from_ref_time(14_968_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_proxy.rs b/runtimes/peregrine/src/weights/pallet_proxy.rs index 8e78d5a81..12dd9f415 100644 --- a/runtimes/peregrine/src/weights/pallet_proxy.rs +++ b/runtimes/peregrine/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,120 +49,82 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - /// The range of component `p` is `[1, 31]`. - fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 19_011 nanoseconds. - Weight::from_ref_time(20_076_741 as u64) - // Standard Error: 1_518 - .saturating_add(Weight::from_ref_time(55_831 as u64).saturating_mul(p as u64)) + fn proxy(_p: u32, ) -> Weight { + Weight::from_ref_time(43_951_574 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 37_088 nanoseconds. - Weight::from_ref_time(36_581_632 as u64) - // Standard Error: 1_964 - .saturating_add(Weight::from_ref_time(116_190 as u64).saturating_mul(a as u64)) - // Standard Error: 2_030 - .saturating_add(Weight::from_ref_time(41_547 as u64).saturating_mul(p as u64)) + fn proxy_announced(a: u32, _p: u32, ) -> Weight { + Weight::from_ref_time(63_213_286 as u64) + // Standard Error: 15_445 + .saturating_add(Weight::from_ref_time(241_730 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 25_299 nanoseconds. - Weight::from_ref_time(26_801_993 as u64) - // Standard Error: 2_746 - .saturating_add(Weight::from_ref_time(102_732 as u64).saturating_mul(a as u64)) - // Standard Error: 2_837 - .saturating_add(Weight::from_ref_time(318 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(43_516_965 as u64) + // Standard Error: 14_328 + .saturating_add(Weight::from_ref_time(420_578 as u64).saturating_mul(a as u64)) + // Standard Error: 15_906 + .saturating_add(Weight::from_ref_time(20_131 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 25_178 nanoseconds. - Weight::from_ref_time(26_248_780 as u64) - // Standard Error: 1_710 - .saturating_add(Weight::from_ref_time(116_285 as u64).saturating_mul(a as u64)) - // Standard Error: 1_767 - .saturating_add(Weight::from_ref_time(1_860 as u64).saturating_mul(p as u64)) + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + Weight::from_ref_time(44_483_644 as u64) + // Standard Error: 14_999 + .saturating_add(Weight::from_ref_time(439_844 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. - fn announce(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 32_878 nanoseconds. - Weight::from_ref_time(34_386_513 as u64) - // Standard Error: 1_955 - .saturating_add(Weight::from_ref_time(97_872 as u64).saturating_mul(a as u64)) - // Standard Error: 2_020 - .saturating_add(Weight::from_ref_time(25_879 as u64).saturating_mul(p as u64)) + fn announce(a: u32, _p: u32, ) -> Weight { + Weight::from_ref_time(57_249_919 as u64) + // Standard Error: 12_453 + .saturating_add(Weight::from_ref_time(242_767 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. - fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 26_410 nanoseconds. - Weight::from_ref_time(27_653_752 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(57_860 as u64).saturating_mul(p as u64)) + fn add_proxy(_p: u32, ) -> Weight { + Weight::from_ref_time(68_443_743 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 26_506 nanoseconds. - Weight::from_ref_time(27_604_932 as u64) - // Standard Error: 1_863 - .saturating_add(Weight::from_ref_time(78_466 as u64).saturating_mul(p as u64)) + fn remove_proxy(_p: u32, ) -> Weight { + Weight::from_ref_time(81_805_534 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 22_696 nanoseconds. - Weight::from_ref_time(23_736_641 as u64) - // Standard Error: 1_616 - .saturating_add(Weight::from_ref_time(50_577 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(46_263_467 as u64) + // Standard Error: 189_438 + .saturating_add(Weight::from_ref_time(34_374 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 29_461 nanoseconds. - Weight::from_ref_time(30_835_016 as u64) - // Standard Error: 1_587 - .saturating_add(Weight::from_ref_time(23_834 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(57_427_472 as u64) + // Standard Error: 157_916 + .saturating_add(Weight::from_ref_time(16_598 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[0, 30]`. - fn kill_pure(p: u32, ) -> Weight { - // Minimum execution time: 24_319 nanoseconds. - Weight::from_ref_time(25_652_003 as u64) - // Standard Error: 1_697 - .saturating_add(Weight::from_ref_time(28_118 as u64).saturating_mul(p as u64)) + fn kill_pure(_p: u32, ) -> Weight { + Weight::from_ref_time(49_900_654 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_scheduler.rs b/runtimes/peregrine/src/weights/pallet_scheduler.rs index f4e945323..0b0c92ae9 100644 --- a/runtimes/peregrine/src/weights/pallet_scheduler.rs +++ b/runtimes/peregrine/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,94 +50,76 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - // Minimum execution time: 4_236 nanoseconds. - Weight::from_ref_time(4_539_000 as u64) + Weight::from_ref_time(15_089_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 3_651 nanoseconds. - Weight::from_ref_time(6_843_488 as u64) - // Standard Error: 1_965 - .saturating_add(Weight::from_ref_time(579_324 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(15_460_154 as u64) + // Standard Error: 13_246 + .saturating_add(Weight::from_ref_time(707_382 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - // Minimum execution time: 9_244 nanoseconds. - Weight::from_ref_time(9_537_000 as u64) + Weight::from_ref_time(33_211_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - // Minimum execution time: 20_377 nanoseconds. - Weight::from_ref_time(20_733_000 as u64) + Weight::from_ref_time(34_696_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(1_250 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(1_307 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - // Minimum execution time: 10_526 nanoseconds. - Weight::from_ref_time(10_839_000 as u64) + Weight::from_ref_time(38_120_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 9_130 nanoseconds. - Weight::from_ref_time(9_476_000 as u64) + Weight::from_ref_time(32_617_000 as u64) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 3_644 nanoseconds. - Weight::from_ref_time(3_761_000 as u64) + Weight::from_ref_time(13_498_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 3_604 nanoseconds. - Weight::from_ref_time(3_738_000 as u64) + Weight::from_ref_time(13_197_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 16_561 nanoseconds. - Weight::from_ref_time(20_688_245 as u64) - // Standard Error: 2_610 - .saturating_add(Weight::from_ref_time(602_897 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(38_592_205 as u64) + // Standard Error: 26_113 + .saturating_add(Weight::from_ref_time(683_549 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 18_830 nanoseconds. - Weight::from_ref_time(20_815_969 as u64) - // Standard Error: 2_132 - .saturating_add(Weight::from_ref_time(598_343 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(41_157_737 as u64) + // Standard Error: 27_005 + .saturating_add(Weight::from_ref_time(1_215_364 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 18_755 nanoseconds. - Weight::from_ref_time(23_838_238 as u64) - // Standard Error: 3_430 - .saturating_add(Weight::from_ref_time(628_138 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(56_673_990 as u64) + // Standard Error: 43_340 + .saturating_add(Weight::from_ref_time(360_780 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 19_761 nanoseconds. - Weight::from_ref_time(22_583_852 as u64) - // Standard Error: 2_440 - .saturating_add(Weight::from_ref_time(612_208 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(48_779_559 as u64) + // Standard Error: 42_228 + .saturating_add(Weight::from_ref_time(1_122_985 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_session.rs b/runtimes/peregrine/src/weights/pallet_session.rs index 0131d60f4..27fb07f45 100644 --- a/runtimes/peregrine/src/weights/pallet_session.rs +++ b/runtimes/peregrine/src/weights/pallet_session.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,14 +51,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - Weight::from_ref_time(38_292_000 as u64) + Weight::from_ref_time(79_160_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - Weight::from_ref_time(33_521_000 as u64) + Weight::from_ref_time(31_972_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_timestamp.rs b/runtimes/peregrine/src/weights/pallet_timestamp.rs index 1ab2378ea..7554734d9 100644 --- a/runtimes/peregrine/src/weights/pallet_timestamp.rs +++ b/runtimes/peregrine/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,12 +49,13 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) + // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(13_849_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_ref_time(34_113_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(7_535_000 as u64) + Weight::from_ref_time(7_207_000 as u64) } } diff --git a/runtimes/peregrine/src/weights/pallet_tips.rs b/runtimes/peregrine/src/weights/pallet_tips.rs index a6529f2bf..8e447d9bb 100644 --- a/runtimes/peregrine/src/weights/pallet_tips.rs +++ b/runtimes/peregrine/src/weights/pallet_tips.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_tips //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -51,37 +51,35 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:1 w:1) // Storage: Tips Tips (r:1 w:1) fn report_awesome(r: u32, ) -> Weight { - Weight::from_ref_time(56_984_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(62_286_684 as u64) + // Standard Error: 233 + .saturating_add(Weight::from_ref_time(2_394 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - Weight::from_ref_time(54_690_000 as u64) + Weight::from_ref_time(108_447_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TipsMembership Members (r:1 w:0) // Storage: Tips Reasons (r:1 w:1) // Storage: Tips Tips (r:0 w:1) - fn tip_new(r: u32, t: u32, ) -> Weight { - Weight::from_ref_time(39_757_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(t as u64)) + fn tip_new(r: u32, _t: u32, ) -> Weight { + Weight::from_ref_time(45_978_192 as u64) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(1_853 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TipsMembership Members (r:1 w:0) // Storage: Tips Tips (r:1 w:1) fn tip(t: u32, ) -> Weight { - Weight::from_ref_time(28_995_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(185_000 as u64).saturating_mul(t as u64)) + Weight::from_ref_time(32_451_560 as u64) + // Standard Error: 9_650 + .saturating_add(Weight::from_ref_time(58_777 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -89,19 +87,15 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: TipsMembership Members (r:1 w:0) // Storage: System Account (r:2 w:2) // Storage: Tips Reasons (r:0 w:1) - fn close_tip(t: u32, ) -> Weight { - Weight::from_ref_time(83_983_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(137_000 as u64).saturating_mul(t as u64)) + fn close_tip(_t: u32, ) -> Weight { + Weight::from_ref_time(87_692_124 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) - fn slash_tip(t: u32, ) -> Weight { - Weight::from_ref_time(34_401_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(6_000 as u64).saturating_mul(t as u64)) + fn slash_tip(_t: u32, ) -> Weight { + Weight::from_ref_time(34_500_609 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_treasury.rs b/runtimes/peregrine/src/weights/pallet_treasury.rs index a496b9f21..1672f4b50 100644 --- a/runtimes/peregrine/src/weights/pallet_treasury.rs +++ b/runtimes/peregrine/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,47 +49,49 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(338_000 as u64) + Weight::from_ref_time(437_000 as u64) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(47_604_000 as u64) + Weight::from_ref_time(43_633_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { - Weight::from_ref_time(67_946_000 as u64) + Weight::from_ref_time(64_800_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(23_094_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(22_986_955 as u64) + // Standard Error: 3_069 + .saturating_add(Weight::from_ref_time(26_278 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(14_821_000 as u64) + Weight::from_ref_time(25_510_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:0) + // Storage: Treasury Deactivated (r:1 w:1) + // Storage: Balances InactiveIssuance (r:1 w:1) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:2 w:2) fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(85_112_000 as u64) - // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(43_385_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(95_612_296 as u64) + // Standard Error: 43_508 + .saturating_add(Weight::from_ref_time(42_091_030 as u64).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64))) } } diff --git a/runtimes/peregrine/src/weights/pallet_utility.rs b/runtimes/peregrine/src/weights/pallet_utility.rs index 9ac3316a8..893ce673f 100644 --- a/runtimes/peregrine/src/weights/pallet_utility.rs +++ b/runtimes/peregrine/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -49,24 +49,24 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(50_403_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_798_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(52_821_151 as u64) + // Standard Error: 3_971 + .saturating_add(Weight::from_ref_time(5_820_388 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(11_073_000 as u64) + Weight::from_ref_time(22_394_000 as u64) } fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(45_913_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(6_092_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(48_157_222 as u64) + // Standard Error: 4_351 + .saturating_add(Weight::from_ref_time(6_019_497 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(23_881_000 as u64) + Weight::from_ref_time(23_409_000 as u64) } fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(42_182_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_800_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(44_731_453 as u64) + // Standard Error: 4_395 + .saturating_add(Weight::from_ref_time(5_880_630 as u64).saturating_mul(c as u64)) } } diff --git a/runtimes/peregrine/src/weights/pallet_vesting.rs b/runtimes/peregrine/src/weights/pallet_vesting.rs index a1f9836f7..d1be65327 100644 --- a/runtimes/peregrine/src/weights/pallet_vesting.rs +++ b/runtimes/peregrine/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,23 +50,21 @@ pub struct WeightInfo(PhantomData); impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(66_644_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64)) + fn vest_locked(l: u32, _s: u32, ) -> Weight { + Weight::from_ref_time(63_987_681 as u64) + // Standard Error: 3_278 + .saturating_add(Weight::from_ref_time(36_591 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(65_664_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(61_504_039 as u64) + // Standard Error: 3_148 + .saturating_add(Weight::from_ref_time(35_192 as u64).saturating_mul(l as u64)) + // Standard Error: 5_602 + .saturating_add(Weight::from_ref_time(24_314 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -74,11 +72,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_702_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(62_184_271 as u64) + // Standard Error: 7_688 + .saturating_add(Weight::from_ref_time(33_327 as u64).saturating_mul(l as u64)) + // Standard Error: 13_679 + .saturating_add(Weight::from_ref_time(39_568 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -86,11 +84,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_678_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(59_553_756 as u64) + // Standard Error: 5_365 + .saturating_add(Weight::from_ref_time(49_155 as u64).saturating_mul(l as u64)) + // Standard Error: 9_545 + .saturating_add(Weight::from_ref_time(54_807 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -98,23 +96,21 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(90_513_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(l as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(87_804_851 as u64) + // Standard Error: 9_387 + .saturating_add(Weight::from_ref_time(25_589 as u64).saturating_mul(l as u64)) + // Standard Error: 16_701 + .saturating_add(Weight::from_ref_time(26_779 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: System Account (r:2 w:2) // Storage: Balances Locks (r:1 w:1) - fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(90_415_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(l as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(s as u64)) + fn force_vested_transfer(l: u32, _s: u32, ) -> Weight { + Weight::from_ref_time(86_464_303 as u64) + // Standard Error: 4_308 + .saturating_add(Weight::from_ref_time(39_808 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -122,11 +118,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(65_717_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(61_359_175 as u64) + // Standard Error: 6_049 + .saturating_add(Weight::from_ref_time(62_468 as u64).saturating_mul(l as u64)) + // Standard Error: 11_171 + .saturating_add(Weight::from_ref_time(79_331 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -134,11 +130,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(64_815_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(63_969_317 as u64) + // Standard Error: 9_620 + .saturating_add(Weight::from_ref_time(22_554 as u64).saturating_mul(l as u64)) + // Standard Error: 17_767 + .saturating_add(Weight::from_ref_time(43_010 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtimes/peregrine/src/weights/pallet_web3_names.rs b/runtimes/peregrine/src/weights/pallet_web3_names.rs index 95b753a9e..cdb1335d6 100644 --- a/runtimes/peregrine/src/weights/pallet_web3_names.rs +++ b/runtimes/peregrine/src/weights/pallet_web3_names.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_web3_names //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,9 +53,9 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Banned (r:1 w:0) // Storage: System Account (r:1 w:1) fn claim(n: u32, ) -> Weight { - Weight::from_ref_time(58_514_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(79_764_153 as u64) + // Standard Error: 176_900 + .saturating_add(Weight::from_ref_time(74_537 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -63,7 +63,7 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn release_by_owner() -> Weight { - Weight::from_ref_time(55_643_000 as u64) + Weight::from_ref_time(52_624_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -71,9 +71,9 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) fn reclaim_deposit(n: u32, ) -> Weight { - Weight::from_ref_time(52_172_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(60_340_147 as u64) + // Standard Error: 117_648 + .saturating_add(Weight::from_ref_time(37_156 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -82,17 +82,17 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) fn ban(n: u32, ) -> Weight { - Weight::from_ref_time(56_687_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(60_577_250 as u64) + // Standard Error: 135_135 + .saturating_add(Weight::from_ref_time(453_206 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Web3Names Banned (r:1 w:1) fn unban(n: u32, ) -> Weight { - Weight::from_ref_time(31_222_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(35_477_818 as u64) + // Standard Error: 72_359 + .saturating_add(Weight::from_ref_time(281_365 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -100,14 +100,14 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_280_000 as u64) + Weight::from_ref_time(66_888_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_735_000 as u64) + Weight::from_ref_time(56_032_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/peregrine/src/weights/parachain_staking.rs b/runtimes/peregrine/src/weights/parachain_staking.rs index 683b8f7fe..4a082f7c0 100644 --- a/runtimes/peregrine/src/weights/parachain_staking.rs +++ b/runtimes/peregrine/src/weights/parachain_staking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -50,12 +50,12 @@ pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Round (r:1 w:0) fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(7_466_000 as u64) + Weight::from_ref_time(15_416_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn on_initialize_round_update() -> Weight { - Weight::from_ref_time(22_168_000 as u64) + Weight::from_ref_time(21_888_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -65,13 +65,13 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: System Account (r:1 w:1) fn on_initialize_network_rewards() -> Weight { - Weight::from_ref_time(58_509_000 as u64) + Weight::from_ref_time(55_752_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking ForceNewRound (r:0 w:1) fn force_new_round() -> Weight { - Weight::from_ref_time(8_573_000 as u64) + Weight::from_ref_time(8_317_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking CandidatePool (r:3 w:0) @@ -82,32 +82,35 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking InflationConfig (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:0) fn set_inflation(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 578_000 - .saturating_add(Weight::from_ref_time(491_280_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_231_000 - .saturating_add(Weight::from_ref_time(1_022_641_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(875_145_000 as u64) + // Standard Error: 5_299_322 + .saturating_add(Weight::from_ref_time(170_956_626 as u64).saturating_mul(n as u64)) + // Standard Error: 11_377_529 + .saturating_add(Weight::from_ref_time(326_239_282 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(152 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(145 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) // Storage: ParachainStaking TopCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:0) fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 251_000 - .saturating_add(Weight::from_ref_time(26_691_000 as u64).saturating_mul(n as u64)) - // Standard Error: 421_000 - .saturating_add(Weight::from_ref_time(42_215_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(72_087_000 as u64) + // Standard Error: 28_205 + .saturating_add(Weight::from_ref_time(3_571_094 as u64).saturating_mul(n as u64)) + // Standard Error: 62_429 + .saturating_add(Weight::from_ref_time(399_246 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(28_992_000 as u64) + Weight::from_ref_time(28_489_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -126,11 +129,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 241_000 - .saturating_add(Weight::from_ref_time(27_473_000 as u64).saturating_mul(n as u64)) - // Standard Error: 398_000 - .saturating_add(Weight::from_ref_time(77_591_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(168_253_000 as u64) + // Standard Error: 35_111 + .saturating_add(Weight::from_ref_time(1_274_199 as u64).saturating_mul(n as u64)) + // Standard Error: 77_891 + .saturating_add(Weight::from_ref_time(31_993_356 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(10 as u64)) @@ -147,11 +150,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 227_000 - .saturating_add(Weight::from_ref_time(22_245_000 as u64).saturating_mul(n as u64)) - // Standard Error: 472_000 - .saturating_add(Weight::from_ref_time(45_433_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(76_286_351 as u64) + // Standard Error: 15_995 + .saturating_add(Weight::from_ref_time(837_995 as u64).saturating_mul(n as u64)) + // Standard Error: 33_215 + .saturating_add(Weight::from_ref_time(1_637_780 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -161,11 +164,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 251_000 - .saturating_add(Weight::from_ref_time(27_190_000 as u64).saturating_mul(n as u64)) - // Standard Error: 407_000 - .saturating_add(Weight::from_ref_time(50_417_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_593_616 as u64) + // Standard Error: 16_165 + .saturating_add(Weight::from_ref_time(902_145 as u64).saturating_mul(n as u64)) + // Standard Error: 26_216 + .saturating_add(Weight::from_ref_time(1_971_623 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -174,11 +177,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 261_000 - .saturating_add(Weight::from_ref_time(27_784_000 as u64).saturating_mul(n as u64)) - // Standard Error: 423_000 - .saturating_add(Weight::from_ref_time(51_337_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_158_723 as u64) + // Standard Error: 12_285 + .saturating_add(Weight::from_ref_time(480_541 as u64).saturating_mul(n as u64)) + // Standard Error: 19_923 + .saturating_add(Weight::from_ref_time(1_140_844 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -196,11 +199,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 240_000 - .saturating_add(Weight::from_ref_time(31_864_000 as u64).saturating_mul(n as u64)) - // Standard Error: 390_000 - .saturating_add(Weight::from_ref_time(86_748_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_492_000 as u64) + // Standard Error: 33_053 + .saturating_add(Weight::from_ref_time(1_085_158 as u64).saturating_mul(n as u64)) + // Standard Error: 72_387 + .saturating_add(Weight::from_ref_time(32_098_821 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(8 as u64)) @@ -218,12 +221,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksRewarded (r:1 w:1) // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) - fn candidate_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 197_000 - .saturating_add(Weight::from_ref_time(28_567_000 as u64).saturating_mul(n as u64)) - // Standard Error: 409_000 - .saturating_add(Weight::from_ref_time(58_728_000 as u64).saturating_mul(m as u64)) + fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(72_993_566 as u64) + // Standard Error: 13_600 + .saturating_add(Weight::from_ref_time(924_637 as u64).saturating_mul(n as u64)) + // Standard Error: 28_232 + .saturating_add(Weight::from_ref_time(1_825_569 as u64).saturating_mul(m as u64)) + // Standard Error: 104_577 + .saturating_add(Weight::from_ref_time(1_832_598 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -237,11 +242,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 237_000 - .saturating_add(Weight::from_ref_time(27_274_000 as u64).saturating_mul(n as u64)) - // Standard Error: 493_000 - .saturating_add(Weight::from_ref_time(56_335_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_285_477 as u64) + // Standard Error: 16_246 + .saturating_add(Weight::from_ref_time(856_801 as u64).saturating_mul(n as u64)) + // Standard Error: 33_737 + .saturating_add(Weight::from_ref_time(1_677_444 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -258,11 +263,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksAuthored (r:1 w:0) // Storage: ParachainStaking BlocksRewarded (r:0 w:1) fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 226_000 - .saturating_add(Weight::from_ref_time(27_049_000 as u64).saturating_mul(n as u64)) - // Standard Error: 503_000 - .saturating_add(Weight::from_ref_time(58_845_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(78_554_718 as u64) + // Standard Error: 15_120 + .saturating_add(Weight::from_ref_time(1_074_361 as u64).saturating_mul(n as u64)) + // Standard Error: 33_604 + .saturating_add(Weight::from_ref_time(2_150_600 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -278,12 +283,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksRewarded (r:1 w:1) // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 179_000 - .saturating_add(Weight::from_ref_time(28_220_000 as u64).saturating_mul(n as u64)) - // Standard Error: 399_000 - .saturating_add(Weight::from_ref_time(61_739_000 as u64).saturating_mul(m as u64)) + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(83_097_910 as u64) + // Standard Error: 12_550 + .saturating_add(Weight::from_ref_time(977_930 as u64).saturating_mul(n as u64)) + // Standard Error: 27_881 + .saturating_add(Weight::from_ref_time(1_938_416 as u64).saturating_mul(m as u64)) + // Standard Error: 108_137 + .saturating_add(Weight::from_ref_time(1_659_555 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -298,11 +305,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 224_000 - .saturating_add(Weight::from_ref_time(26_894_000 as u64).saturating_mul(n as u64)) - // Standard Error: 499_000 - .saturating_add(Weight::from_ref_time(58_539_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(73_436_463 as u64) + // Standard Error: 14_697 + .saturating_add(Weight::from_ref_time(912_018 as u64).saturating_mul(n as u64)) + // Standard Error: 32_665 + .saturating_add(Weight::from_ref_time(1_780_062 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -317,11 +324,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TopCandidates (r:1 w:1) // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 227_000 - .saturating_add(Weight::from_ref_time(27_201_000 as u64).saturating_mul(n as u64)) - // Standard Error: 504_000 - .saturating_add(Weight::from_ref_time(59_138_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(78_234_816 as u64) + // Standard Error: 15_039 + .saturating_add(Weight::from_ref_time(919_909 as u64).saturating_mul(n as u64)) + // Standard Error: 33_424 + .saturating_add(Weight::from_ref_time(1_806_001 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -329,15 +336,15 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_unstaked(u: u32, ) -> Weight { - Weight::from_ref_time(56_879_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(330_000 as u64).saturating_mul(u as u64)) + Weight::from_ref_time(53_722_447 as u64) + // Standard Error: 21_424 + .saturating_add(Weight::from_ref_time(264_299 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) fn set_max_candidate_stake() -> Weight { - Weight::from_ref_time(23_280_000 as u64) + Weight::from_ref_time(21_167_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking DelegatorState (r:1 w:0) @@ -347,7 +354,7 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_delegator_rewards() -> Weight { - Weight::from_ref_time(46_174_000 as u64) + Weight::from_ref_time(39_789_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -358,14 +365,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_collator_rewards() -> Weight { - Weight::from_ref_time(39_475_000 as u64) + Weight::from_ref_time(35_640_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_rewards() -> Weight { - Weight::from_ref_time(58_354_000 as u64) + Weight::from_ref_time(113_068_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -378,14 +385,16 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:0) fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 607_000 - .saturating_add(Weight::from_ref_time(495_051_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_291_000 - .saturating_add(Weight::from_ref_time(1_020_115_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(862_056_000 as u64) + // Standard Error: 5_102_687 + .saturating_add(Weight::from_ref_time(164_232_513 as u64).saturating_mul(n as u64)) + // Standard Error: 10_955_357 + .saturating_add(Weight::from_ref_time(318_222_620 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(153 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(146 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } } diff --git a/runtimes/peregrine/src/weights/public_credentials.rs b/runtimes/peregrine/src/weights/public_credentials.rs index 800858e46..20a431e36 100644 --- a/runtimes/peregrine/src/weights/public_credentials.rs +++ b/runtimes/peregrine/src/weights/public_credentials.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for public_credentials //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -53,23 +53,23 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: PublicCredentials CredentialSubjects (r:0 w:1) fn add(c: u32, ) -> Weight { - Weight::from_ref_time(72_896_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(95_650_839 as u64) + // Standard Error: 48 + .saturating_add(Weight::from_ref_time(2_632 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(44_712_000 as u64) + Weight::from_ref_time(86_537_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn unrevoke() -> Weight { - Weight::from_ref_time(45_216_000 as u64) + Weight::from_ref_time(42_505_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -77,7 +77,7 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(70_155_000 as u64) + Weight::from_ref_time(66_501_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -85,7 +85,7 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(69_197_000 as u64) + Weight::from_ref_time(65_748_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -93,7 +93,7 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(87_565_000 as u64) + Weight::from_ref_time(85_655_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,7 +101,7 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(82_619_000 as u64) + Weight::from_ref_time(79_903_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/attestation.rs b/runtimes/spiritnet/src/weights/attestation.rs index af73594c8..1feb2bb80 100644 --- a/runtimes/spiritnet/src/weights/attestation.rs +++ b/runtimes/spiritnet/src/weights/attestation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for attestation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -52,41 +52,41 @@ impl attestation::WeightInfo for WeightInfo { // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn add() -> Weight { - Weight::from_ref_time(56_234_000 as u64) + Weight::from_ref_time(113_283_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(34_160_000 as u64) + Weight::from_ref_time(30_825_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(52_393_000 as u64) + Weight::from_ref_time(114_584_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(52_627_000 as u64) + Weight::from_ref_time(70_854_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(68_992_000 as u64) + Weight::from_ref_time(92_317_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Attestation Attestations (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(62_215_000 as u64) + Weight::from_ref_time(66_250_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/ctype.rs b/runtimes/spiritnet/src/weights/ctype.rs index 5104c985d..72020b58a 100644 --- a/runtimes/spiritnet/src/weights/ctype.rs +++ b/runtimes/spiritnet/src/weights/ctype.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for ctype //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -51,15 +51,15 @@ impl ctype::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Ctype Ctypes (r:1 w:1) fn add(l: u32, ) -> Weight { - Weight::from_ref_time(7_111_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + Weight::from_ref_time(29_733_676 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(1_948 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Ctype Ctypes (r:1 w:1) fn set_block_number() -> Weight { - Weight::from_ref_time(19_549_000 as u64) + Weight::from_ref_time(33_338_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/spiritnet/src/weights/delegation.rs b/runtimes/spiritnet/src/weights/delegation.rs index ce19f2a38..71ab9afac 100644 --- a/runtimes/spiritnet/src/weights/delegation.rs +++ b/runtimes/spiritnet/src/weights/delegation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for delegation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -53,25 +53,25 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationNodes (r:0 w:1) fn create_hierarchy() -> Weight { - Weight::from_ref_time(58_121_000 as u64) + Weight::from_ref_time(54_941_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:2) // Storage: System Account (r:1 w:1) fn add_delegation() -> Weight { - Weight::from_ref_time(64_134_000 as u64) + Weight::from_ref_time(59_231_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn revoke_delegation_root_child(r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(34_233_000 as u64) - // Standard Error: 40_000 - .saturating_add(Weight::from_ref_time(13_991_000 as u64).saturating_mul(r as u64)) - // Standard Error: 40_000 - .saturating_add(Weight::from_ref_time(341_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(30_232_798 as u64) + // Standard Error: 31_802 + .saturating_add(Weight::from_ref_time(13_748_475 as u64).saturating_mul(r as u64)) + // Standard Error: 31_802 + .saturating_add(Weight::from_ref_time(423_883 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) @@ -79,11 +79,11 @@ impl delegation::WeightInfo for WeightInfo { // Storage: Delegation DelegationNodes (r:6 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn revoke_delegation_leaf(r: u32, c: u32, ) -> Weight { - Weight::from_ref_time(49_062_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(r as u64)) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(4_113_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(45_575_921 as u64) + // Standard Error: 8_624 + .saturating_add(Weight::from_ref_time(64_826 as u64).saturating_mul(r as u64)) + // Standard Error: 8_624 + .saturating_add(Weight::from_ref_time(3_971_312 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -92,9 +92,9 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:1 w:1) fn remove_delegation(r: u32, ) -> Weight { - Weight::from_ref_time(70_044_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(24_079_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(65_166_882 as u64) + // Standard Error: 17_183 + .saturating_add(Weight::from_ref_time(23_904_222 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -104,9 +104,9 @@ impl delegation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Delegation DelegationHierarchies (r:0 w:1) fn reclaim_deposit(r: u32, ) -> Weight { - Weight::from_ref_time(62_299_000 as u64) - // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(24_288_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(57_985_404 as u64) + // Standard Error: 16_181 + .saturating_add(Weight::from_ref_time(23_958_950 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -115,36 +115,36 @@ impl delegation::WeightInfo for WeightInfo { // Storage: Delegation DelegationNodes (r:1 w:0) // Storage: Delegation DelegationHierarchies (r:1 w:0) fn can_attest() -> Weight { - Weight::from_ref_time(18_851_000 as u64) + Weight::from_ref_time(16_648_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Delegation DelegationNodes (r:2 w:0) fn can_revoke(c: u32, ) -> Weight { - Weight::from_ref_time(13_473_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(4_511_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_692_365 as u64) + // Standard Error: 10_162 + .saturating_add(Weight::from_ref_time(4_258_221 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:2 w:0) fn can_remove(c: u32, ) -> Weight { - Weight::from_ref_time(13_172_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(4_545_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_631_173 as u64) + // Standard Error: 9_615 + .saturating_add(Weight::from_ref_time(4_268_994 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(69_711_000 as u64) + Weight::from_ref_time(67_281_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Delegation DelegationNodes (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(65_252_000 as u64) + Weight::from_ref_time(62_425_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/did.rs b/runtimes/spiritnet/src/weights/did.rs index 84f6aa59c..9316e69c0 100644 --- a/runtimes/spiritnet/src/weights/did.rs +++ b/runtimes/spiritnet/src/weights/did.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for did //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -54,11 +54,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_ed25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(157_848_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_354_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_312_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(152_856_742 as u64) + // Standard Error: 10_568 + .saturating_add(Weight::from_ref_time(1_357_006 as u64).saturating_mul(n as u64)) + // Standard Error: 4_086 + .saturating_add(Weight::from_ref_time(6_218_978 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -69,11 +69,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_sr25519_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(160_459_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_324_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_735_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(154_309_451 as u64) + // Standard Error: 12_573 + .saturating_add(Weight::from_ref_time(1_445_521 as u64).saturating_mul(n as u64)) + // Standard Error: 4_861 + .saturating_add(Weight::from_ref_time(6_732_194 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -84,11 +84,11 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:25) fn create_ecdsa_keys(n: u32, c: u32, ) -> Weight { - Weight::from_ref_time(146_169_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_339_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(5_866_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(139_209_322 as u64) + // Standard Error: 10_654 + .saturating_add(Weight::from_ref_time(1_316_116 as u64).saturating_mul(n as u64)) + // Standard Error: 4_119 + .saturating_add(Weight::from_ref_time(5_932_897 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -98,9 +98,9 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidBlacklist (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:1) fn delete(c: u32, ) -> Weight { - Weight::from_ref_time(47_907_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_544_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(48_723_822 as u64) + // Standard Error: 34_724 + .saturating_add(Weight::from_ref_time(1_130_217 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) @@ -110,154 +110,154 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidBlacklist (r:0 w:1) // Storage: Did ServiceEndpoints (r:0 w:1) fn reclaim_deposit(c: u32, ) -> Weight { - Weight::from_ref_time(50_490_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_586_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(50_672_745 as u64) + // Standard Error: 38_570 + .saturating_add(Weight::from_ref_time(1_231_395 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ed25519_key() -> Weight { - Weight::from_ref_time(95_824_000 as u64) + Weight::from_ref_time(94_131_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_sr25519_key() -> Weight { - Weight::from_ref_time(96_937_000 as u64) + Weight::from_ref_time(94_892_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn submit_did_call_ecdsa_key() -> Weight { - Weight::from_ref_time(84_072_000 as u64) + Weight::from_ref_time(80_570_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_authentication_key() -> Weight { - Weight::from_ref_time(45_271_000 as u64) + Weight::from_ref_time(44_051_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_authentication_key() -> Weight { - Weight::from_ref_time(45_628_000 as u64) + Weight::from_ref_time(43_300_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_authentication_key() -> Weight { - Weight::from_ref_time(45_736_000 as u64) + Weight::from_ref_time(43_508_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(45_398_000 as u64) + Weight::from_ref_time(43_825_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(45_459_000 as u64) + Weight::from_ref_time(43_348_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(45_286_000 as u64) + Weight::from_ref_time(42_821_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_delegation_key() -> Weight { - Weight::from_ref_time(42_640_000 as u64) + Weight::from_ref_time(40_767_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_delegation_key() -> Weight { - Weight::from_ref_time(42_787_000 as u64) + Weight::from_ref_time(41_246_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_delegation_key() -> Weight { - Weight::from_ref_time(42_624_000 as u64) + Weight::from_ref_time(40_577_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(45_667_000 as u64) + Weight::from_ref_time(43_331_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(45_691_000 as u64) + Weight::from_ref_time(43_510_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn set_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(45_853_000 as u64) + Weight::from_ref_time(43_529_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_attestation_key() -> Weight { - Weight::from_ref_time(42_921_000 as u64) + Weight::from_ref_time(40_836_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_attestation_key() -> Weight { - Weight::from_ref_time(42_808_000 as u64) + Weight::from_ref_time(40_544_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_attestation_key() -> Weight { - Weight::from_ref_time(43_103_000 as u64) + Weight::from_ref_time(40_401_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_695_000 as u64) + Weight::from_ref_time(42_940_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(44_848_000 as u64) + Weight::from_ref_time(42_556_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn add_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(44_624_000 as u64) + Weight::from_ref_time(42_329_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ed25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_110_000 as u64) + Weight::from_ref_time(40_667_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_sr25519_key_agreement_key() -> Weight { - Weight::from_ref_time(43_129_000 as u64) + Weight::from_ref_time(40_930_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Did Did (r:1 w:1) fn remove_ecdsa_key_agreement_key() -> Weight { - Weight::from_ref_time(42_917_000 as u64) + Weight::from_ref_time(41_023_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -265,49 +265,49 @@ impl did::WeightInfo for WeightInfo { // Storage: Did DidEndpointsCount (r:1 w:1) // Storage: Did ServiceEndpoints (r:1 w:1) fn add_service_endpoint() -> Weight { - Weight::from_ref_time(52_265_000 as u64) + Weight::from_ref_time(49_160_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did ServiceEndpoints (r:1 w:1) // Storage: Did DidEndpointsCount (r:1 w:1) fn remove_service_endpoint() -> Weight { - Weight::from_ref_time(44_326_000 as u64) + Weight::from_ref_time(41_767_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_sr25519(l: u32, ) -> Weight { - Weight::from_ref_time(33_827_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(l as u64)) + Weight::from_ref_time(46_672_117 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(4_144 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_ed25519(l: u32, ) -> Weight { - Weight::from_ref_time(34_785_000 as u64) + Weight::from_ref_time(45_736_322 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(2_466 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:0) fn signature_verification_ecdsa(l: u32, ) -> Weight { - Weight::from_ref_time(22_588_000 as u64) + Weight::from_ref_time(27_961_488 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(l as u64)) + .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(61_424_000 as u64) + Weight::from_ref_time(58_632_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Did Did (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(64_415_000 as u64) + Weight::from_ref_time(61_535_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/frame_system.rs b/runtimes/spiritnet/src/weights/frame_system.rs index 245450a66..9bdbc6731 100644 --- a/runtimes/spiritnet/src/weights/frame_system.rs +++ b/runtimes/spiritnet/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -48,40 +48,42 @@ use sp_std::marker::PhantomData; /// Weights for `frame_system`. pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { - fn remark(_b: u32, ) -> Weight { - Weight::from_ref_time(9_086_000 as u64) + fn remark(b: u32, ) -> Weight { + Weight::from_ref_time(16_540_212 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(435 as u64).saturating_mul(b as u64)) } fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(3_476_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + Weight::from_ref_time(7_892_540 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(1_937 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(14_301_000 as u64) + Weight::from_ref_time(26_527_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(1_491_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(822_000 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(6_863_000 as u64) + // Standard Error: 3_303 + .saturating_add(Weight::from_ref_time(894_443 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(669_000 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(6_717_000 as u64) + // Standard Error: 925 + .saturating_add(Weight::from_ref_time(595_531 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(600_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_310_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(19_693_000 as u64) + // Standard Error: 1_411 + .saturating_add(Weight::from_ref_time(1_085_503 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtimes/spiritnet/src/weights/pallet_balances.rs b/runtimes/spiritnet/src/weights/pallet_balances.rs index d32e0648a..323e57623 100644 --- a/runtimes/spiritnet/src/weights/pallet_balances.rs +++ b/runtimes/spiritnet/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,43 +50,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn transfer() -> Weight { - Weight::from_ref_time(87_075_000 as u64) + Weight::from_ref_time(207_389_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(56_978_000 as u64) + Weight::from_ref_time(53_012_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(42_817_000 as u64) + Weight::from_ref_time(40_037_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(48_020_000 as u64) + Weight::from_ref_time(44_373_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:3 w:3) fn force_transfer() -> Weight { - Weight::from_ref_time(85_916_000 as u64) + Weight::from_ref_time(88_771_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(65_821_000 as u64) + Weight::from_ref_time(67_798_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(36_697_000 as u64) + Weight::from_ref_time(37_636_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_collective.rs b/runtimes/spiritnet/src/weights/pallet_collective.rs index 3da0ecd91..d519a40ad 100644 --- a/runtimes/spiritnet/src/weights/pallet_collective.rs +++ b/runtimes/spiritnet/src/weights/pallet_collective.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,14 +50,14 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:1) // Storage: Council Proposals (r:1 w:0) - // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) + // Storage: Council Voting (r:100 w:100) fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(9_279_000 as u64).saturating_mul(m as u64)) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(13_278_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(25_373_000 as u64) + // Standard Error: 51_629 + .saturating_add(Weight::from_ref_time(5_805_215 as u64).saturating_mul(m as u64)) + // Standard Error: 51_629 + .saturating_add(Weight::from_ref_time(9_262_304 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -65,21 +65,19 @@ impl pallet_collective::WeightInfo for WeightInfo { } // Storage: Council Members (r:1 w:0) fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(32_650_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(39_804_546 as u64) + // Standard Error: 1_149 + .saturating_add(Weight::from_ref_time(995 as u64).saturating_mul(b as u64)) + // Standard Error: 11_844 + .saturating_add(Weight::from_ref_time(32_365 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Council Members (r:1 w:0) // Storage: Council ProposalOf (r:1 w:0) - fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(36_100_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(m as u64)) + fn propose_execute(_b: u32, m: u32, ) -> Weight { + Weight::from_ref_time(47_031_910 as u64) + // Standard Error: 13_123 + .saturating_add(Weight::from_ref_time(30_770 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Council Members (r:1 w:0) @@ -88,22 +86,22 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council ProposalCount (r:1 w:1) // Storage: Council Voting (r:0 w:1) fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(46_604_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(5_000 as u64).saturating_mul(b as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(m as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(237_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(50_273_549 as u64) + // Standard Error: 326 + .saturating_add(Weight::from_ref_time(3_240 as u64).saturating_mul(b as u64)) + // Standard Error: 3_404 + .saturating_add(Weight::from_ref_time(13_237 as u64).saturating_mul(m as u64)) + // Standard Error: 3_361 + .saturating_add(Weight::from_ref_time(150_228 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Council Members (r:1 w:0) // Storage: Council Voting (r:1 w:1) fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(51_121_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(43_647_171 as u64) + // Standard Error: 619 + .saturating_add(Weight::from_ref_time(42_251 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -112,11 +110,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(49_150_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(m as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(210_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(50_068_227 as u64) + // Standard Error: 629 + .saturating_add(Weight::from_ref_time(22_557 as u64).saturating_mul(m as u64)) + // Standard Error: 613 + .saturating_add(Weight::from_ref_time(154_935 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -125,13 +123,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(64_393_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(234_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(63_912_194 as u64) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(2_518 as u64).saturating_mul(b as u64)) + // Standard Error: 749 + .saturating_add(Weight::from_ref_time(18_594 as u64).saturating_mul(m as u64)) + // Standard Error: 730 + .saturating_add(Weight::from_ref_time(181_518 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -141,11 +139,11 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Proposals (r:1 w:1) // Storage: Council ProposalOf (r:0 w:1) fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(53_938_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(226_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(53_164_398 as u64) + // Standard Error: 1_403 + .saturating_add(Weight::from_ref_time(27_523 as u64).saturating_mul(m as u64)) + // Standard Error: 1_368 + .saturating_add(Weight::from_ref_time(152_597 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -155,13 +153,13 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council ProposalOf (r:1 w:1) // Storage: Council Proposals (r:1 w:1) fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(67_728_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(m as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(239_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(67_969_002 as u64) + // Standard Error: 204 + .saturating_add(Weight::from_ref_time(2_407 as u64).saturating_mul(b as u64)) + // Standard Error: 2_160 + .saturating_add(Weight::from_ref_time(16_262 as u64).saturating_mul(m as u64)) + // Standard Error: 2_105 + .saturating_add(Weight::from_ref_time(177_141 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -169,9 +167,9 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Voting (r:0 w:1) // Storage: Council ProposalOf (r:0 w:1) fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(36_721_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(216_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(37_377_026 as u64) + // Standard Error: 4_592 + .saturating_add(Weight::from_ref_time(125_202 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_democracy.rs b/runtimes/spiritnet/src/weights/pallet_democracy.rs index d9106e796..b87c5fc62 100644 --- a/runtimes/spiritnet/src/weights/pallet_democracy.rs +++ b/runtimes/spiritnet/src/weights/pallet_democracy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -45,6 +45,7 @@ use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; +/// Weights for `pallet_democracy`. pub struct WeightInfo(PhantomData); impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy PublicPropCount (r:1 w:1) @@ -52,15 +53,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - // Minimum execution time: 42_035 nanoseconds. - Weight::from_ref_time(42_673_000 as u64) + Weight::from_ref_time(66_989_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - // Minimum execution time: 37_908 nanoseconds. - Weight::from_ref_time(39_524_000 as u64) + Weight::from_ref_time(61_757_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -68,8 +67,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - // Minimum execution time: 48_027 nanoseconds. - Weight::from_ref_time(48_672_000 as u64) + Weight::from_ref_time(75_112_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -77,92 +75,80 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - // Minimum execution time: 48_623 nanoseconds. - Weight::from_ref_time(49_248_000 as u64) + Weight::from_ref_time(75_208_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - // Minimum execution time: 19_752 nanoseconds. - Weight::from_ref_time(20_235_000 as u64) + Weight::from_ref_time(35_102_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - // Minimum execution time: 75_593 nanoseconds. - Weight::from_ref_time(76_707_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + Weight::from_ref_time(119_986_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) + .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - // Minimum execution time: 15_433 nanoseconds. - Weight::from_ref_time(15_751_000 as u64) + Weight::from_ref_time(49_694_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - // Minimum execution time: 4_187 nanoseconds. - Weight::from_ref_time(4_344_000 as u64) + Weight::from_ref_time(16_445_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - // Minimum execution time: 4_424 nanoseconds. - Weight::from_ref_time(4_522_000 as u64) + Weight::from_ref_time(16_079_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - // Minimum execution time: 18_919 nanoseconds. - Weight::from_ref_time(19_574_000 as u64) + Weight::from_ref_time(72_984_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - // Minimum execution time: 24_749 nanoseconds. - Weight::from_ref_time(25_443_000 as u64) + Weight::from_ref_time(41_228_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { - // Minimum execution time: 63_025 nanoseconds. - Weight::from_ref_time(64_438_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + Weight::from_ref_time(101_486_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - // Minimum execution time: 12_754 nanoseconds. - Weight::from_ref_time(13_249_000 as u64) + Weight::from_ref_time(22_374_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) - /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - // Minimum execution time: 6_036 nanoseconds. - Weight::from_ref_time(9_221_096 as u64) - // Standard Error: 3_753 - .saturating_add(Weight::from_ref_time(2_068_013 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(33_584_152 as u64) + // Standard Error: 56_366 + .saturating_add(Weight::from_ref_time(2_843_702 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -173,12 +159,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) // Storage: Democracy ReferendumInfoOf (r:2 w:0) - /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - // Minimum execution time: 8_435 nanoseconds. - Weight::from_ref_time(11_539_062 as u64) - // Standard Error: 3_966 - .saturating_add(Weight::from_ref_time(2_069_630 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_575_859 as u64) + // Standard Error: 64_874 + .saturating_add(Weight::from_ref_time(3_009_152 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,12 +170,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:3 w:3) // Storage: Balances Locks (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:2 w:2) - /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - // Minimum execution time: 39_949 nanoseconds. - Weight::from_ref_time(46_035_539 as u64) - // Standard Error: 5_044 - .saturating_add(Weight::from_ref_time(2_971_650 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(77_030_417 as u64) + // Standard Error: 12_412 + .saturating_add(Weight::from_ref_time(4_492_349 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -199,12 +181,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy VotingOf (r:2 w:2) // Storage: Democracy ReferendumInfoOf (r:2 w:2) - /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - // Minimum execution time: 23_826 nanoseconds. - Weight::from_ref_time(27_032_402 as u64) - // Standard Error: 4_525 - .saturating_add(Weight::from_ref_time(2_958_429 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(52_703_298 as u64) + // Standard Error: 36_509 + .saturating_add(Weight::from_ref_time(4_392_292 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -212,55 +192,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - // Minimum execution time: 4_775 nanoseconds. - Weight::from_ref_time(5_033_000 as u64) + Weight::from_ref_time(9_099_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - // Minimum execution time: 23_245 nanoseconds. - Weight::from_ref_time(30_061_940 as u64) - // Standard Error: 1_523 - .saturating_add(Weight::from_ref_time(34_810 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(50_213_322 as u64) + // Standard Error: 5_842 + .saturating_add(Weight::from_ref_time(16_667 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - // Minimum execution time: 28_063 nanoseconds. - Weight::from_ref_time(30_002_043 as u64) - // Standard Error: 636 - .saturating_add(Weight::from_ref_time(67_182 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(53_003_248 as u64) + // Standard Error: 11_664 + .saturating_add(Weight::from_ref_time(11_662 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - // Minimum execution time: 15_306 nanoseconds. - Weight::from_ref_time(17_690_130 as u64) - // Standard Error: 836 - .saturating_add(Weight::from_ref_time(68_122 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(30_630_759 as u64) + // Standard Error: 6_111 + .saturating_add(Weight::from_ref_time(46_658 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - // Minimum execution time: 15_392 nanoseconds. - Weight::from_ref_time(17_610_812 as u64) - // Standard Error: 819 - .saturating_add(Weight::from_ref_time(69_086 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(31_577_133 as u64) + // Standard Error: 7_325 + .saturating_add(Weight::from_ref_time(35_570 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } - diff --git a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs index 49e5284af..414626663 100644 --- a/runtimes/spiritnet/src/weights/pallet_did_lookup.rs +++ b/runtimes/spiritnet/src/weights/pallet_did_lookup.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_did_lookup //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -52,7 +52,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_account() -> Weight { - Weight::from_ref_time(131_772_000 as u64) + Weight::from_ref_time(128_359_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -60,7 +60,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:2) fn associate_sender() -> Weight { - Weight::from_ref_time(71_784_000 as u64) + Weight::from_ref_time(69_110_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -68,7 +68,7 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_sender_association() -> Weight { - Weight::from_ref_time(51_946_000 as u64) + Weight::from_ref_time(48_879_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,21 +76,21 @@ impl pallet_did_lookup::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: DidLookup ConnectedAccounts (r:0 w:1) fn remove_account_association() -> Weight { - Weight::from_ref_time(53_373_000 as u64) + Weight::from_ref_time(52_132_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(66_673_000 as u64) + Weight::from_ref_time(145_380_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: DidLookup ConnectedDids (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_755_000 as u64) + Weight::from_ref_time(58_795_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_indices.rs b/runtimes/spiritnet/src/weights/pallet_indices.rs index 97a9dad0c..2a683b06a 100644 --- a/runtimes/spiritnet/src/weights/pallet_indices.rs +++ b/runtimes/spiritnet/src/weights/pallet_indices.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_indices //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,33 +50,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(46_236_000 as u64) + Weight::from_ref_time(45_273_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(59_077_000 as u64) + Weight::from_ref_time(55_561_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(50_281_000 as u64) + Weight::from_ref_time(47_974_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(50_355_000 as u64) + Weight::from_ref_time(47_938_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(58_017_000 as u64) + Weight::from_ref_time(116_261_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_inflation.rs b/runtimes/spiritnet/src/weights/pallet_inflation.rs index 77ee65b50..e1fc16e14 100644 --- a/runtimes/spiritnet/src/weights/pallet_inflation.rs +++ b/runtimes/spiritnet/src/weights/pallet_inflation.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_inflation //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,11 +50,11 @@ pub struct WeightInfo(PhantomData); impl pallet_inflation::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn on_initialize_mint_to_treasury() -> Weight { - Weight::from_ref_time(36_943_000 as u64) + Weight::from_ref_time(79_422_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(295_000 as u64) + Weight::from_ref_time(323_000 as u64) } } diff --git a/runtimes/spiritnet/src/weights/pallet_membership.rs b/runtimes/spiritnet/src/weights/pallet_membership.rs index 865bb4e36..0144e2951 100644 --- a/runtimes/spiritnet/src/weights/pallet_membership.rs +++ b/runtimes/spiritnet/src/weights/pallet_membership.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -53,9 +53,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(35_511_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(42_418_090 as u64) + // Standard Error: 23_990 + .saturating_add(Weight::from_ref_time(58_469 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -65,9 +65,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_954_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(47_097_658 as u64) + // Standard Error: 26_923 + .saturating_add(Weight::from_ref_time(54_282 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,10 +76,8 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalMembership Prime (r:1 w:0) // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) - fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(40_112_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(m as u64)) + fn swap_member(_m: u32, ) -> Weight { + Weight::from_ref_time(53_624_018 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -89,9 +87,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(39_708_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(37_956_487 as u64) + // Standard Error: 25_943 + .saturating_add(Weight::from_ref_time(348_511 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,28 +99,26 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(41_116_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(51_052_517 as u64) + // Standard Error: 27_176 + .saturating_add(Weight::from_ref_time(8_587 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: TechnicalMembership Members (r:1 w:0) // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) - fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(15_846_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(m as u64)) + fn set_prime(_m: u32, ) -> Weight { + Weight::from_ref_time(20_105_489 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) fn clear_prime(m: u32, ) -> Weight { - Weight::from_ref_time(10_145_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(10_564_779 as u64) + // Standard Error: 5_026 + .saturating_add(Weight::from_ref_time(2_228 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } diff --git a/runtimes/spiritnet/src/weights/pallet_preimage.rs b/runtimes/spiritnet/src/weights/pallet_preimage.rs index 64ac7b741..ba34ce8b2 100644 --- a/runtimes/spiritnet/src/weights/pallet_preimage.rs +++ b/runtimes/spiritnet/src/weights/pallet_preimage.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -48,88 +48,87 @@ use sp_std::marker::PhantomData; /// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(48_390_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_586 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(32_483_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_584 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(65_540_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_570 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(60_160_000 as u64) + Weight::from_ref_time(58_888_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(37_860_000 as u64) + Weight::from_ref_time(41_889_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(57_744_000 as u64) + Weight::from_ref_time(40_040_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(36_343_000 as u64) + Weight::from_ref_time(21_811_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(27_878_000 as u64) + Weight::from_ref_time(28_327_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(14_923_000 as u64) + Weight::from_ref_time(14_262_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(37_758_000 as u64) + Weight::from_ref_time(41_142_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(30_189_000 as u64) + Weight::from_ref_time(14_030_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(14_878_000 as u64) + Weight::from_ref_time(14_342_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_proxy.rs b/runtimes/spiritnet/src/weights/pallet_proxy.rs index e6ff5b7cf..80ab36cbe 100644 --- a/runtimes/spiritnet/src/weights/pallet_proxy.rs +++ b/runtimes/spiritnet/src/weights/pallet_proxy.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_proxy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -49,120 +49,84 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) - /// The range of component `p` is `[1, 31]`. - fn proxy(p: u32, ) -> Weight { - // Minimum execution time: 19_011 nanoseconds. - Weight::from_ref_time(20_076_741 as u64) - // Standard Error: 1_518 - .saturating_add(Weight::from_ref_time(55_831 as u64).saturating_mul(p as u64)) + fn proxy(_p: u32, ) -> Weight { + Weight::from_ref_time(53_134_172 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. - fn proxy_announced(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 37_088 nanoseconds. - Weight::from_ref_time(36_581_632 as u64) - // Standard Error: 1_964 - .saturating_add(Weight::from_ref_time(116_190 as u64).saturating_mul(a as u64)) - // Standard Error: 2_030 - .saturating_add(Weight::from_ref_time(41_547 as u64).saturating_mul(p as u64)) + fn proxy_announced(a: u32, _p: u32, ) -> Weight { + Weight::from_ref_time(61_777_685 as u64) + // Standard Error: 56_617 + .saturating_add(Weight::from_ref_time(374_981 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 25_299 nanoseconds. - Weight::from_ref_time(26_801_993 as u64) - // Standard Error: 2_746 - .saturating_add(Weight::from_ref_time(102_732 as u64).saturating_mul(a as u64)) - // Standard Error: 2_837 - .saturating_add(Weight::from_ref_time(318 as u64).saturating_mul(p as u64)) + fn remove_announcement(a: u32, _p: u32, ) -> Weight { + Weight::from_ref_time(45_918_956 as u64) + // Standard Error: 13_728 + .saturating_add(Weight::from_ref_time(214_512 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 25_178 nanoseconds. - Weight::from_ref_time(26_248_780 as u64) - // Standard Error: 1_710 - .saturating_add(Weight::from_ref_time(116_285 as u64).saturating_mul(a as u64)) - // Standard Error: 1_767 - .saturating_add(Weight::from_ref_time(1_860 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(44_755_819 as u64) + // Standard Error: 42_727 + .saturating_add(Weight::from_ref_time(280_891 as u64).saturating_mul(a as u64)) + // Standard Error: 47_433 + .saturating_add(Weight::from_ref_time(26_825 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:0) // Storage: Proxy Announcements (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `a` is `[0, 31]`. - /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - // Minimum execution time: 32_878 nanoseconds. - Weight::from_ref_time(34_386_513 as u64) - // Standard Error: 1_955 - .saturating_add(Weight::from_ref_time(97_872 as u64).saturating_mul(a as u64)) - // Standard Error: 2_020 - .saturating_add(Weight::from_ref_time(25_879 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(53_970_695 as u64) + // Standard Error: 47_163 + .saturating_add(Weight::from_ref_time(480_056 as u64).saturating_mul(a as u64)) + // Standard Error: 52_359 + .saturating_add(Weight::from_ref_time(198_844 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - // Minimum execution time: 26_410 nanoseconds. - Weight::from_ref_time(27_653_752 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(57_860 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(53_398_369 as u64) + // Standard Error: 261_973 + .saturating_add(Weight::from_ref_time(124_664 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. - fn remove_proxy(p: u32, ) -> Weight { - // Minimum execution time: 26_506 nanoseconds. - Weight::from_ref_time(27_604_932 as u64) - // Standard Error: 1_863 - .saturating_add(Weight::from_ref_time(78_466 as u64).saturating_mul(p as u64)) + fn remove_proxy(_p: u32, ) -> Weight { + Weight::from_ref_time(54_417_786 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - // Minimum execution time: 22_696 nanoseconds. - Weight::from_ref_time(23_736_641 as u64) - // Standard Error: 1_616 - .saturating_add(Weight::from_ref_time(50_577 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(42_988_865 as u64) + // Standard Error: 197_759 + .saturating_add(Weight::from_ref_time(835_465 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[1, 31]`. - fn create_pure(p: u32, ) -> Weight { - // Minimum execution time: 29_461 nanoseconds. - Weight::from_ref_time(30_835_016 as u64) - // Standard Error: 1_587 - .saturating_add(Weight::from_ref_time(23_834 as u64).saturating_mul(p as u64)) + fn create_pure(_p: u32, ) -> Weight { + Weight::from_ref_time(57_030_909 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) - /// The range of component `p` is `[0, 30]`. - fn kill_pure(p: u32, ) -> Weight { - // Minimum execution time: 24_319 nanoseconds. - Weight::from_ref_time(25_652_003 as u64) - // Standard Error: 1_697 - .saturating_add(Weight::from_ref_time(28_118 as u64).saturating_mul(p as u64)) + fn kill_pure(_p: u32, ) -> Weight { + Weight::from_ref_time(54_525_571 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_scheduler.rs b/runtimes/spiritnet/src/weights/pallet_scheduler.rs index ee1bfc6c5..c1cfae9e9 100644 --- a/runtimes/spiritnet/src/weights/pallet_scheduler.rs +++ b/runtimes/spiritnet/src/weights/pallet_scheduler.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,94 +50,76 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - // Minimum execution time: 4_236 nanoseconds. - Weight::from_ref_time(4_539_000 as u64) + Weight::from_ref_time(14_615_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - // Minimum execution time: 3_651 nanoseconds. - Weight::from_ref_time(6_843_488 as u64) - // Standard Error: 1_965 - .saturating_add(Weight::from_ref_time(579_324 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(14_447_447 as u64) + // Standard Error: 13_498 + .saturating_add(Weight::from_ref_time(712_096 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - // Minimum execution time: 9_244 nanoseconds. - Weight::from_ref_time(9_537_000 as u64) + Weight::from_ref_time(33_398_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - // Minimum execution time: 20_377 nanoseconds. - Weight::from_ref_time(20_733_000 as u64) - // Standard Error: 1 - .saturating_add(Weight::from_ref_time(1_250 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(33_467_000 as u64) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_350 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - // Minimum execution time: 10_526 nanoseconds. - Weight::from_ref_time(10_839_000 as u64) + Weight::from_ref_time(38_192_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_periodic() -> Weight { - // Minimum execution time: 9_130 nanoseconds. - Weight::from_ref_time(9_476_000 as u64) + Weight::from_ref_time(15_582_000 as u64) } fn execute_dispatch_signed() -> Weight { - // Minimum execution time: 3_644 nanoseconds. - Weight::from_ref_time(3_761_000 as u64) + Weight::from_ref_time(7_155_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - // Minimum execution time: 3_604 nanoseconds. - Weight::from_ref_time(3_738_000 as u64) + Weight::from_ref_time(7_263_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - // Minimum execution time: 16_561 nanoseconds. - Weight::from_ref_time(20_688_245 as u64) - // Standard Error: 2_610 - .saturating_add(Weight::from_ref_time(602_897 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(45_641_946 as u64) + // Standard Error: 29_637 + .saturating_add(Weight::from_ref_time(453_728 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - // Minimum execution time: 18_830 nanoseconds. - Weight::from_ref_time(20_815_969 as u64) - // Standard Error: 2_132 - .saturating_add(Weight::from_ref_time(598_343 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(45_445_380 as u64) + // Standard Error: 28_537 + .saturating_add(Weight::from_ref_time(1_072_095 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - // Minimum execution time: 18_755 nanoseconds. - Weight::from_ref_time(23_838_238 as u64) - // Standard Error: 3_430 - .saturating_add(Weight::from_ref_time(628_138 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(46_421_320 as u64) + // Standard Error: 40_921 + .saturating_add(Weight::from_ref_time(690_105 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - // Minimum execution time: 19_761 nanoseconds. - Weight::from_ref_time(22_583_852 as u64) - // Standard Error: 2_440 - .saturating_add(Weight::from_ref_time(612_208 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(46_483_172 as u64) + // Standard Error: 38_706 + .saturating_add(Weight::from_ref_time(1_188_628 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_session.rs b/runtimes/spiritnet/src/weights/pallet_session.rs index 734d6d407..5f697c061 100644 --- a/runtimes/spiritnet/src/weights/pallet_session.rs +++ b/runtimes/spiritnet/src/weights/pallet_session.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -51,14 +51,14 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - Weight::from_ref_time(38_688_000 as u64) + Weight::from_ref_time(36_431_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - Weight::from_ref_time(33_508_000 as u64) + Weight::from_ref_time(61_114_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_timestamp.rs b/runtimes/spiritnet/src/weights/pallet_timestamp.rs index dc48e569c..9a9a0a08b 100644 --- a/runtimes/spiritnet/src/weights/pallet_timestamp.rs +++ b/runtimes/spiritnet/src/weights/pallet_timestamp.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -49,12 +49,13 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) + // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(13_607_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) + Weight::from_ref_time(15_478_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(7_909_000 as u64) + Weight::from_ref_time(6_863_000 as u64) } } diff --git a/runtimes/spiritnet/src/weights/pallet_tips.rs b/runtimes/spiritnet/src/weights/pallet_tips.rs index bdbf8e8a0..d5530214a 100644 --- a/runtimes/spiritnet/src/weights/pallet_tips.rs +++ b/runtimes/spiritnet/src/weights/pallet_tips.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_tips //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -51,16 +51,16 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:1 w:1) // Storage: Tips Tips (r:1 w:1) fn report_awesome(r: u32, ) -> Weight { - Weight::from_ref_time(55_330_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(89_438_258 as u64) + // Standard Error: 285 + .saturating_add(Weight::from_ref_time(302 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - Weight::from_ref_time(53_753_000 as u64) + Weight::from_ref_time(51_633_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,20 +68,20 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:1 w:1) // Storage: Tips Tips (r:0 w:1) fn tip_new(r: u32, t: u32, ) -> Weight { - Weight::from_ref_time(39_281_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(t as u64)) + Weight::from_ref_time(40_921_163 as u64) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(2_034 as u64).saturating_mul(r as u64)) + // Standard Error: 11_620 + .saturating_add(Weight::from_ref_time(64 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TipsMembership Members (r:1 w:0) // Storage: Tips Tips (r:1 w:1) fn tip(t: u32, ) -> Weight { - Weight::from_ref_time(28_539_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(141_000 as u64).saturating_mul(t as u64)) + Weight::from_ref_time(29_152_487 as u64) + // Standard Error: 8_205 + .saturating_add(Weight::from_ref_time(103_273 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -89,19 +89,15 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: TipsMembership Members (r:1 w:0) // Storage: System Account (r:2 w:2) // Storage: Tips Reasons (r:0 w:1) - fn close_tip(t: u32, ) -> Weight { - Weight::from_ref_time(82_605_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(t as u64)) + fn close_tip(_t: u32, ) -> Weight { + Weight::from_ref_time(88_119_169 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) - fn slash_tip(t: u32, ) -> Weight { - Weight::from_ref_time(33_891_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(t as u64)) + fn slash_tip(_t: u32, ) -> Weight { + Weight::from_ref_time(38_561_541 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_treasury.rs b/runtimes/spiritnet/src/weights/pallet_treasury.rs index 4b4781b88..24870ae17 100644 --- a/runtimes/spiritnet/src/weights/pallet_treasury.rs +++ b/runtimes/spiritnet/src/weights/pallet_treasury.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -49,47 +49,49 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(378_000 as u64) + Weight::from_ref_time(418_000 as u64) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(46_011_000 as u64) + Weight::from_ref_time(46_295_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { - Weight::from_ref_time(67_932_000 as u64) + Weight::from_ref_time(65_961_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Treasury Proposals (r:1 w:0) // Storage: Treasury Approvals (r:1 w:1) fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(22_722_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(178_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(23_116_505 as u64) + // Standard Error: 3_238 + .saturating_add(Weight::from_ref_time(32_116 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(15_033_000 as u64) + Weight::from_ref_time(13_839_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:0) + // Storage: Treasury Deactivated (r:1 w:1) + // Storage: Balances InactiveIssuance (r:1 w:1) // Storage: Treasury Approvals (r:1 w:1) // Storage: Treasury Proposals (r:2 w:2) fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(80_026_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(42_946_000 as u64).saturating_mul(p as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(86_421_113 as u64) + // Standard Error: 22_812 + .saturating_add(Weight::from_ref_time(43_276_121 as u64).saturating_mul(p as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(p as u64))) } } diff --git a/runtimes/spiritnet/src/weights/pallet_utility.rs b/runtimes/spiritnet/src/weights/pallet_utility.rs index fd8e8586b..382b49f82 100644 --- a/runtimes/spiritnet/src/weights/pallet_utility.rs +++ b/runtimes/spiritnet/src/weights/pallet_utility.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -49,24 +49,24 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(48_283_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_918_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(64_564_729 as u64) + // Standard Error: 10_513 + .saturating_add(Weight::from_ref_time(5_519_850 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(11_513_000 as u64) + Weight::from_ref_time(22_370_000 as u64) } fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(45_007_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(6_183_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(31_625_754 as u64) + // Standard Error: 3_454 + .saturating_add(Weight::from_ref_time(5_895_258 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(24_618_000 as u64) + Weight::from_ref_time(47_924_000 as u64) } fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(59_263_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_899_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(87_550_763 as u64) + // Standard Error: 13_181 + .saturating_add(Weight::from_ref_time(5_513_537 as u64).saturating_mul(c as u64)) } } diff --git a/runtimes/spiritnet/src/weights/pallet_vesting.rs b/runtimes/spiritnet/src/weights/pallet_vesting.rs index 16d08707f..339b86600 100644 --- a/runtimes/spiritnet/src/weights/pallet_vesting.rs +++ b/runtimes/spiritnet/src/weights/pallet_vesting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -51,22 +51,22 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(64_602_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(61_313_888 as u64) + // Standard Error: 2_599 + .saturating_add(Weight::from_ref_time(47_078 as u64).saturating_mul(l as u64)) + // Standard Error: 4_624 + .saturating_add(Weight::from_ref_time(57_576 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_756_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(59_922_778 as u64) + // Standard Error: 2_511 + .saturating_add(Weight::from_ref_time(46_667 as u64).saturating_mul(l as u64)) + // Standard Error: 4_468 + .saturating_add(Weight::from_ref_time(37_564 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -74,11 +74,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_837_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(62_541_122 as u64) + // Standard Error: 10_315 + .saturating_add(Weight::from_ref_time(10_711 as u64).saturating_mul(l as u64)) + // Standard Error: 18_352 + .saturating_add(Weight::from_ref_time(33_974 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -86,23 +86,21 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(62_635_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(59_601_695 as u64) + // Standard Error: 2_556 + .saturating_add(Weight::from_ref_time(48_141 as u64).saturating_mul(l as u64)) + // Standard Error: 4_548 + .saturating_add(Weight::from_ref_time(17_534 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Vesting Vesting (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(89_798_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(l as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(s as u64)) + fn vested_transfer(l: u32, _s: u32, ) -> Weight { + Weight::from_ref_time(89_658_151 as u64) + // Standard Error: 15_033 + .saturating_add(Weight::from_ref_time(720 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -110,11 +108,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Balances Locks (r:1 w:1) fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(88_784_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(l as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(84_902_216 as u64) + // Standard Error: 15_445 + .saturating_add(Weight::from_ref_time(38_803 as u64).saturating_mul(l as u64)) + // Standard Error: 27_481 + .saturating_add(Weight::from_ref_time(37_567 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -122,11 +120,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_311_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(61_223_810 as u64) + // Standard Error: 6_045 + .saturating_add(Weight::from_ref_time(43_583 as u64).saturating_mul(l as u64)) + // Standard Error: 11_164 + .saturating_add(Weight::from_ref_time(75_498 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -134,11 +132,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(63_748_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(l as u64)) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(96_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(60_655_625 as u64) + // Standard Error: 2_481 + .saturating_add(Weight::from_ref_time(61_436 as u64).saturating_mul(l as u64)) + // Standard Error: 4_583 + .saturating_add(Weight::from_ref_time(66_389 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtimes/spiritnet/src/weights/pallet_web3_names.rs b/runtimes/spiritnet/src/weights/pallet_web3_names.rs index 514b9b8fc..7f585ba5b 100644 --- a/runtimes/spiritnet/src/weights/pallet_web3_names.rs +++ b/runtimes/spiritnet/src/weights/pallet_web3_names.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_web3_names //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -52,10 +52,8 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Owner (r:1 w:1) // Storage: Web3Names Banned (r:1 w:0) // Storage: System Account (r:1 w:1) - fn claim(n: u32, ) -> Weight { - Weight::from_ref_time(58_244_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(n as u64)) + fn claim(_n: u32, ) -> Weight { + Weight::from_ref_time(102_679_626 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -63,7 +61,7 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn release_by_owner() -> Weight { - Weight::from_ref_time(56_431_000 as u64) + Weight::from_ref_time(51_802_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -71,9 +69,9 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) fn reclaim_deposit(n: u32, ) -> Weight { - Weight::from_ref_time(52_581_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(63_332_008 as u64) + // Standard Error: 134_314 + .saturating_add(Weight::from_ref_time(68_210 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -82,17 +80,17 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Web3Names Names (r:0 w:1) fn ban(n: u32, ) -> Weight { - Weight::from_ref_time(56_484_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(59_972_070 as u64) + // Standard Error: 149_718 + .saturating_add(Weight::from_ref_time(725_039 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Web3Names Banned (r:1 w:1) fn unban(n: u32, ) -> Weight { - Weight::from_ref_time(30_798_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(37_616_960 as u64) + // Standard Error: 67_444 + .saturating_add(Weight::from_ref_time(12_495 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -100,14 +98,14 @@ impl pallet_web3_names::WeightInfo for WeightInfo { // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(68_902_000 as u64) + Weight::from_ref_time(65_888_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Web3Names Owner (r:1 w:1) // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(60_306_000 as u64) + Weight::from_ref_time(55_963_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtimes/spiritnet/src/weights/parachain_staking.rs b/runtimes/spiritnet/src/weights/parachain_staking.rs index 6a8079bed..4e14fbac2 100644 --- a/runtimes/spiritnet/src/weights/parachain_staking.rs +++ b/runtimes/spiritnet/src/weights/parachain_staking.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -50,12 +50,12 @@ pub struct WeightInfo(PhantomData); impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Round (r:1 w:0) fn on_initialize_no_action() -> Weight { - Weight::from_ref_time(7_704_000 as u64) + Weight::from_ref_time(15_785_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn on_initialize_round_update() -> Weight { - Weight::from_ref_time(22_382_000 as u64) + Weight::from_ref_time(46_933_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -65,13 +65,13 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: System Account (r:1 w:1) fn on_initialize_network_rewards() -> Weight { - Weight::from_ref_time(58_095_000 as u64) + Weight::from_ref_time(55_668_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking ForceNewRound (r:0 w:1) fn force_new_round() -> Weight { - Weight::from_ref_time(8_802_000 as u64) + Weight::from_ref_time(15_433_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking CandidatePool (r:3 w:0) @@ -82,32 +82,35 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking InflationConfig (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:0) fn set_inflation(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 555_000 - .saturating_add(Weight::from_ref_time(492_148_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_181_000 - .saturating_add(Weight::from_ref_time(1_020_756_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(860_135_000 as u64) + // Standard Error: 5_204_549 + .saturating_add(Weight::from_ref_time(166_980_678 as u64).saturating_mul(n as u64)) + // Standard Error: 11_174_052 + .saturating_add(Weight::from_ref_time(319_821_281 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(152 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(145 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1) // Storage: ParachainStaking TopCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) // Storage: ParachainStaking CandidatePool (r:1 w:0) fn set_max_selected_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 248_000 - .saturating_add(Weight::from_ref_time(26_647_000 as u64).saturating_mul(n as u64)) - // Standard Error: 416_000 - .saturating_add(Weight::from_ref_time(42_143_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(71_385_000 as u64) + // Standard Error: 27_673 + .saturating_add(Weight::from_ref_time(3_574_268 as u64).saturating_mul(n as u64)) + // Standard Error: 61_251 + .saturating_add(Weight::from_ref_time(393_012 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Round (r:1 w:1) fn set_blocks_per_round() -> Weight { - Weight::from_ref_time(29_347_000 as u64) + Weight::from_ref_time(28_124_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -126,11 +129,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) fn force_remove_candidate(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 242_000 - .saturating_add(Weight::from_ref_time(27_182_000 as u64).saturating_mul(n as u64)) - // Standard Error: 400_000 - .saturating_add(Weight::from_ref_time(77_252_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(168_116_000 as u64) + // Standard Error: 34_857 + .saturating_add(Weight::from_ref_time(1_232_650 as u64).saturating_mul(n as u64)) + // Standard Error: 77_327 + .saturating_add(Weight::from_ref_time(31_901_426 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(10 as u64)) @@ -147,11 +150,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) fn join_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 223_000 - .saturating_add(Weight::from_ref_time(22_119_000 as u64).saturating_mul(n as u64)) - // Standard Error: 464_000 - .saturating_add(Weight::from_ref_time(45_072_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(77_165_699 as u64) + // Standard Error: 15_581 + .saturating_add(Weight::from_ref_time(831_262 as u64).saturating_mul(n as u64)) + // Standard Error: 32_355 + .saturating_add(Weight::from_ref_time(1_635_259 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -161,11 +164,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) fn init_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 252_000 - .saturating_add(Weight::from_ref_time(27_412_000 as u64).saturating_mul(n as u64)) - // Standard Error: 409_000 - .saturating_add(Weight::from_ref_time(50_493_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_464_502 as u64) + // Standard Error: 16_047 + .saturating_add(Weight::from_ref_time(888_794 as u64).saturating_mul(n as u64)) + // Standard Error: 26_023 + .saturating_add(Weight::from_ref_time(1_978_806 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -174,11 +177,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) // Storage: ParachainStaking TotalCollatorStake (r:1 w:1) fn cancel_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 261_000 - .saturating_add(Weight::from_ref_time(27_990_000 as u64).saturating_mul(n as u64)) - // Standard Error: 424_000 - .saturating_add(Weight::from_ref_time(51_790_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(62_095_826 as u64) + // Standard Error: 12_132 + .saturating_add(Weight::from_ref_time(476_338 as u64).saturating_mul(n as u64)) + // Standard Error: 19_675 + .saturating_add(Weight::from_ref_time(1_129_496 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -196,11 +199,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:1) fn execute_leave_candidates(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 246_000 - .saturating_add(Weight::from_ref_time(32_258_000 as u64).saturating_mul(n as u64)) - // Standard Error: 399_000 - .saturating_add(Weight::from_ref_time(87_573_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(101_890_000 as u64) + // Standard Error: 30_385 + .saturating_add(Weight::from_ref_time(1_040_081 as u64).saturating_mul(n as u64)) + // Standard Error: 66_546 + .saturating_add(Weight::from_ref_time(32_125_693 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(m as u64))) .saturating_add(T::DbWeight::get().writes(8 as u64)) @@ -218,12 +221,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksRewarded (r:1 w:1) // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) - fn candidate_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 198_000 - .saturating_add(Weight::from_ref_time(28_777_000 as u64).saturating_mul(n as u64)) - // Standard Error: 412_000 - .saturating_add(Weight::from_ref_time(59_236_000 as u64).saturating_mul(m as u64)) + fn candidate_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(71_470_018 as u64) + // Standard Error: 13_867 + .saturating_add(Weight::from_ref_time(938_029 as u64).saturating_mul(n as u64)) + // Standard Error: 28_786 + .saturating_add(Weight::from_ref_time(1_857_412 as u64).saturating_mul(m as u64)) + // Standard Error: 106_632 + .saturating_add(Weight::from_ref_time(1_932_519 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -237,11 +242,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn candidate_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 234_000 - .saturating_add(Weight::from_ref_time(27_385_000 as u64).saturating_mul(n as u64)) - // Standard Error: 486_000 - .saturating_add(Weight::from_ref_time(56_532_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(61_169_638 as u64) + // Standard Error: 16_197 + .saturating_add(Weight::from_ref_time(875_175 as u64).saturating_mul(n as u64)) + // Standard Error: 33_635 + .saturating_add(Weight::from_ref_time(1_699_929 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -258,11 +263,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksAuthored (r:1 w:0) // Storage: ParachainStaking BlocksRewarded (r:0 w:1) fn join_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 229_000 - .saturating_add(Weight::from_ref_time(27_195_000 as u64).saturating_mul(n as u64)) - // Standard Error: 509_000 - .saturating_add(Weight::from_ref_time(59_003_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(78_807_697 as u64) + // Standard Error: 14_488 + .saturating_add(Weight::from_ref_time(1_065_735 as u64).saturating_mul(n as u64)) + // Standard Error: 32_201 + .saturating_add(Weight::from_ref_time(2_188_025 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -278,12 +283,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking BlocksRewarded (r:1 w:1) // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) - fn delegator_stake_more(n: u32, m: u32, _u: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 183_000 - .saturating_add(Weight::from_ref_time(28_638_000 as u64).saturating_mul(n as u64)) - // Standard Error: 408_000 - .saturating_add(Weight::from_ref_time(62_457_000 as u64).saturating_mul(m as u64)) + fn delegator_stake_more(n: u32, m: u32, u: u32, ) -> Weight { + Weight::from_ref_time(83_685_009 as u64) + // Standard Error: 12_652 + .saturating_add(Weight::from_ref_time(974_920 as u64).saturating_mul(n as u64)) + // Standard Error: 28_109 + .saturating_add(Weight::from_ref_time(1_928_583 as u64).saturating_mul(m as u64)) + // Standard Error: 109_022 + .saturating_add(Weight::from_ref_time(1_733_864 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -298,11 +305,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn delegator_stake_less(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 228_000 - .saturating_add(Weight::from_ref_time(27_066_000 as u64).saturating_mul(n as u64)) - // Standard Error: 507_000 - .saturating_add(Weight::from_ref_time(58_897_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(74_505_829 as u64) + // Standard Error: 14_680 + .saturating_add(Weight::from_ref_time(892_703 as u64).saturating_mul(n as u64)) + // Standard Error: 32_626 + .saturating_add(Weight::from_ref_time(1_762_577 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -317,11 +324,11 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TopCandidates (r:1 w:1) // Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) fn leave_delegators(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 228_000 - .saturating_add(Weight::from_ref_time(27_351_000 as u64).saturating_mul(n as u64)) - // Standard Error: 507_000 - .saturating_add(Weight::from_ref_time(59_344_000 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(79_400_932 as u64) + // Standard Error: 13_884 + .saturating_add(Weight::from_ref_time(898_989 as u64).saturating_mul(n as u64)) + // Standard Error: 30_857 + .saturating_add(Weight::from_ref_time(1_759_657 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -329,15 +336,15 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) fn unlock_unstaked(u: u32, ) -> Weight { - Weight::from_ref_time(56_951_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(251_000 as u64).saturating_mul(u as u64)) + Weight::from_ref_time(54_926_082 as u64) + // Standard Error: 86_974 + .saturating_add(Weight::from_ref_time(202_637 as u64).saturating_mul(u as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) fn set_max_candidate_stake() -> Weight { - Weight::from_ref_time(22_776_000 as u64) + Weight::from_ref_time(20_662_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ParachainStaking DelegatorState (r:1 w:0) @@ -347,7 +354,7 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_delegator_rewards() -> Weight { - Weight::from_ref_time(46_254_000 as u64) + Weight::from_ref_time(40_748_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -358,14 +365,14 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking InflationConfig (r:1 w:0) fn increment_collator_rewards() -> Weight { - Weight::from_ref_time(39_479_000 as u64) + Weight::from_ref_time(35_860_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParachainStaking Rewards (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_rewards() -> Weight { - Weight::from_ref_time(58_531_000 as u64) + Weight::from_ref_time(53_997_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -378,14 +385,16 @@ impl parachain_staking::WeightInfo for WeightInfo { // Storage: ParachainStaking TotalCollatorStake (r:1 w:0) // Storage: ParachainStaking CounterForCandidatePool (r:1 w:0) fn execute_scheduled_reward_change(n: u32, m: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 598_000 - .saturating_add(Weight::from_ref_time(497_598_000 as u64).saturating_mul(n as u64)) - // Standard Error: 1_271_000 - .saturating_add(Weight::from_ref_time(1_025_730_000 as u64).saturating_mul(m as u64)) - .saturating_add(T::DbWeight::get().reads((74 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((150 as u64).saturating_mul(m as u64))) - .saturating_add(T::DbWeight::get().writes((72 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes((150 as u64).saturating_mul(m as u64))) + Weight::from_ref_time(850_431_000 as u64) + // Standard Error: 5_147_003 + .saturating_add(Weight::from_ref_time(163_355_731 as u64).saturating_mul(n as u64)) + // Standard Error: 11_050_503 + .saturating_add(Weight::from_ref_time(316_055_688 as u64).saturating_mul(m as u64)) + .saturating_add(T::DbWeight::get().reads(153 as u64)) + .saturating_add(T::DbWeight::get().reads((27 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().reads((51 as u64).saturating_mul(m as u64))) + .saturating_add(T::DbWeight::get().writes(146 as u64)) + .saturating_add(T::DbWeight::get().writes((25 as u64).saturating_mul(n as u64))) + .saturating_add(T::DbWeight::get().writes((51 as u64).saturating_mul(m as u64))) } } diff --git a/runtimes/spiritnet/src/weights/public_credentials.rs b/runtimes/spiritnet/src/weights/public_credentials.rs index 78f5ca39b..025445dc0 100644 --- a/runtimes/spiritnet/src/weights/public_credentials.rs +++ b/runtimes/spiritnet/src/weights/public_credentials.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for public_credentials //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("spiritnet-dev"), DB CACHE: 1024 // Executed Command: @@ -53,23 +53,23 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: PublicCredentials CredentialSubjects (r:0 w:1) fn add(c: u32, ) -> Weight { - Weight::from_ref_time(72_520_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(89_428_317 as u64) + // Standard Error: 51 + .saturating_add(Weight::from_ref_time(2_738 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn revoke() -> Weight { - Weight::from_ref_time(44_494_000 as u64) + Weight::from_ref_time(43_997_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PublicCredentials CredentialSubjects (r:1 w:0) // Storage: PublicCredentials Credentials (r:1 w:1) fn unrevoke() -> Weight { - Weight::from_ref_time(44_170_000 as u64) + Weight::from_ref_time(42_235_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -77,7 +77,7 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn remove() -> Weight { - Weight::from_ref_time(69_989_000 as u64) + Weight::from_ref_time(67_917_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -85,18 +85,24 @@ impl public_credentials::WeightInfo for WeightInfo { // Storage: PublicCredentials Credentials (r:1 w:1) // Storage: System Account (r:1 w:1) fn reclaim_deposit() -> Weight { - Weight::from_ref_time(69_237_000 as u64) + Weight::from_ref_time(65_727_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } + // Storage: PublicCredentials CredentialSubjects (r:1 w:0) + // Storage: PublicCredentials Credentials (r:1 w:1) + // Storage: System Account (r:2 w:2) fn change_deposit_owner() -> Weight { - Weight::from_ref_time(68_692_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) + Weight::from_ref_time(86_688_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } + // Storage: PublicCredentials CredentialSubjects (r:1 w:0) + // Storage: PublicCredentials Credentials (r:1 w:1) + // Storage: System Account (r:1 w:1) fn update_deposit() -> Weight { - Weight::from_ref_time(68_692_000 as u64) + Weight::from_ref_time(186_280_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } }