Skip to content

Commit cf4a082

Browse files
mraszykclaude
andcommitted
docs(nns): Note that system subnets cannot be deleted in DeleteSubnet description
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 177986d commit cf4a082

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

rs/nns/governance/api/src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4285,6 +4285,7 @@ pub enum NnsFunction {
42854285
/// Delete a subnet. The subnet record, catch-up package, threshold signing key
42864286
/// and routing table entries are removed from the registry, the subnet is
42874287
/// removed from the subnet list, and the subnet's nodes become unassigned.
4288+
/// System subnets (e.g. the NNS or II subnet) cannot be deleted.
42884289
DeleteSubnet = 57,
42894290
/// Set or unset the default subnet to which `SetupInitialDKG` management
42904291
/// canister calls are routed when no subnet is specified explicitly. If unset,

rs/nns/governance/proto/ic_nns_governance/pb/v1/governance.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ enum NnsFunction {
503503
// Delete a subnet. The subnet record, catch-up package, threshold signing key
504504
// and routing table entries are removed from the registry, the subnet is
505505
// removed from the subnet list, and the subnet's nodes become unassigned.
506+
// System subnets (e.g. the NNS or II subnet) cannot be deleted.
506507
NNS_FUNCTION_DELETE_SUBNET = 57;
507508

508509
// Set or unset the default subnet to which `SetupInitialDKG` management

rs/nns/governance/src/gen/ic_nns_governance.pb.v1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5279,6 +5279,7 @@ pub enum NnsFunction {
52795279
/// Delete a subnet. The subnet record, catch-up package, threshold signing key
52805280
/// and routing table entries are removed from the registry, the subnet is
52815281
/// removed from the subnet list, and the subnet's nodes become unassigned.
5282+
/// System subnets (e.g. the NNS or II subnet) cannot be deleted.
52825283
DeleteSubnet = 57,
52835284
/// Set or unset the default subnet to which `SetupInitialDKG` management
52845285
/// canister calls are routed when no subnet is specified explicitly. If unset,

rs/nns/governance/src/proposals/execute_nns_function.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,8 @@ impl ValidNnsFunction {
936936
ValidNnsFunction::DeleteSubnet => {
937937
"Delete a subnet. The subnet record, catch-up package, threshold signing key \
938938
and routing table entries are removed from the registry, the subnet is \
939-
removed from the subnet list, and the subnet's nodes become unassigned."
939+
removed from the subnet list, and the subnet's nodes become unassigned. \
940+
System subnets (e.g. the NNS or II subnet) cannot be deleted."
940941
}
941942
ValidNnsFunction::SetDefaultInitialDkgSubnet => {
942943
"Set or unset the default subnet to which `SetupInitialDKG` management canister \

0 commit comments

Comments
 (0)