ChainSafe / ChainSafe/lodestar

Builder pubkey to index cache

Open
#9,513 0 comments 0 reactions 0 assignees View on GitHub
spec-gloas
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 18h
Merged PRs (30d)
156

Description

We should revisit whether or not we need a pubkey<>index cache for builders. This highly depends on the amount of builders we will have. The tricky part here is that a new builder can created at any time within an epoch (although they are only active after finalization) and indices can be reused, which means the cache can become stale and is not append only like it is the case for validators.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First locate the builder public-key-to-index lookup and compare it with the validator cache, then trace builder creation, finalization, and index reuse within an epoch. Done means establishing whether a cache is needed and documenting an approach that cannot become stale.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.