Just cleanup, but might wanna discuss how it could be possible to support ssz response for getNetworkIdentity. I know one blocker was moving the ENR functions into it's on package but I still see issues, as there is no JSON mapping for enr, peerid, etc.
Motivation
Pulled out of https://github.com/ChainSafe/lodestar/pull/6749 to discuss changes separately and for easier review.
Description
Just cleanup, but might wanna discuss how it could be possible to support ssz response for
getNetworkIdentity
. I know one blocker was moving the ENR functions into it's on package but I still see issues, as there is no JSON mapping for enr, peerid, etc.