mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 13:48:00 +00:00
Add more asserts and debug_asserts (#8541)
* Add more asserts and debug_asserts fixing #8106 * Remove assignments * convert debug_assert to runtime assert
This commit is contained in:
committed by
GitHub
parent
a600e278ed
commit
e932c3ecd2
@@ -437,7 +437,8 @@ fn no_candidate_emergency_condition() {
|
||||
<Staking as crate::Store>::MinimumValidatorCount::put(10);
|
||||
|
||||
// try to chill
|
||||
let _ = Staking::chill(Origin::signed(10));
|
||||
let res = Staking::chill(Origin::signed(10));
|
||||
assert_ok!(res);
|
||||
|
||||
// trigger era
|
||||
mock::start_active_era(1);
|
||||
|
||||
Reference in New Issue
Block a user