Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing unnecessary reconnections to el #14567

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Oct 22, 2024

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

We shouldn't be trying to reconnect to the execution client when there isn't a call via RPC to the execution client. Instead we should just continue and retry without reconnections.

Which issues(s) does this PR fix?

Fixes ( in part) #14226

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@james-prysm james-prysm requested a review from a team as a code owner October 22, 2024 20:14
@james-prysm james-prysm marked this pull request as draft October 22, 2024 20:14
@james-prysm james-prysm marked this pull request as ready for review October 22, 2024 20:26
@james-prysm
Copy link
Contributor Author

cacheHeadersForEth1DataVote --> followedBlockHeight --> BlockByTimestamp --> retrieveHeaderInfo --> HeaderByNumber --> s.rpcClient.CallContext was missed in this, instead i should be adding some kind of error wrapper and checking if the error requires a reconnection

@james-prysm james-prysm marked this pull request as draft October 23, 2024 14:38
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.

1 participant