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

Node/Watcher: Allow retry of EVM get time of block #2527

Closed

Conversation

bruce-riley
Copy link
Contributor

On Moonbeam the TimeOfBlockByHash() call is occasionally failing. We believe this is due to a race condition where Moonbeam is publishing log messages before the block is available for querying (possibly before the block is finalized). We are working with the Moonbeam team to see if they can identify and fix the issue on their side. In the meantime, this PR attempts to retry the request a second time, in hope of preventing the Moonbeam watcher runnable from dying.

@bruce-riley bruce-riley requested a review from panoel March 16, 2023 21:12
@kev1n-peters
Copy link
Contributor

This should eventually be fixed upstream in the moonbeam node: moonbeam-foundation/moonbeam#2168

@evan-gray
Copy link
Contributor

I hear this fix will be in the next runtime (late July)

@bruce-riley bruce-riley force-pushed the node/watcher_allow_retry_of_evm_get_time_of_block branch from 85b3ea2 to 45c29fb Compare August 24, 2023 22:48
@bruce-riley
Copy link
Contributor Author

Moonbeam addressed this problem on their end, so this PR is no longer necessary.

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.

4 participants