Alliance: remove veto weight func (#2030)

* Alliance: remove veto weight func

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Muharem Ismailov
2022-12-22 21:49:52 +01:00
committed by GitHub
parent bb26a826e1
commit 4133633252
2 changed files with 253 additions and 266 deletions
Generated
+253 -253
View File
File diff suppressed because it is too large Load Diff
@@ -78,19 +78,6 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Alliance Members (r:1 w:0)
// Storage: AllianceMotion ProposalOf (r:1 w:1)
// Storage: AllianceMotion Proposals (r:1 w:1)
// Storage: AllianceMotion Voting (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn veto(p: u32, ) -> Weight {
// Minimum execution time: 23_000 nanoseconds.
Weight::from_ref_time(26_045_752 as u64)
// Standard Error: 2_154
.saturating_add(Weight::from_ref_time(61_220 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: Alliance Members (r:1 w:0)
// Storage: AllianceMotion Voting (r:1 w:1)
// Storage: AllianceMotion Members (r:1 w:0)
// Storage: AllianceMotion Proposals (r:1 w:1)