-
Notifications
You must be signed in to change notification settings - Fork 309
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]>
* 25.2.0 Cleanup (#9109) * update electra fork epoch (#9093) * update electra epoch version Signed-off-by: gconnect <[email protected]> * Remove MAX_REQUEST_BLOB_SIDECARS Signed-off-by: gconnect <[email protected]> * Add MAX_REQUEST_BLOB_SIDECARS Signed-off-by: gconnect <[email protected]> --------- Signed-off-by: gconnect <[email protected]> Co-authored-by: Enrico Del Fante <[email protected]> * Add `SingleAttestation` in pretty print (#9101) * Add SingleAttestation in pretty print * Add SingleAttestation in pretty print * Added GetPendingDeposits (#9110) 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]> * upgrade besu library (#9116) Signed-off-by: Gabriel Fukushima <[email protected]> * added getPendingPartialWithdrawals api for electra (#9113) 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]> * Improve attestation selection (#9114) * improve attestation selection * add test * improvements * no need for entrySet * rename var --------- Co-authored-by: Paul Harris <[email protected]> * fix mev gaslimit warning (#9136) * builder-json-parsing-fix (#9135) * set Accept header in getPayload (#9137) --------- Signed-off-by: gconnect <[email protected]> Signed-off-by: Paul Harris <[email protected]> Signed-off-by: Gabriel Fukushima <[email protected]> Co-authored-by: Lucas Saldanha <[email protected]> Co-authored-by: Glory Agatevure <[email protected]> Co-authored-by: Enrico Del Fante <[email protected]> Co-authored-by: Paul Harris <[email protected]> Co-authored-by: Gabriel Fukushima <[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