ChainSafe / ChainSafe/lodestar
Request peer ENR via discv5 PING on eth/v1/node/peers
Open
meta-investigate
prio-low
scope-networking
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
**Describe the bug**
enr field is empty when I issue this curl
```
curl http://127.0.0.1:4000/eth/v1/node/peers/16Uiu2HAmSFKTBw2ydr3efM5QNZRBA9LYxpCBJw8SFWtA61rAmEzp
{"data":{"peer_id":"16Uiu2HAmSFKTBw2ydr3efM5QNZRBA9LYxpCBJw8SFWtA61rAmEzp","enr":"","last_seen_p2p_address":"/ip4/137.184.110.216/tcp/38254","direction":"inbound","state":"connected"}}
```
**Expected behavior**
enr should have some value inside like in the api spec https://ethereum.github.io/beacon-APIs/#/Node/getPeer
Contributor guide
Assessment
This issue has not been assessed yet.