mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 07:29:49 +00:00
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:
1 parent
fc3f9268f6
commit
eee79a1fa4
11 files changed
+109
-90
No files matched your search
@@ -97,7 +97,7 @@ benchmarks! {
|
||||
|
||||
pursue_target_per_item {
|
||||
// bids taken
|
||||
let b in 1..T::MaxQueueLen::get();
|
||||
let b in 0..T::MaxQueueLen::get();
|
||||
|
||||
let caller: T::AccountId = whitelisted_caller();
|
||||
T::Currency::make_free_balance_be(&caller, T::MinFreeze::get() * BalanceOf::<T>::from(b + 1));
|
||||
@@ -113,7 +113,7 @@ benchmarks! {
|
||||
|
||||
pursue_target_per_queue {
|
||||
// total queues hit
|
||||
let q in 1..T::QueueCount::get();
|
||||
let q in 0..T::QueueCount::get();
|
||||
|
||||
let caller: T::AccountId = whitelisted_caller();
|
||||
T::Currency::make_free_balance_be(&caller, T::MinFreeze::get() * BalanceOf::<T>::from(q + 1));
|
||||
|
||||
Reference in new issue
Block a user