ChainSafe / ChainSafe/lodestar
Ensure light-client can be bundled nodejs crypto free
Open
scope-light-clients
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 156
Description
`light-client` [bundle](https://github.com/ChainSafe/lodestar/pull/6673) strips `node:crypto`, assuming it's not used at runtime.
A saner approach would be to ensure it's not bundled indirectly via dependencies.
Contributor guide
Research direction
Start by reviewing the light-client bundle and pull request #6673 to understand how node:crypto is currently stripped. Trace the bundle's dependencies to find indirect inclusion of node:crypto, then verify that the resulting light-client bundle remains free of it and still works at runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100