Consensys / teku

Open-source Ethereum consensus client written in Java
https://consensys.io/teku
Apache License 2.0
679 stars 284 forks source link

Change the builderResultCache of ExecutionLayerBlockProductionManagerImpl #8766

Closed david-ry4n closed 4 weeks ago

david-ry4n commented 4 weeks ago

PR Description

Change the builderResultCache of ExecutionLayerBlockProductionManagerImpl keys from slot to SlotAndBlockRoot. This allows the cache to return proposals based on slot and block root, which is required if there's multiple operators requesting different beacon block proposals. Using slotAndBlockRoot to allow the onSlot function to continue to clear key/value pairs from prior slots.

fixes #8625

Fixed Issue(s)

Documentation

Changelog