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 3404a5b commit 26bb8f6Copy full SHA for 26bb8f6
pallets/subtensor/tests/root.rs
@@ -1052,10 +1052,7 @@ fn test_user_add_network_with_identity_fields_ok() {
1052
assert_eq!(stored_identity_2.subnet_contact, subnet_contact_2);
1053
1054
// Now remove the first network.
1055
- assert_ok!(SubtensorModule::user_remove_network(
1056
- RuntimeOrigin::signed(coldkey_1),
1057
- 1
1058
- ));
+ assert_ok!(SubtensorModule::user_remove_network(coldkey_1, 1));
1059
1060
// Verify that the first network and identity have been removed.
1061
assert!(SubnetIdentities::<Test>::get(1).is_none());
0 commit comments