mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 13:17:56 +00:00
Better testing for lock types in staking/democracy. (#3565)
* Better testing for lock types in staking/democracy. * Update docs. * Update srml/executive/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update srml/executive/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix test
This commit is contained in:
@@ -1562,7 +1562,7 @@ fn bond_with_no_staked_value() {
|
||||
.nominate(false)
|
||||
.minimum_validator_count(1)
|
||||
.build(), || {
|
||||
// Can't bond with 1
|
||||
// Can't bond with 1
|
||||
assert_noop!(
|
||||
Staking::bond(Origin::signed(1), 2, 1, RewardDestination::Controller),
|
||||
"can not bond with value less than minimum balance"
|
||||
|
||||
Reference in New Issue
Block a user