-
Notifications
You must be signed in to change notification settings - Fork 363
refactor(nns): Delete ManageNeuronResponse from governance.proto. #3573
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
refactor(nns): Delete ManageNeuronResponse from governance.proto. #3573
Conversation
…le to delete ManageNeuron though, because it is used by ProposalData, which is DEFINITELY stored in stable memory.
66a5042
to
4af389d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diff reading guide.
(Remarks from the previous PR's reading guide also apply here.)
There was a problem hiding this 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:
-
Done.
-
No canister behavior changes.
This is a refactor; hence, no canister behavior changes.
Recently, we deleted a bunch of request and response types from NNS governance.proto. Although the types themselves are not necessary, the comments contained valuable information, which could (and should) have been copied to governance.did. This PR corrects that oversight. # References Types deleted in recent PRs: * [ListNeurons] * [ManageNeuronResponse] * [NeuronInfo] [ListNeurons]: #3546 [ManageNeuronResponse]: #3573 [NeuronInfo]: #3639
The idea here is very much the same as the previous PR in this thread/series. Therefore, please see the description of the aforementioned PR for an overview, and details.
One difference here is that we only deleted the response type, not the request type. In this case, deleting the request type is not possible, because it is used (indirectly) by
Governance
(viaProposal
). This is an unusual situation; most request types do not have this property.