Extend the lower bounds of some of the benchmarks to also include 0 (#12386)

* Extend the lower bounds of some of the benchmarks to also include `0`

* Fix verify snippet for `pallet_bounties/spend_funds`
This commit is contained in:
Koute authored and GitHub committed 2022-10-07 14:16:41 +00:00
1 parent fc3f9268f6
commit eee79a1fa4
11 files changed
+109 -90

No files matched your search

+4 -4
View File
@@ -832,8 +832,8 @@ benchmarks_instance_pallet! {
}
add_unscrupulous_items {
let n in 1 .. T::MaxUnscrupulousItems::get();
let l in 1 .. T::MaxWebsiteUrlLength::get();
let n in 0 .. T::MaxUnscrupulousItems::get();
let l in 0 .. T::MaxWebsiteUrlLength::get();
set_members::<T, I>();
@@ -856,8 +856,8 @@ benchmarks_instance_pallet! {
}
remove_unscrupulous_items {
let n in 1 .. T::MaxUnscrupulousItems::get();
let l in 1 .. T::MaxWebsiteUrlLength::get();
let n in 0 .. T::MaxUnscrupulousItems::get();
let l in 0 .. T::MaxWebsiteUrlLength::get();
set_members::<T, I>();