We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69315b commit 315dedcCopy full SHA for 315dedc
pallets/subtensor/src/tests/subnet.rs
@@ -340,17 +340,15 @@ fn test_subtoken_enable_reject_trading_before_enable() {
340
stake_bal
341
);
342
343
- assert_noop!(
344
- SubtensorModule::remove_stake_limit(
345
- RuntimeOrigin::signed(coldkey_account_id),
346
- hotkey_account_id,
347
- netuid,
348
- amount,
349
- limit_price,
350
- false
351
- ),
352
- Error::<Test>::SubtokenDisabled
353
- );
+ SubtensorModule::remove_stake_limit(
+ RuntimeOrigin::signed(coldkey_account_id),
+ hotkey_account_id,
+ netuid,
+ amount,
+ limit_price,
+ false,
+ )
+ .unwrap();
354
355
assert_noop!(
356
SubtensorModule::remove_stake(
0 commit comments