Skip to content
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

feat(sns): neuron SetFollowing command is validated in composition #4563

Merged
merged 13 commits into from
Apr 1, 2025

Conversation

aterga
Copy link
Member

@aterga aterga commented Mar 27, 2025

This PR implements the rest of the SetFollowing command (which is still disabled). This ensures that the command has an effect only if the resulting following configuration would be valid.

< Previous PR |

@github-actions github-actions bot added the feat label Mar 27, 2025
@aterga aterga changed the base branch from master to arshavir/NNS1-3707 March 27, 2025 16:18
@aterga aterga changed the title feat(sns): neuron SetFollowing command is validated in composition feat(sns): neuron SetFollowing command is validated in composition Mar 27, 2025
github-merge-queue bot pushed a commit that referenced this pull request Mar 28, 2025
…4543)

This PR adds validation for the recently added neuron `SetFollowing`
command (which is still disabled). The validation is based on global
topic following invariants, but does not yet take into potential account
existing topic-based following that a neuron might have; that will be
added in a follow-up PR.

| [Next PR](#4563) >
Base automatically changed from arshavir/NNS1-3707 to master March 28, 2025 11:28
@aterga aterga marked this pull request as ready for review March 31, 2025 20:28
@aterga aterga requested a review from a team as a code owner March 31, 2025 20:28
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this pull request affects the behavior of any canister owned by
the Governance team, remember to update the corresponding
unreleased_changes.md file(s).

To acknowldge this reminder (and unblock the PR), dismiss this
code review by going to the bottom of the pull request page, and
supply one of the following reasons:

  1. Done.

  2. No canister behavior changes.

@aterga aterga dismissed github-actions[bot]’s stale review April 1, 2025 08:54

No canister behavior changes.

@aterga aterga enabled auto-merge April 1, 2025 09:16
@aterga aterga added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@aterga aterga added this pull request to the merge queue Apr 1, 2025
github-merge-queue bot pushed a commit that referenced this pull request Apr 1, 2025
…4563)

This PR implements the rest of the `SetFollowing` command (which is
still disabled). This ensures that the command has an effect only if the
resulting following configuration would be valid.

< [Previous PR](#4543) |
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@aterga aterga added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@aterga aterga enabled auto-merge April 1, 2025 12:50
@aterga aterga added this pull request to the merge queue Apr 1, 2025
Merged via the queue into master with commit f69d744 Apr 1, 2025
21 checks passed
@aterga aterga deleted the arshavir/NNS1-3707-2 branch April 1, 2025 14:45
@aterga aterga requested a review from andrew-lee-work April 2, 2025 11:09
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