Skip to content

Modify Our Peerstore to accept ENRs as the Primary Node Identity #5290

@nisdas

Description

@nisdas

Currently each peer has their peer id as the primary basis for their node identity in our peer store. With the testnet restart to v0.11.1 coming up we will need to update it to include ENRs as being the primary basis for node identities. Due to discovery now being primarily based on discoveryV5 instead of libp2p's kademlia dht, this change will be required.

Things needed to be added to the peerStatus struct would be the peer's ENR and peer's metadata . Using the metadata sequence number we can validate whether attestation subnets are old/current. This issue is to track the resolution of the above.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions