-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NNS1-3134: Add maturity fields to TableNeuron (#5081)
# Motivation We want to show maturity in the neurons table. In this PR we just add fields to the `TableNeuron` type and don't display anything yet. # Changes 1. Add `availableMaturity` and `stakedMaturity` fields to the `TableNeuron` type. 2. Populate the fields in `tableNeuronsFromNeuronInfos` and `tableNeuronsFromSnsNeurons`. # Tests 1. Unit tests added. 2. Mock updated. 3. Fixed a few cases where we weren't using the default test values but we hadn't noticed yet because the value we used didn't differ in relevant way (but now it does). # Todos - [ ] Add entry to changelog (if necessary). not yet
- Loading branch information
Showing
4 changed files
with
71 additions
and
6 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
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