Skip to content

Conversation

@tbenr
Copy link
Contributor

@tbenr tbenr commented Feb 12, 2025

Make sure we select the best aggregations for a given slot.
In Electra we could easily end up discarding big aggregations if we don't apply any sorting.

I also fixed getAttestationsForBlock_shouldNotAddMoreAttestationsThanAllowedInBlock which was broken from very long time ago

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.

Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

@tbenr tbenr merged commit 193da1c into master Feb 18, 2025
18 checks passed
@tbenr tbenr deleted the improve-attestation-ordering-in-aggregating-pool branch February 18, 2025 08:25
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