-
Notifications
You must be signed in to change notification settings - Fork 307
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
Added GetPendingDeposits #9110
Added GetPendingDeposits #9110
Conversation
Partially addresses ethereum/beacon-APIs#500 Attempting to access this data prior to electra will fail with a 400. Signed-off-by: Paul Harris <[email protected]>
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.
LGTM
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.
LGMT. Just a few NIT comments.
.description( | ||
"Returns pending deposits for state with given 'stateId'. Should return 400 if requested before electra.") | ||
.pathParam(PARAMETER_STATE_ID) | ||
.tags(TAG_BEACON, TAG_EXPERIMENTAL) |
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.
Experimental?
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.
i can remove it but its not currently approved is all
if (!maybeStateAndMetadata | ||
.get() | ||
.getMilestone() | ||
.isGreaterThanOrEqualTo(SpecMilestone.ELECTRA)) { |
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.
NIT: I think we need a isLessThan()
method for our Milestone check... This would read much better as isLessThan(SpecMilestone.ELECTRA)
(and without negating the whole expression).
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.
thats what i looked for first, i guess i could change it
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
Signed-off-by: Paul Harris <[email protected]>
Partially addresses ethereum/beacon-APIs#500
Attempting to access this data prior to electra will fail with a 400.
Documentation
doc-change-required
label to this PR if updates are required.Changelog