ChainSafe / ChainSafe/lodestar

Request peer ENR via discv5 PING on eth/v1/node/peers

Open
#3,377 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.