Skip to content

Conversation

@daniel-wong-dfinity-org
Copy link
Contributor

@daniel-wong-dfinity-org daniel-wong-dfinity-org commented Jan 9, 2026

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 👉

github-actions[bot]

This comment was marked as resolved.

@daniel-wong-dfinity-org daniel-wong-dfinity-org dismissed github-actions[bot]’s stale review January 9, 2026 13:24
  1. Flag protected.
  2. Same as for standard new proposal types.
  3. Ditto.
  4. Requested.
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.
@daniel-wong-dfinity-org daniel-wong-dfinity-org added this pull request to the merge queue Jan 13, 2026
Merged via the queue into master with commit 7bf82b3 Jan 13, 2026
37 checks passed
@daniel-wong-dfinity-org daniel-wong-dfinity-org deleted the action-based-take-snapshot-daniel-wong branch January 13, 2026 10:09
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants