diff --git a/substrate/frame/conviction-voting/src/benchmarking.rs b/substrate/frame/conviction-voting/src/benchmarking.rs index 0997154763d9..292367120693 100644 --- a/substrate/frame/conviction-voting/src/benchmarking.rs +++ b/substrate/frame/conviction-voting/src/benchmarking.rs @@ -55,6 +55,8 @@ fn fill_voting, I: 'static>( fn funded_account, I: 'static>(name: &'static str, index: u32) -> T::AccountId { let caller: T::AccountId = account(name, index, SEED); T::Currency::set_balance(&caller, 100_000_000u32.into()); + // remove all freezes from previous benchmarks so we never run out of available funds + T::Currency::thaw(&FreezeReason::ConvictionVoting.into(), &caller); caller }