-
Notifications
You must be signed in to change notification settings - Fork 162
fix: claimed in staking info endpoint #1445
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
c65010a
fix: claimed in staking info endpoint
Imod7 50943e1
fix existing tests
Imod7 82457aa
add test for kusama (includes era 6508)
Imod7 9012e24
updated docs
Imod7 f320c08
implement new logic & update test responses
Imod7 2aa5996
add test for partially claimed & overview = null
Imod7 de06c6b
updated docs
Imod7 8c47eda
output up until 84 eras & update tests
Imod7 56e3738
merge master, update historical tests & code for lastReward
Imod7 9e838e8
Remove yarn.lock files from PR
Imod7 753f3ee
check before unwrapping & fix types
Imod7 7ac0236
run linter
Imod7 171e10a
docs: added links & updated schema description
Imod7 88be07e
updated logic of claimed field for validator account
Imod7 cd66735
fix for claimed in case of validator account
Imod7 00a54a0
moved validator logic in separate function
Imod7 df175e8
adding first draft of nominator logic
Imod7 0829f44
nominator logic when validator era partially claimed
Imod7 22ad9f7
added test for nominator
Imod7 b04c28f
Merged master, resolve conflicts & rebuilt docs
Imod7 4a2cba0
run linter
Imod7 343f2cb
abstracting logic into separate functions
Imod7 af6f130
add implementation_details guide
Imod7 f0c3e3f
remove docs dist
Imod7 18e840a
kept historical tests data but changed format
Imod7 c7b7256
docs small update
Imod7 9bc1c08
Updated eras section & code comments
Imod7 9278ed9
updated cases section in implementation guide
Imod7 31a5fff
implemented optimization changes from Filippo
Imod7 3b4ffd4
optimized era and depth calculation
Imod7 b69bebf
updated claimedRewards & removed redundant check
Imod7 af9a896
updated eras function
Imod7 1d8c110
updated implementation guide based on Filippos questions
Imod7 a6d643b
updated the docs
Imod7 c9cf371
add code_flow image in guide
Imod7 c218362
merge master & resolve conflicts
Imod7 029420c
updated copyright
Imod7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Where/how can the user find the relevant linked info?
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.
Added specific links of the PR and linked issue. Let me know if this covers your question. I also updated the schema description since I no longer return
lastReward. Changes included in this commit.