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 51160f3 commit d967644Copy full SHA for d967644
pallets/subtensor/tests/senate.rs
@@ -486,7 +486,10 @@ fn test_senate_leave_vote_removal() {
486
assert!(
487
SubtensorModule::get_uid_for_net_and_hotkey(root_netuid, &hotkey_account_id).is_err()
488
);
489
+ // No longer a member of the senate
490
+ assert!(!Senate::is_member(&hotkey_account_id));
491
assert_eq!(
492
+ // Vote is removed
493
Triumvirate::has_voted(hash, 0, &hotkey_account_id),
494
Ok(false)
495
0 commit comments