-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New voting power related fields in NeuronInfo (#794)
# Motivation After introducing new neuron properties (`deciding_voting_power` and `potential_voting_power`), the original `voting_power` field has become [obsolete](https://github.com/dfinity/ic/blob/586c57afa7af796185c76c8ff26bc37e813957c2/rs/nns/governance/canister/governance.did#L744-L751). With this PR, we add three new fields to the NeuronInfo: `decidingVotingPower`, `potentialVotingPower`, and a small drive-by addition `votingPowerRefreshedTimestampSeconds`; and mark the original votingPower field as deprecated. # Changes - Added 3 new fields. - Mark `votingPower` as deprecated. # Tests - Pass. - Tested manually by utilizing new fields in the NNS Dapp. # Todos - [ ] Add entry to changelog (if necessary). Not necessary. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
98c893a
commit d810d76
Showing
3 changed files
with
133 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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