Skip to content
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

Merged
merged 7 commits into from
Feb 12, 2025
Merged

Added GetPendingDeposits #9110

merged 7 commits into from
Feb 12, 2025

Conversation

rolfyone
Copy link
Contributor

Partially addresses ethereum/beacon-APIs#500

Attempting to access this data prior to electra will fail with a 400.

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

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]>
Copy link
Contributor

@gfukushima gfukushima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lucassaldanha lucassaldanha left a 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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Experimental?

Copy link
Contributor Author

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)) {
Copy link
Member

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).

Copy link
Contributor Author

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

@rolfyone rolfyone merged commit bb1c53c into Consensys:master Feb 12, 2025
16 checks passed
@rolfyone rolfyone deleted the state-apis branch February 12, 2025 21:21
mehdi-aouadi added a commit that referenced this pull request Feb 18, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants