diff --git a/integration-tests/.mocharc.js b/integration-tests/.mocharc.js index efc25c070e..16636f5bdb 100644 --- a/integration-tests/.mocharc.js +++ b/integration-tests/.mocharc.js @@ -1,7 +1,7 @@ module.exports = { parallel: false, require: ['scaffolding/rootHooks.ts', 'scaffolding/extrinsicHelpers.ts'], - timeout: 500, + timeout: 2000, } global.mochaConfig = module.exports; diff --git a/pallets/messages/src/weights.rs b/pallets/messages/src/weights.rs index ec89ae9f32..1461351aa9 100644 --- a/pallets/messages/src/weights.rs +++ b/pallets/messages/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_messages //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -65,9 +65,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:0) // Storage: Messages Messages (r:1 w:1) fn add_onchain_message(n: u32, ) -> Weight { - Weight::from_ref_time(132_746_120 as u64) - // Standard Error: 45 - .saturating_add(Weight::from_ref_time(1_111 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(127_313_236 as u64) + // Standard Error: 28 + .saturating_add(Weight::from_ref_time(1_024 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -75,9 +75,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Messages Messages (r:1 w:1) fn add_ipfs_message(n: u32, ) -> Weight { - Weight::from_ref_time(114_551_408 as u64) - // Standard Error: 23 - .saturating_add(Weight::from_ref_time(1_400 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(113_062_719 as u64) + // Standard Error: 19 + .saturating_add(Weight::from_ref_time(1_191 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -90,9 +90,9 @@ impl WeightInfo for () { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:0) // Storage: Messages Messages (r:1 w:1) fn add_onchain_message(n: u32, ) -> Weight { - Weight::from_ref_time(132_746_120 as u64) - // Standard Error: 45 - .saturating_add(Weight::from_ref_time(1_111 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(127_313_236 as u64) + // Standard Error: 28 + .saturating_add(Weight::from_ref_time(1_024 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(4 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -100,9 +100,9 @@ impl WeightInfo for () { // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Messages Messages (r:1 w:1) fn add_ipfs_message(n: u32, ) -> Weight { - Weight::from_ref_time(114_551_408 as u64) - // Standard Error: 23 - .saturating_add(Weight::from_ref_time(1_400 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(113_062_719 as u64) + // Standard Error: 19 + .saturating_add(Weight::from_ref_time(1_191 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } diff --git a/pallets/msa/src/weights.rs b/pallets/msa/src/weights.rs index 96187f2cc7..62f82191a3 100644 --- a/pallets/msa/src/weights.rs +++ b/pallets/msa/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_msa //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -74,7 +74,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa PublicKeyToMsaId (r:1 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(21_377_000 as u64) + Weight::from_ref_time(21_957_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -87,16 +87,16 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn create_sponsored_account_with_delegation(s: u32, ) -> Weight { - Weight::from_ref_time(104_628_718 as u64) - // Standard Error: 14_644 - .saturating_add(Weight::from_ref_time(115_140 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(104_006_358 as u64) + // Standard Error: 12_206 + .saturating_add(Weight::from_ref_time(109_868 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) fn revoke_delegation_by_provider() -> Weight { - Weight::from_ref_time(24_965_000 as u64) + Weight::from_ref_time(25_469_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -105,14 +105,14 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa PublicKeyToMsaId (r:2 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn add_public_key_to_msa() -> Weight { - Weight::from_ref_time(151_809_000 as u64) + Weight::from_ref_time(148_757_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: Msa PublicKeyToMsaId (r:2 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn delete_msa_public_key() -> Weight { - Weight::from_ref_time(30_751_000 as u64) + Weight::from_ref_time(31_035_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -120,9 +120,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) // Storage: Msa DelegatorAndProviderToDelegation (r:0 w:3) fn retire_msa(s: u32, ) -> Weight { - Weight::from_ref_time(28_729_839 as u64) - // Standard Error: 5_300 - .saturating_add(Weight::from_ref_time(1_192_011 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(29_206_125 as u64) + // Standard Error: 5_253 + .saturating_add(Weight::from_ref_time(1_202_751 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -134,34 +134,34 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn grant_delegation(s: u32, ) -> Weight { - Weight::from_ref_time(98_012_683 as u64) - // Standard Error: 14_092 - .saturating_add(Weight::from_ref_time(85_838 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(97_779_990 as u64) + // Standard Error: 13_759 + .saturating_add(Weight::from_ref_time(92_647 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) fn revoke_delegation_by_delegator() -> Weight { - Weight::from_ref_time(25_527_000 as u64) + Weight::from_ref_time(25_028_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa ProviderToRegistryEntry (r:1 w:1) fn create_provider(s: u32, ) -> Weight { - Weight::from_ref_time(22_615_517 as u64) - // Standard Error: 17_857 - .saturating_add(Weight::from_ref_time(20_877 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(22_660_556 as u64) + // Standard Error: 8_490 + .saturating_add(Weight::from_ref_time(22_554 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)) } // Storage: Msa PayloadSignatureBucketCount (r:1 w:1) // Storage: Msa PayloadSignatureRegistry (r:0 w:1) fn on_initialize(m: u32, ) -> Weight { - Weight::from_ref_time(9_671_000 as u64) - // Standard Error: 8_795 - .saturating_add(Weight::from_ref_time(1_669_262 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(9_421_000 as u64) + // Standard Error: 9_523 + .saturating_add(Weight::from_ref_time(1_608_128 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64))) @@ -170,9 +170,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn grant_schema_permissions(s: u32, ) -> Weight { - Weight::from_ref_time(29_330_910 as u64) - // Standard Error: 6_229 - .saturating_add(Weight::from_ref_time(67_772 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(29_910_934 as u64) + // Standard Error: 6_464 + .saturating_add(Weight::from_ref_time(52_512 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -180,9 +180,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn revoke_schema_permissions(s: u32, ) -> Weight { - Weight::from_ref_time(30_111_798 as u64) - // Standard Error: 7_518 - .saturating_add(Weight::from_ref_time(138_324 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(30_794_014 as u64) + // Standard Error: 8_364 + .saturating_add(Weight::from_ref_time(129_178 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -194,7 +194,7 @@ impl WeightInfo for () { // Storage: Msa PublicKeyToMsaId (r:1 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(21_377_000 as u64) + Weight::from_ref_time(21_957_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -207,16 +207,16 @@ impl WeightInfo for () { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn create_sponsored_account_with_delegation(s: u32, ) -> Weight { - Weight::from_ref_time(104_628_718 as u64) - // Standard Error: 14_644 - .saturating_add(Weight::from_ref_time(115_140 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(104_006_358 as u64) + // Standard Error: 12_206 + .saturating_add(Weight::from_ref_time(109_868 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(9 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) fn revoke_delegation_by_provider() -> Weight { - Weight::from_ref_time(24_965_000 as u64) + Weight::from_ref_time(25_469_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -225,14 +225,14 @@ impl WeightInfo for () { // Storage: Msa PublicKeyToMsaId (r:2 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn add_public_key_to_msa() -> Weight { - Weight::from_ref_time(151_809_000 as u64) + Weight::from_ref_time(148_757_000 as u64) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) } // Storage: Msa PublicKeyToMsaId (r:2 w:1) // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) fn delete_msa_public_key() -> Weight { - Weight::from_ref_time(30_751_000 as u64) + Weight::from_ref_time(31_035_000 as u64) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } @@ -240,9 +240,9 @@ impl WeightInfo for () { // Storage: Msa PublicKeyCountForMsaId (r:1 w:1) // Storage: Msa DelegatorAndProviderToDelegation (r:0 w:3) fn retire_msa(s: u32, ) -> Weight { - Weight::from_ref_time(28_729_839 as u64) - // Standard Error: 5_300 - .saturating_add(Weight::from_ref_time(1_192_011 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(29_206_125 as u64) + // Standard Error: 5_253 + .saturating_add(Weight::from_ref_time(1_202_751 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(5 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -254,34 +254,34 @@ impl WeightInfo for () { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn grant_delegation(s: u32, ) -> Weight { - Weight::from_ref_time(98_012_683 as u64) - // Standard Error: 14_092 - .saturating_add(Weight::from_ref_time(85_838 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(97_779_990 as u64) + // Standard Error: 13_759 + .saturating_add(Weight::from_ref_time(92_647 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) fn revoke_delegation_by_delegator() -> Weight { - Weight::from_ref_time(25_527_000 as u64) + Weight::from_ref_time(25_028_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Msa PublicKeyToMsaId (r:1 w:0) // Storage: Msa ProviderToRegistryEntry (r:1 w:1) fn create_provider(s: u32, ) -> Weight { - Weight::from_ref_time(22_615_517 as u64) - // Standard Error: 17_857 - .saturating_add(Weight::from_ref_time(20_877 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(22_660_556 as u64) + // Standard Error: 8_490 + .saturating_add(Weight::from_ref_time(22_554 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } // Storage: Msa PayloadSignatureBucketCount (r:1 w:1) // Storage: Msa PayloadSignatureRegistry (r:0 w:1) fn on_initialize(m: u32, ) -> Weight { - Weight::from_ref_time(9_671_000 as u64) - // Standard Error: 8_795 - .saturating_add(Weight::from_ref_time(1_669_262 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(9_421_000 as u64) + // Standard Error: 9_523 + .saturating_add(Weight::from_ref_time(1_608_128 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(m as u64))) @@ -290,9 +290,9 @@ impl WeightInfo for () { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn grant_schema_permissions(s: u32, ) -> Weight { - Weight::from_ref_time(29_330_910 as u64) - // Standard Error: 6_229 - .saturating_add(Weight::from_ref_time(67_772 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(29_910_934 as u64) + // Standard Error: 6_464 + .saturating_add(Weight::from_ref_time(52_512 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -300,9 +300,9 @@ impl WeightInfo for () { // Storage: Msa DelegatorAndProviderToDelegation (r:1 w:1) // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:0) fn revoke_schema_permissions(s: u32, ) -> Weight { - Weight::from_ref_time(30_111_798 as u64) - // Standard Error: 7_518 - .saturating_add(Weight::from_ref_time(138_324 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(30_794_014 as u64) + // Standard Error: 8_364 + .saturating_add(Weight::from_ref_time(129_178 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(3 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } diff --git a/pallets/schemas/src/weights.rs b/pallets/schemas/src/weights.rs index a071d92e80..beaf878fda 100644 --- a/pallets/schemas/src/weights.rs +++ b/pallets/schemas/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_schemas //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -64,15 +64,15 @@ impl WeightInfo for SubstrateWeight { // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:1) // Storage: Schemas Schemas (r:0 w:1) fn create_schema(m: u32, ) -> Weight { - Weight::from_ref_time(4_265_406 as u64) - // Standard Error: 70 - .saturating_add(Weight::from_ref_time(27_700 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(7_898_462 as u64) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(27_559 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Schemas GovernanceSchemaModelMaxBytes (r:0 w:1) fn set_max_schema_model_bytes() -> Weight { - Weight::from_ref_time(14_392_000 as u64) + Weight::from_ref_time(14_768_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } @@ -83,15 +83,15 @@ impl WeightInfo for () { // Storage: Schemas CurrentSchemaIdentifierMaximum (r:1 w:1) // Storage: Schemas Schemas (r:0 w:1) fn create_schema(m: u32, ) -> Weight { - Weight::from_ref_time(4_265_406 as u64) - // Standard Error: 70 - .saturating_add(Weight::from_ref_time(27_700 as u64).saturating_mul(m as u64)) + Weight::from_ref_time(7_898_462 as u64) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(27_559 as u64).saturating_mul(m as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(2 as u64)) } // Storage: Schemas GovernanceSchemaModelMaxBytes (r:0 w:1) fn set_max_schema_model_bytes() -> Weight { - Weight::from_ref_time(14_392_000 as u64) + Weight::from_ref_time(14_768_000 as u64) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } } diff --git a/runtime/common/src/constants.rs b/runtime/common/src/constants.rs index 20709406ae..7bf4d2e033 100644 --- a/runtime/common/src/constants.rs +++ b/runtime/common/src/constants.rs @@ -179,6 +179,8 @@ parameter_types! { // --- Council --- // The maximum number of council proposals pub type CouncilMaxProposals = ConstU32<25>; +// The maximum number of council members +pub type CouncilMaxMembers = ConstU32<10>; parameter_types! { pub const CouncilMotionDuration: BlockNumber = 5 * DAYS; @@ -189,7 +191,7 @@ parameter_types! { // The maximum number of technical committee proposals pub type TCMaxProposals = ConstU32<25>; // The maximum number of technical committee members -pub type TCMaxMembers = ConstU32<3>; +pub type TCMaxMembers = ConstU32<10>; parameter_types! { pub const TCMotionDuration: BlockNumber = 5 * DAYS; diff --git a/runtime/common/src/weights/orml_vesting.rs b/runtime/common/src/weights/orml_vesting.rs index 8de4330f17..c794d70d32 100644 --- a/runtime/common/src/weights/orml_vesting.rs +++ b/runtime/common/src/weights/orml_vesting.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for orml_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ impl orml_vesting::WeightInfo for SubstrateWeight { // Storage: System Account (r:2 w:2) // Storage: Balances Locks (r:1 w:1) fn vested_transfer() -> Weight { - Weight::from_ref_time(61_701_000 as u64) + Weight::from_ref_time(62_193_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -47,9 +47,9 @@ impl orml_vesting::WeightInfo for SubstrateWeight { // Storage: Balances Locks (r:1 w:1) /// The range of component `i` is `[1, 50]`. fn claim(i: u32, ) -> Weight { - Weight::from_ref_time(39_547_139 as u64) - // Standard Error: 1_792 - .saturating_add(Weight::from_ref_time(88_078 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(40_320_410 as u64) + // Standard Error: 1_836 + .saturating_add(Weight::from_ref_time(73_808 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -58,9 +58,9 @@ impl orml_vesting::WeightInfo for SubstrateWeight { // Storage: Vesting VestingSchedules (r:0 w:1) /// The range of component `i` is `[1, 50]`. fn update_vesting_schedules(i: u32, ) -> Weight { - Weight::from_ref_time(33_661_928 as u64) - // Standard Error: 1_245 - .saturating_add(Weight::from_ref_time(64_223 as u64).saturating_mul(i as u64)) + Weight::from_ref_time(33_961_985 as u64) + // Standard Error: 1_369 + .saturating_add(Weight::from_ref_time(66_754 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/common/src/weights/pallet_balances.rs b/runtime/common/src/weights/pallet_balances.rs index bee967f99d..8f022668bf 100644 --- a/runtime/common/src/weights/pallet_balances.rs +++ b/runtime/common/src/weights/pallet_balances.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -35,43 +35,43 @@ pub struct SubstrateWeight(PhantomData); impl pallet_balances::WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(49_010_000 as u64) + Weight::from_ref_time(48_615_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 transfer_keep_alive() -> Weight { - Weight::from_ref_time(36_451_000 as u64) + Weight::from_ref_time(36_253_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(26_910_000 as u64) + Weight::from_ref_time(26_439_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(30_249_000 as u64) + Weight::from_ref_time(29_673_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:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(47_825_000 as u64) + Weight::from_ref_time(47_431_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_all() -> Weight { - Weight::from_ref_time(42_553_000 as u64) + Weight::from_ref_time(42_467_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(23_549_000 as u64) + Weight::from_ref_time(23_179_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/common/src/weights/pallet_collective.rs b/runtime/common/src/weights/pallet_collective.rs new file mode 100644 index 0000000000..02139b7db7 --- /dev/null +++ b/runtime/common/src/weights/pallet_collective.rs @@ -0,0 +1,203 @@ +//! Autogenerated weights for pallet_collective +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 + +// Executed Command: +// ./scripts/../target/production/frequency +// benchmark +// pallet +// --pallet +// pallet_collective +// --extrinsic +// * +// --chain=frequency-bench +// --execution +// wasm +// --heap-pages=4096 +// --wasm-execution +// compiled +// --steps=50 +// --repeat=20 +// --output=./scripts/../runtime/common/src/weights/pallet_collective.rs +// --template=./scripts/../.maintain/runtime-weight-template.hbs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; + +/// Weights for pallet_collective using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl pallet_collective::WeightInfo for SubstrateWeight { + // Storage: Council Members (r:1 w:1) + // Storage: Council Proposals (r:1 w:0) + // Storage: Council Prime (r:0 w:1) + // Storage: Council Voting (r:25 w:25) + /// The range of component `m` is `[0, 10]`. + /// The range of component `n` is `[0, 10]`. + /// The range of component `p` is `[0, 25]`. + /// The range of component `m` is `[0, 10]`. + /// The range of component `n` is `[0, 10]`. + /// The range of component `p` is `[0, 25]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + Weight::from_ref_time(11_531_000 as u64) + // Standard Error: 64_138 + .saturating_add(Weight::from_ref_time(2_620_206 as u64).saturating_mul(m as u64)) + // Standard Error: 26_063 + .saturating_add(Weight::from_ref_time(3_475_934 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) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 10]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 10]`. + fn execute(b: u32, m: u32, ) -> Weight { + Weight::from_ref_time(21_499_606 as u64) + // Standard Error: 18 + .saturating_add(Weight::from_ref_time(2_096 as u64).saturating_mul(b as u64)) + // Standard Error: 2_014 + .saturating_add(Weight::from_ref_time(7_451 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) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 10]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 10]`. + fn propose_execute(b: u32, m: u32, ) -> Weight { + Weight::from_ref_time(23_287_544 as u64) + // Standard Error: 20 + .saturating_add(Weight::from_ref_time(2_198 as u64).saturating_mul(b as u64)) + // Standard Error: 2_241 + .saturating_add(Weight::from_ref_time(36_123 as u64).saturating_mul(m 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) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 10]`. + /// The range of component `p` is `[1, 25]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 10]`. + /// The range of component `p` is `[1, 25]`. + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + Weight::from_ref_time(29_791_254 as u64) + // Standard Error: 45 + .saturating_add(Weight::from_ref_time(3_201 as u64).saturating_mul(b as u64)) + // Standard Error: 5_417 + .saturating_add(Weight::from_ref_time(24_797 as u64).saturating_mul(m as u64)) + // Standard Error: 1_890 + .saturating_add(Weight::from_ref_time(347_400 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) + /// The range of component `m` is `[5, 10]`. + /// The range of component `m` is `[5, 10]`. + fn vote(m: u32, ) -> Weight { + Weight::from_ref_time(30_416_504 as u64) + // Standard Error: 7_441 + .saturating_add(Weight::from_ref_time(71_501 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) + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + Weight::from_ref_time(31_868_999 as u64) + // Standard Error: 8_539 + .saturating_add(Weight::from_ref_time(66_888 as u64).saturating_mul(m as u64)) + // Standard Error: 2_277 + .saturating_add(Weight::from_ref_time(369_031 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) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + fn close_early_approved(b: u32, _m: u32, p: u32, ) -> Weight { + Weight::from_ref_time(41_679_062 as u64) + // Standard Error: 61 + .saturating_add(Weight::from_ref_time(2_831 as u64).saturating_mul(b as u64)) + // Standard Error: 2_541 + .saturating_add(Weight::from_ref_time(440_321 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) + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + fn close_disapproved(m: u32, p: u32, ) -> Weight { + Weight::from_ref_time(34_473_835 as u64) + // Standard Error: 7_633 + .saturating_add(Weight::from_ref_time(88_647 as u64).saturating_mul(m as u64)) + // Standard Error: 2_036 + .saturating_add(Weight::from_ref_time(356_115 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) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 10]`. + /// The range of component `p` is `[1, 25]`. + fn close_approved(b: u32, _m: u32, p: u32, ) -> Weight { + Weight::from_ref_time(44_837_193 as u64) + // Standard Error: 65 + .saturating_add(Weight::from_ref_time(2_560 as u64).saturating_mul(b as u64)) + // Standard Error: 2_692 + .saturating_add(Weight::from_ref_time(429_242 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) + /// The range of component `p` is `[1, 25]`. + /// The range of component `p` is `[1, 25]`. + fn disapprove_proposal(p: u32, ) -> Weight { + Weight::from_ref_time(22_434_061 as u64) + // Standard Error: 1_432 + .saturating_add(Weight::from_ref_time(296_013 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/runtime/common/src/weights/pallet_democracy.rs b/runtime/common/src/weights/pallet_democracy.rs index 653f87a699..590f6306a0 100644 --- a/runtime/common/src/weights/pallet_democracy.rs +++ b/runtime/common/src/weights/pallet_democracy.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -38,13 +38,13 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(68_997_000 as u64) + Weight::from_ref_time(68_735_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 { - Weight::from_ref_time(57_664_000 as u64) + Weight::from_ref_time(55_608_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -52,7 +52,7 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(69_969_000 as u64) + Weight::from_ref_time(70_812_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -60,14 +60,14 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(70_495_000 as u64) + Weight::from_ref_time(70_830_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 { - Weight::from_ref_time(24_029_000 as u64) + Weight::from_ref_time(24_094_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -78,39 +78,39 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(98_577_000 as u64) + Weight::from_ref_time(99_863_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - Weight::from_ref_time(18_513_000 as u64) + Weight::from_ref_time(18_395_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 { - Weight::from_ref_time(5_492_000 as u64) + Weight::from_ref_time(5_476_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(5_648_000 as u64) + Weight::from_ref_time(5_529_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 { - Weight::from_ref_time(24_643_000 as u64) + Weight::from_ref_time(24_752_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 { - Weight::from_ref_time(30_191_000 as u64) + Weight::from_ref_time(30_151_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -118,7 +118,7 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(83_703_000 as u64) + Weight::from_ref_time(85_854_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -132,9 +132,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(8_720_482 as u64) - // Standard Error: 4_404 - .saturating_add(Weight::from_ref_time(2_542_760 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_872_666 as u64) + // Standard Error: 4_445 + .saturating_add(Weight::from_ref_time(2_641_764 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)) @@ -147,9 +147,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(11_977_439 as u64) - // Standard Error: 4_639 - .saturating_add(Weight::from_ref_time(2_540_946 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(12_297_884 as u64) + // Standard Error: 4_131 + .saturating_add(Weight::from_ref_time(2_630_110 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)) @@ -159,9 +159,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(52_355_841 as u64) - // Standard Error: 5_444 - .saturating_add(Weight::from_ref_time(3_901_238 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(52_782_550 as u64) + // Standard Error: 5_570 + .saturating_add(Weight::from_ref_time(4_000_919 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)) @@ -171,9 +171,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(30_255_717 as u64) - // Standard Error: 6_042 - .saturating_add(Weight::from_ref_time(3_827_594 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(31_089_532 as u64) + // Standard Error: 5_220 + .saturating_add(Weight::from_ref_time(3_902_358 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)) @@ -181,7 +181,7 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(6_839_000 as u64) + Weight::from_ref_time(6_435_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -189,9 +189,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(34_724_022 as u64) - // Standard Error: 1_693 - .saturating_add(Weight::from_ref_time(123_681 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(35_101_414 as u64) + // Standard Error: 1_792 + .saturating_add(Weight::from_ref_time(124_768 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)) } @@ -200,9 +200,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(33_977_691 as u64) - // Standard Error: 1_113 - .saturating_add(Weight::from_ref_time(179_183 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(34_492_964 as u64) + // Standard Error: 1_067 + .saturating_add(Weight::from_ref_time(172_303 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)) } @@ -210,9 +210,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(19_754_834 as u64) - // Standard Error: 1_057 - .saturating_add(Weight::from_ref_time(173_496 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(20_037_917 as u64) + // Standard Error: 1_286 + .saturating_add(Weight::from_ref_time(173_125 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)) } @@ -220,9 +220,9 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(19_590_204 as u64) - // Standard Error: 1_134 - .saturating_add(Weight::from_ref_time(173_383 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(20_011_934 as u64) + // Standard Error: 1_062 + .saturating_add(Weight::from_ref_time(171_605 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/runtime/common/src/weights/pallet_preimage.rs b/runtime/common/src/weights/pallet_preimage.rs index ec80a2f121..318e8bf001 100644 --- a/runtime/common/src/weights/pallet_preimage.rs +++ b/runtime/common/src/weights/pallet_preimage.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -37,9 +37,9 @@ impl pallet_preimage::WeightInfo for SubstrateWeight // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(33_495_000 as u64) - // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_099 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(34_050_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(2_103 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)) } @@ -47,9 +47,9 @@ impl pallet_preimage::WeightInfo for SubstrateWeight // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(23_364_000 as u64) + Weight::from_ref_time(23_589_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_100 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_107 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)) } @@ -57,66 +57,66 @@ impl pallet_preimage::WeightInfo for SubstrateWeight // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(22_052_000 as u64) + Weight::from_ref_time(21_948_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_096 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_113 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(50_333_000 as u64) + Weight::from_ref_time(49_371_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(34_964_000 as u64) + Weight::from_ref_time(34_063_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(39_487_000 as u64) + Weight::from_ref_time(33_357_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(18_767_000 as u64) + Weight::from_ref_time(17_963_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(26_612_000 as u64) + Weight::from_ref_time(26_757_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(12_941_000 as u64) + Weight::from_ref_time(13_431_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_500_000 as u64) + Weight::from_ref_time(30_548_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 unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(12_412_000 as u64) + Weight::from_ref_time(13_227_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 unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(13_026_000 as u64) + Weight::from_ref_time(13_220_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/common/src/weights/pallet_scheduler.rs b/runtime/common/src/weights/pallet_scheduler.rs index ffc877f4f4..061f8a195e 100644 --- a/runtime/common/src/weights/pallet_scheduler.rs +++ b/runtime/common/src/weights/pallet_scheduler.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -35,52 +35,52 @@ pub struct SubstrateWeight(PhantomData); impl pallet_scheduler::WeightInfo for SubstrateWeight { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(5_290_000 as u64) + Weight::from_ref_time(5_243_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 { - Weight::from_ref_time(8_256_610 as u64) - // Standard Error: 2_756 - .saturating_add(Weight::from_ref_time(398_340 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(8_274_164 as u64) + // Standard Error: 2_754 + .saturating_add(Weight::from_ref_time(387_790 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 { - Weight::from_ref_time(10_865_000 as u64) + Weight::from_ref_time(10_615_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 { - Weight::from_ref_time(24_128_000 as u64) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(1_379 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(24_335_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(1_423 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 { - Weight::from_ref_time(12_186_000 as u64) + Weight::from_ref_time(12_405_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_periodic() -> Weight { - Weight::from_ref_time(10_900_000 as u64) + Weight::from_ref_time(10_650_000 as u64) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(4_492_000 as u64) + Weight::from_ref_time(4_462_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(4_414_000 as u64) + Weight::from_ref_time(4_445_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(22_909_445 as u64) - // Standard Error: 2_623 - .saturating_add(Weight::from_ref_time(433_983 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(22_909_709 as u64) + // Standard Error: 2_512 + .saturating_add(Weight::from_ref_time(428_541 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)) } @@ -88,9 +88,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(22_174_144 as u64) - // Standard Error: 2_108 - .saturating_add(Weight::from_ref_time(407_778 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(22_251_320 as u64) + // Standard Error: 2_018 + .saturating_add(Weight::from_ref_time(409_514 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)) } @@ -98,9 +98,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(26_251_279 as u64) - // Standard Error: 3_260 - .saturating_add(Weight::from_ref_time(456_692 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(26_548_811 as u64) + // Standard Error: 3_022 + .saturating_add(Weight::from_ref_time(457_566 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)) } @@ -108,9 +108,9 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { - Weight::from_ref_time(24_550_405 as u64) - // Standard Error: 3_729 - .saturating_add(Weight::from_ref_time(433_893 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(24_656_706 as u64) + // Standard Error: 2_261 + .saturating_add(Weight::from_ref_time(426_835 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/runtime/common/src/weights/pallet_session.rs b/runtime/common/src/weights/pallet_session.rs index 46761ac378..b91bbc4fac 100644 --- a/runtime/common/src/weights/pallet_session.rs +++ b/runtime/common/src/weights/pallet_session.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -36,14 +36,14 @@ impl pallet_session::WeightInfo for SubstrateWeight // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - Weight::from_ref_time(24_063_000 as u64) + Weight::from_ref_time(23_587_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(20_419_000 as u64) + Weight::from_ref_time(20_537_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/common/src/weights/pallet_timestamp.rs b/runtime/common/src/weights/pallet_timestamp.rs index fd2a4095d1..277f006e5d 100644 --- a/runtime/common/src/weights/pallet_timestamp.rs +++ b/runtime/common/src/weights/pallet_timestamp.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -35,11 +35,11 @@ pub struct SubstrateWeight(PhantomData); impl pallet_timestamp::WeightInfo for SubstrateWeight { // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - Weight::from_ref_time(8_733_000 as u64) + Weight::from_ref_time(9_018_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(5_112_000 as u64) + Weight::from_ref_time(5_300_000 as u64) } } diff --git a/runtime/common/src/weights/pallet_treasury.rs b/runtime/common/src/weights/pallet_treasury.rs index 2bd8eda928..3e007342d8 100644 --- a/runtime/common/src/weights/pallet_treasury.rs +++ b/runtime/common/src/weights/pallet_treasury.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -34,19 +34,19 @@ use sp_std::marker::PhantomData; pub struct SubstrateWeight(PhantomData); impl pallet_treasury::WeightInfo for SubstrateWeight { fn spend() -> Weight { - Weight::from_ref_time(165_000 as u64) + Weight::from_ref_time(209_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(31_679_000 as u64) + Weight::from_ref_time(32_362_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:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(38_285_000 as u64) + Weight::from_ref_time(38_241_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -54,15 +54,15 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 63]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(13_638_614 as u64) - // Standard Error: 1_421 - .saturating_add(Weight::from_ref_time(246_316 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(13_824_701 as u64) + // Standard Error: 1_798 + .saturating_add(Weight::from_ref_time(236_018 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(10_217_000 as u64) + Weight::from_ref_time(10_184_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -71,9 +71,9 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // Storage: Treasury Proposals (r:1 w:1) /// The range of component `p` is `[0, 64]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(45_107_999 as u64) - // Standard Error: 18_253 - .saturating_add(Weight::from_ref_time(30_443_052 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(45_567_264 as u64) + // Standard Error: 22_664 + .saturating_add(Weight::from_ref_time(31_077_132 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 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)) diff --git a/runtime/common/src/weights/pallet_utility.rs b/runtime/common/src/weights/pallet_utility.rs index 59526411c1..5de5233510 100644 --- a/runtime/common/src/weights/pallet_utility.rs +++ b/runtime/common/src/weights/pallet_utility.rs @@ -1,7 +1,7 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-10, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-01-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("frequency-bench"), DB CACHE: 1024 // Executed Command: @@ -35,26 +35,26 @@ pub struct SubstrateWeight(PhantomData); impl pallet_utility::WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(17_504_310 as u64) - // Standard Error: 1_530 - .saturating_add(Weight::from_ref_time(4_021_385 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(21_730_035 as u64) + // Standard Error: 1_395 + .saturating_add(Weight::from_ref_time(3_971_762 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(6_750_000 as u64) + Weight::from_ref_time(6_949_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(18_302_051 as u64) - // Standard Error: 1_373 - .saturating_add(Weight::from_ref_time(4_113_907 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(20_349_311 as u64) + // Standard Error: 1_412 + .saturating_add(Weight::from_ref_time(4_069_986 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(15_487_000 as u64) + Weight::from_ref_time(15_776_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(18_731_278 as u64) - // Standard Error: 1_226 - .saturating_add(Weight::from_ref_time(3_996_977 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(20_858_210 as u64) + // Standard Error: 1_458 + .saturating_add(Weight::from_ref_time(3_946_163 as u64).saturating_mul(c as u64)) } } diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 97c78fa434..458c7e345d 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -431,7 +431,7 @@ impl pallet_collective::Config for Runtime { type RuntimeEvent = RuntimeEvent; type MotionDuration = CouncilMotionDuration; type MaxProposals = CouncilMaxProposals; - type MaxMembers = ConstU32<10>; + type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = pallet_collective::weights::SubstrateWeight; } diff --git a/scripts/run_all_benchmarks.sh b/scripts/run_all_benchmarks.sh index 7f01321f63..71617f6313 100755 --- a/scripts/run_all_benchmarks.sh +++ b/scripts/run_all_benchmarks.sh @@ -5,9 +5,8 @@ THIS_DIR=$( dirname -- "$0"; ) PROJECT=${1:-$THIS_DIR/..} RUNTIME=$PROJECT/target/production/frequency BENCHMARK="$RUNTIME benchmark pallet " -# TODO: pallet_collator_selection and pallet_collective benchmarks fail due to errors in the -# actual benchmark code. See Issue #608 -EXTERNAL_PALLETS=(orml_vesting pallet_balances pallet_timestamp pallet_session pallet_scheduler pallet_democracy pallet_treasury pallet_preimage pallet_utility) +# TODO: pallet_collator_selection benchmarks fail due to errors in the actual benchmark code. See Issue #608 +EXTERNAL_PALLETS=(pallet_collective orml_vesting pallet_balances pallet_timestamp pallet_session pallet_scheduler pallet_democracy pallet_treasury pallet_preimage pallet_utility) CUSTOM_PALLETS=(messages msa schemas) function exit_err() { echo "❌ 💔" ; exit 1; }