-
Notifications
You must be signed in to change notification settings - Fork 372
feat(governance): Added new TakeCanisterSnapshot NNS proposal type. #8283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
daniel-wong-dfinity-org
merged 5 commits into
master
from
action-based-take-snapshot-daniel-wong
Jan 13, 2026
Merged
feat(governance): Added new TakeCanisterSnapshot NNS proposal type. #8283
daniel-wong-dfinity-org
merged 5 commits into
master
from
action-based-take-snapshot-daniel-wong
Jan 13, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
139d543 to
5eb191c
Compare
5eb191c to
1e760c5
Compare
This was referenced Jan 9, 2026
- Flag protected.
- Same as for standard new proposal types.
- Ditto.
- Requested.
jasonz-dfinity
approved these changes
Jan 9, 2026
Conflicts: - rs/nns/governance/src/pb/conversions/mod.rs :: Conflict seems to arrise from the fact that in master, some code was deleted right next to where I added some code. `git diff --cached master` seems to indicate that I preserved my addition while also preserving the deletion in master.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 13, 2026
# Previous Work This supercedes #8251. That one was based on a version of TakeCanisterSnapshot where we added a new NnsFunction. # References Closes [NNS1-4295]. [NNS1-4295]: https://dfinity.atlassian.net/browse/NNS1-4295 [👈 Previous PR][prev] [prev]: #8283
1 task
yhabib
added a commit
to dfinity/icp-js-canisters
that referenced
this pull request
Jan 16, 2026
# Motivation There are two new proposal types `TakeCanisterSnapshot` and `LoadCanisterSnapshot ` introduced [here](dfinity/ic#8317) and [here](dfinity/ic#8283). This PR manually bumps the version of the monorepo for the `nns` package. # Changes 1. Checked out top of IC repo. 2. Ran `scripts/import-candid ../ic`. 3. Ran `scripts/compile-idl-js`. 4. Reverted files outside packages/nns. 5. Updated `Action` types. # Tests - Added unit tests. # Todos - [x] Add entry to changelog (if necessary).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Disabled by flag.
Previous Work
Previously, I tried to do this in PR 8228, but during code review, radical changes were requested; hence this new PR. Concretely, in the previous PR, the new proposal type was implemented as an NnsFunction; whereas, here, it is implemented as a direct Action. The rationale for switching is that the it was requested that the topic of this TakeCanisterSnapshot depend on the target canister, which means that the Governance canister cannot treat the arguments of the proposal as an opaque blob (when determining the proposal's topic).
References
Addresses NNS1-4295.
👈 Previous PR | Next PR 👉