ChainSafe / ChainSafe/lodestar
Builder pubkey to index cache
- 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
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