diff --git a/runtime/common/src/weights/pallet_certification_cert.rs b/runtime/common/src/weights/pallet_certification_cert.rs index 0d39e4516439a209b0056949c0751faa957b7ebc..acd4cd7aa9018d5a6e04a77e83e191f25ab6187c 100644 --- a/runtime/common/src/weights/pallet_certification_cert.rs +++ b/runtime/common/src/weights/pallet_certification_cert.rs @@ -46,6 +46,16 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_certification`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> { + // Storage: Cert StorageIdtyCertMeta (r:2 w:2) + // Storage: Parameters ParametersStorage (r:1 w:0) + // Storage: Cert StorageCertsRemovableOn (r:1 w:1) + // Storage: Cert CertsByReceiver (r:1 w:1) + fn do_add_cert_checked() -> Weight { + // Minimum execution time: 48_363 nanoseconds. + Weight::from_ref_time(59_125_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } // Storage: Identity Identities (r:2 w:0) // Storage: Cert StorageIdtyCertMeta (r:2 w:2) // Storage: Parameters ParametersStorage (r:1 w:0) diff --git a/runtime/common/src/weights/pallet_certification_smith_cert.rs b/runtime/common/src/weights/pallet_certification_smith_cert.rs index e955f89775d325023e6c23d3ce781c7cc46ee874..6f735ab2bc1e8746e9869b468028be48cde89864 100644 --- a/runtime/common/src/weights/pallet_certification_smith_cert.rs +++ b/runtime/common/src/weights/pallet_certification_smith_cert.rs @@ -46,6 +46,16 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_certification`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_certification::WeightInfo for WeightInfo<T> { + // Storage: SmithCert StorageIdtyCertMeta (r:2 w:2) + // Storage: Parameters ParametersStorage (r:1 w:0) + // Storage: SmithCert StorageCertsRemovableOn (r:1 w:1) + // Storage: SmithCert CertsByReceiver (r:1 w:1) + fn do_add_cert_checked() -> Weight { + // Minimum execution time: 57_241 nanoseconds. + Weight::from_ref_time(69_631_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } // Storage: Identity Identities (r:2 w:0) // Storage: SmithCert StorageIdtyCertMeta (r:2 w:2) // Storage: Parameters ParametersStorage (r:1 w:0) diff --git a/runtime/common/src/weights/pallet_membership_membership.rs b/runtime/common/src/weights/pallet_membership_membership.rs index 5dde6a84bccffa5b98cce52e5c46ba506d403b60..ddbc76f57a19b1cc2edc4948e39522101838c418 100644 --- a/runtime/common/src/weights/pallet_membership_membership.rs +++ b/runtime/common/src/weights/pallet_membership_membership.rs @@ -46,6 +46,16 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { + // Storage: Membership PendingMembership (r:1 w:1) + // Storage: Membership Membership (r:1 w:0) + // Storage: Parameters ParametersStorage (r:1 w:0) + // Storage: Membership PendingMembershipsExpireOn (r:1 w:1) + fn force_request_membership() -> Weight { + // Minimum execution time: 42_024 nanoseconds. + Weight::from_ref_time(55_713_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } // Storage: Identity IdentityIndexOf (r:1 w:0) // Storage: Identity Identities (r:1 w:0) fn request_membership() -> Weight { diff --git a/runtime/common/src/weights/pallet_membership_smith_membership.rs b/runtime/common/src/weights/pallet_membership_smith_membership.rs index ead6f004c456af6411831d036b81e011c53aba72..cdc459c197885d84fe14505ef96a0c13d25f72c8 100644 --- a/runtime/common/src/weights/pallet_membership_smith_membership.rs +++ b/runtime/common/src/weights/pallet_membership_smith_membership.rs @@ -46,6 +46,16 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo<T>(PhantomData<T>); impl<T: frame_system::Config> pallet_membership::WeightInfo for WeightInfo<T> { + // Storage: SmithMembership PendingMembership (r:1 w:1) + // Storage: SmithMembership Membership (r:1 w:0) + // Storage: Parameters ParametersStorage (r:1 w:0) + // Storage: SmithMembership PendingMembershipsExpireOn (r:1 w:1) + fn force_request_membership() -> Weight { + // Minimum execution time: 42_163 nanoseconds. + Weight::from_ref_time(49_619_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } // Storage: Identity IdentityIndexOf (r:1 w:0) // Storage: Identity Identities (r:1 w:0) fn request_membership() -> Weight {