mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-18 01:15:44 +00:00
Fix pallet bags list and doc (#10231)
* fix bags list * improve doc * doc * inner doc * fix test * Update docs in frame/election-provider-support/src/lib.rs * fix staking impl * prepend unsafe to clear and regenerate * fix test Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
798e01bf9b
commit
9756615d5b
@@ -35,7 +35,8 @@ frame_benchmarking::benchmarks! {
|
||||
// node in the destination in addition to the work we do otherwise. (2 W/R)
|
||||
|
||||
// clear any pre-existing storage.
|
||||
List::<T>::clear(None);
|
||||
// NOTE: safe to call outside block production
|
||||
List::<T>::unsafe_clear();
|
||||
|
||||
// define our origin and destination thresholds.
|
||||
let origin_bag_thresh = T::BagThresholds::get()[0];
|
||||
@@ -94,7 +95,8 @@ frame_benchmarking::benchmarks! {
|
||||
// node in the destination in addition to the work we do otherwise. (2 W/R)
|
||||
|
||||
// clear any pre-existing storage.
|
||||
List::<T>::clear(None);
|
||||
// NOTE: safe to call outside block production
|
||||
List::<T>::unsafe_clear();
|
||||
|
||||
// define our origin and destination thresholds.
|
||||
let origin_bag_thresh = T::BagThresholds::get()[0];
|
||||
|
||||
Reference in New Issue
Block a user