mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 13:48:00 +00:00
Companion for Weight v1.5 Follow Up (#5949)
* updates
* remove new
* fix up some stuff
* fix cargo files
* fix
* fix template
* update lockfile for {"substrate"}
* Update block_weights.rs
* remove unused
* remove unused
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -51,7 +51,7 @@ pub mod slots_crowdloan_index_migration {
|
||||
}
|
||||
|
||||
pub fn migrate<T: Config + crowdloan::Config>() -> frame_support::weights::Weight {
|
||||
let mut weight = Weight::new();
|
||||
let mut weight = Weight::zero();
|
||||
|
||||
for (para_id, mut leases) in Leases::<T>::iter() {
|
||||
weight = weight.saturating_add(T::DbWeight::get().reads(2));
|
||||
|
||||
Reference in New Issue
Block a user