mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
bench assert update (#12866)
This commit is contained in:
@@ -274,7 +274,8 @@ benchmarks_instance_pallet! {
|
||||
verify {
|
||||
assert_matches!(ReferendumInfoFor::<T, I>::get(index), Some(ReferendumInfo::Cancelled(_, None, _)));
|
||||
let new_balance = T::Currency::free_balance(&caller);
|
||||
assert!(new_balance > balance);
|
||||
// the deposit is zero or make sure it was unreserved.
|
||||
assert!(T::SubmissionDeposit::get().is_zero() || new_balance > balance);
|
||||
}
|
||||
|
||||
cancel {
|
||||
|
||||
Reference in New Issue
Block a user