ChainSafe / ChainSafe/lodestar

`/eth/v1/node/peers` returns null ENR for all peers

Open
#9,045 3 comments 0 reactions 0 assignees View on GitHub
meta-bug
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Describe the bug

Hey team, I seem to be getting `"enr": null` for all peers when calling this endpoint. I tried on multiple instances (v1.40+) across different networks with the same result. (Also tried on one `v1.41.0-rc.0` node)

The `peer_id` and `last_seen_p2p_address` do have values, it's just the ENR that seems not to be getting filled properly.

### Expected behavior

The `enr` field value is filled with the peer's ENR for every peer.

### Steps to reproduce

`curl http://lodestar/eth/v1/node/peers`

### Additional context

_No response_

### Operating system

Linux

### Lodestar version or commit hash

v1.40.0

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.