Skip to content

Commit

Permalink
Add new proposal types to the NnsFunction enum (#612)
Browse files Browse the repository at this point in the history
# Motivation

Add new proposal types to the `NnsFunction` enum:
- `DeployGuestosToSomeApiBoundaryNodes`
- `DeployGuestosToAllUnassignedNodes`
- `UpdateSshReadOnlyAccessForAllUnassignedNodes`
- `ReviseElectedHostosVersions`
- `DeployHostosToSomeNodes`

# Changes

- Update `NnsFunction` enum

# Tests

Pass.

# Todos

- [ ] Add entry to changelog (if necessary).
Not yet
  • Loading branch information
mstrasinskis authored Apr 26, 2024
1 parent c329df1 commit 77cd63b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/nns/src/enums/governance.enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ export enum NnsFunction {
AddApiBoundaryNode = 43,
RemoveApiBoundaryNodes = 44,
UpdateApiBoundaryNodesVersion = 46,
DeployGuestosToSomeApiBoundaryNodes = 47,
DeployGuestosToAllUnassignedNodes = 48,
UpdateSshReadOnlyAccessForAllUnassignedNodes = 49,
ReviseElectedHostosVersions = 50,
DeployHostosToSomeNodes = 51,
}

// Reference: https://github.com/dfinity/ic/blob/f4b2e28525ae9b030bd9edfc982e796417db2b80/rs/nns/governance/src/gen/ic_nns_governance.pb.v1.rs#L3286-L3287
Expand Down

0 comments on commit 77cd63b

Please sign in to comment.