Repository navigation
refactor(nervous_system): Remove most usages of hotkey_principal - #870
Merged
Merged
Conversation
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
from
August 9, 2024 23:51
50a06bf to
c8e63e9
Compare
aterga
reviewed
Aug 12, 2024
aterga
reviewed
Aug 12, 2024
aterga
reviewed
Aug 12, 2024
aterga
reviewed
Aug 12, 2024
aterga
reviewed
Aug 12, 2024
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
8 times, most recently
from
August 16, 2024 21:46
2ca212c to
1dea3b8
Compare
max-dfinity
self-requested a review
August 19, 2024 16:04
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
from
August 19, 2024 17:29
1dea3b8 to
2994179
Compare
marko-k0
approved these changes
Aug 19, 2024
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
from
August 19, 2024 18:36
2994179 to
a254df2
Compare
mbjorkqvist
approved these changes
Aug 19, 2024
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
2 times, most recently
from
August 22, 2024 03:16
fc1f590 to
fe7159a
Compare
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
3 times, most recently
from
August 27, 2024 18:41
060890e to
2060ba7
Compare
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Aug 27, 2024
## Problem We deprecated the `NeuronParameters` struct and the field it was used in, but still have code in SNS governance for handling that field. It can safely be removed now that swap is upgraded. ## Solution Remove support for it in SNS Governance [Previous PR](#870)
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
7 times, most recently
from
September 3, 2024 08:06
aafec1f to
3b9849f
Compare
aterga
changed the base branch from
master
to
@anchpop/remove-migration-code
September 3, 2024 08:38
aterga
approved these changes
Sep 3, 2024
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Sep 3, 2024
In #1208, we added a migration to improve the naming of fields in NeuronsFundNeuronPortion, and in #1171 we added a test of that migration. They are no longer necessary, so this PR removes them [Next PR →](#870) Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
7 times, most recently
from
September 3, 2024 15:41
ffa08c3 to
bf142cd
Compare
anchpop
force-pushed
the
@anchpop/NNS1-3251
branch
from
September 4, 2024 17:05
bf142cd to
c996c29
Compare
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
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.
Problem
We deprecated all fields named hotkey_principal, but still set them (even in cases where the field is optional)
Solution
Remove it when possible. However It is difficult to remove occurrences of
hotkey_principalfields with typeString(rather than `Option). For these cases, we don’t need to fully remove the field, let’s just set it to String::new() at all sites where it is set, and make sure we don’t use that value anywhere.← Previous PR