File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -481,11 +481,11 @@ fn test_set_weights_min_stake_failed() {
481
481
482
482
// Check the signed extension function.
483
483
assert_eq ! ( SubtensorModule :: get_weights_min_stake( ) , 20_000_000_000_000 ) ;
484
- assert ! ( !SubtensorModule :: check_weights_min_stake( & hotkey) ) ;
484
+ assert ! ( !SubtensorModule :: check_weights_min_stake( & hotkey, netuid ) ) ;
485
485
SubtensorModule :: increase_stake_on_hotkey_account ( & hotkey, 19_000_000_000_000 ) ;
486
- assert ! ( !SubtensorModule :: check_weights_min_stake( & hotkey) ) ;
486
+ assert ! ( !SubtensorModule :: check_weights_min_stake( & hotkey, netuid ) ) ;
487
487
SubtensorModule :: increase_stake_on_hotkey_account ( & hotkey, 20_000_000_000_000 ) ;
488
- assert ! ( SubtensorModule :: check_weights_min_stake( & hotkey) ) ;
488
+ assert ! ( SubtensorModule :: check_weights_min_stake( & hotkey, netuid ) ) ;
489
489
490
490
// Check that it fails at the pallet level.
491
491
SubtensorModule :: set_weights_min_stake ( 100_000_000_000_000 ) ;
You can’t perform that action at this time.
0 commit comments