Skip to content

Conversation

@lakshya-sky
Copy link
Contributor

@lakshya-sky lakshya-sky commented Dec 4, 2025

Motivation

Description

  • Discovery server creates its own copy of NodeRecord while it should be using the one created by init_l1, so share a single record via lock(most operations will be read only so RwLock seems appropriate).
  • broadcast new heads and add update method for node record.
  • update enr in disc server via subscribing to new head updates.

Closes #5493

@lakshya-sky lakshya-sky changed the title debug updating forkid in disc server feat(l1): periodically update forkid Dec 4, 2025
@lakshya-sky lakshya-sky force-pushed the periodically-update-enr-fork-id branch from 7ccd857 to 7094472 Compare December 4, 2025 15:27
@lakshya-sky lakshya-sky closed this Dec 4, 2025
@lakshya-sky lakshya-sky force-pushed the periodically-update-enr-fork-id branch from 7094472 to 610df53 Compare December 4, 2025 15:28
@lakshya-sky lakshya-sky reopened this Dec 4, 2025
@lakshya-sky lakshya-sky changed the title feat(l1): periodically update forkid feat(l1, l2): periodically update forkid Dec 4, 2025
@lakshya-sky lakshya-sky changed the title feat(l1, l2): periodically update forkid feat(l1, l2): periodically update enr with forkid Dec 4, 2025
@lakshya-sky lakshya-sky changed the title feat(l1, l2): periodically update enr with forkid feat(l1): periodically update enr with forkid Dec 4, 2025
@lakshya-sky lakshya-sky marked this pull request as ready for review December 4, 2025 22:31
@lakshya-sky lakshya-sky closed this Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Periodically update local ENR

1 participant