Skip to content

Conversation

@igor-sirotin
Copy link
Collaborator

Description

watchTopicShards is now guarded with a flag. I've found that it was called more than once.
Note that setupENR is called once at startup, and then each time multiaddrs change. That makes it least twice.

err := w.setupENR(ctx, addrs)
err = w.setupENR(ctx, w.ListenAddresses())

@igor-sirotin igor-sirotin force-pushed the fix/duplicated-call-watch-rs branch from 37f322e to 4be813d Compare December 8, 2025 21:24
@igor-sirotin igor-sirotin marked this pull request as ready for review December 8, 2025 21:26
Copy link
Collaborator

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@igor-sirotin igor-sirotin merged commit 4b28d08 into master Dec 9, 2025
10 checks passed
@igor-sirotin igor-sirotin deleted the fix/duplicated-call-watch-rs branch December 9, 2025 10:50
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.

3 participants