ChainSafe / ChainSafe/lodestar
Error onDiscovered - Cannot read properties of undefined (reading 'includes')
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
### Describe the bug
1062105:May-01 18:37:28.493[network] error: Error onDiscovered - Cannot read properties of undefined (reading 'includes')
### Expected behavior
no issue
### Steps to reproduce
_No response_
### Additional context
_No response_
### Operating system
Linux
### Lodestar version or commit hash
glamsterdam-devnet-2
Contributor guide
Research direction
Start by locating the `onDiscovered` handler in the Lodestar TypeScript code and trace the value that is undefined when `includes` is called. Reproduce the error on the `glamsterdam-devnet-2` commit or inspect the network discovery path on Linux. Done means the error no longer occurs and discovery continues with the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100