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.
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
Deferred staking rewards #1035
Deferred staking rewards #1035
Changes from 13 commits
c001582
d13ccae
a08dcc0
9326624
3e35591
ece7493
df66a83
262d5d1
33cb18e
e7d92b5
10f737e
0a5f14b
8a3ab3f
ef49b28
0683f73
c48c18c
446a872
adaff3b
22e1eb2
373bf40
278296e
52e7b65
18b8282
109ddd4
aa63916
6977b3c
cb2ddd1
80b49bd
324d895
94c3643
436beb9
47dbc03
009ade0
d2744fd
51042d6
85a0299
81aba52
0a33c5e
eb70b9a
cfc3d81
a546d8e
8c04a7e
9f9d52d
4bf4efb
d575a93
a64c25d
b1e404b
61f90fe
9770b22
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
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.
The most recent code includes some comments about this, but feel free to add more clarity
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.
Any reason not to switch to
OptionQuery
?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.
It would require a migration
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.
No it doesn't require any migration because it doesn't change the way the data is stored, just the way it is read.
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.
It might be worth refactoring these storage items to be
OptionQuery
but that is definitely out of scope here. I think that would improve some readability (like here).