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

Pass health checks if any block is produced #1631

Open
wants to merge 1 commit into from

Conversation

JamesHinshelwood
Copy link
Contributor

Previously, the check only passed if the latest returned block was greater than the previous one. Occasionally, we reset the devnet to an earlier block. This causes all the health checks to fail. So instead we just assert that the 'latest' block has changed within the last 60 seconds, even if the block number has decreased.

Previously, the check only passed if the latest returned block was greater than the previous one. Occasionally, we reset the devnet to an earlier block. This causes all the health checks to fail. So instead we just assert that the 'latest' block has changed within the last 60 seconds, even if the block number has decreased.
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Oct 14, 2024
Any commits made after this event will not be merged.
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