lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

Review electra type safety

Open wemeetagain opened this issue 1 year ago • 1 comments

There are some patterns that lead to degraded type-safety. We should review our codebase, especially things added in electra, for these types of patterns and refactor if possible.

Ideally we can more clearly articulate our findings here into something that can be added to the contributing doc or elsewhere.

is there a way to make this more typesafe?

I'll make an issue for later, but there are some patterns in our code that lead to this kind of bug (that we should clean up later).

Originally posted by @wemeetagain in https://github.com/ChainSafe/lodestar/pull/6788#discussion_r1603812066

wemeetagain avatar May 16 '24 18:05 wemeetagain

Is this in any way related to #6775 ?

philknows avatar May 17 '24 15:05 philknows