Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Companion to Substrate #9829 (Add put_in_front_of extrinsic to bags-list) #3899

Merged
merged 9 commits into from
Dec 8, 2021
3 changes: 3 additions & 0 deletions runtime/kusama/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
fn put_in_front_of() -> Weight {
0
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so I guess we will upgrade in a follow up or before runtime upgrade, but we should be careful that we actually upgrade it.
Because it happens that system isn't updated by our release process (https://github.com/paritytech/polkadot/issues/4290) , so we should keep a careful eye on it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup planning on doing a follow up immediatley after this was merged

}
4 changes: 4 additions & 0 deletions runtime/polkadot/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}

fn put_in_front_of() -> Weight {
0
}
}
3 changes: 3 additions & 0 deletions runtime/westend/src/weights/pallet_bags_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
fn put_in_front_of() -> Weight {
0
}
}