Companion for #8920 (Control Staking) (#3260)

* update weight apis

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabriziandparity-processbot authored and GitHub committed 2021-06-16 09:17:26 +02:00
1 parent 7d82d93f34
commit 2fbd705ed5
4 files changed
+182 -155

No files matched your search

+155 -155
View File
File diff suppressed because it is too large. Load diff
@@ -219,4 +219,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
}
fn update_staking_limits() -> Weight {
(6_398_000 as Weight)
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn chill_other() -> Weight {
(44_694_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
}
@@ -219,4 +219,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
}
fn update_staking_limits() -> Weight {
(6_398_000 as Weight)
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn chill_other() -> Weight {
(44_694_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
}
@@ -219,4 +219,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
}
fn update_staking_limits() -> Weight {
(6_398_000 as Weight)
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn chill_other() -> Weight {
(44_694_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
}