Skip to content

Expose underlying implementation #1567

@wemeetagain

Description

@wemeetagain

In Lodestar, we're forced to do make some little wrapper functions to get the types of the default implementations. (And we're just lucky that the types are exported, despite your intention 😂) These default implementations are often necessary to fine-tune or inspect data not available in the generic interface types.

Maybe there's a better way to do this?

See:
https://github.com/ChainSafe/lodestar/blob/unstable/packages/beacon-node/src/network/util.ts#L71-L90

Metadata

Metadata

Assignees

Labels

need/triageNeeds initial labeling and prioritization

Type

No type

Projects

Status

🎉Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions