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

Refactor sync checks #169

Closed
wants to merge 1 commit into from
Closed

Refactor sync checks #169

wants to merge 1 commit into from

Conversation

Marketen
Copy link
Contributor

  • Deleted node sync checks in "NewOnchain()" method, since it wasnt doing anything with the sync status, just logging it.
  • Added sync check at startup of oracle, using the already implemented method "onchain.AreNodesInSync()", which prints and returns sync information. If not in sync, oracle wont try to load onchain configuration parameters and will try again after 1 minute.

Notice: Execution clients sync status is prone to be misleading on startup. This is not fixed in this PR.

@Marketen Marketen requested a review from alrevuelta July 11, 2023 17:18
@Marketen Marketen self-assigned this Jul 11, 2023
@alrevuelta alrevuelta closed this Oct 18, 2023
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