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

HOTFIX: Auto reconnect for websocket connections #169

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

Lohann
Copy link
Collaborator

@Lohann Lohann commented Aug 28, 2023

Description

The ethereum provider doesn't attempt to reconnect after disconnect, this PR adds a basic thread-safe reconnect logic.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Code review prechecks:

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Inline comments have been added for each method
  • I have made corresponding changes to the documentation
  • Code changes introduces no new problems or warnings
  • Test cases have been added
  • Dependent changes have been merged and published in downstream modules

@Lohann Lohann marked this pull request as ready for review August 28, 2023 13:40
@Lohann
Copy link
Collaborator Author

Lohann commented Aug 28, 2023

Hmm, it fails to compile the tests in our self hosted instance, will investigate this later, at least locally it compiles fine.

Copy link
Contributor

@dvc94ch dvc94ch left a comment

Choose a reason for hiding this comment

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

about the ci sometimes not working, could be that we don't use the right self hosted runner, we have multiple now. Either that or the rust versions don't match. cc @penumbra23

@Lohann Lohann merged commit d3a5d0d into master Aug 28, 2023
@dvc94ch dvc94ch deleted the hotfix/impl-auto-ws-reconnect branch September 7, 2023 20:34
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.

2 participants