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

Adds API Client Switching as Obscura Parsing and get_blocks fails #111

Merged
merged 6 commits into from
Jul 2, 2024

Conversation

dev-blc
Copy link
Member

@dev-blc dev-blc commented Jul 2, 2024

So Obscura's get_block fails to parse the response JSON to Block<N> and get_blocks returns a 500 error.
When Obscura's block fetch fails, this PR implements a temp auto-switching to Aleo's API client.

When and if Obscura gets back to working, this will use Obscura as default, this switch only happens if Obscura fails or throws a JSON error.

@dev-blc
Copy link
Member Author

dev-blc commented Jul 2, 2024

TODO - @dev-blc
REVIEW AND CHECK ONE LAST TIME

  • Test Recovery scanning
  • Test old account imports
  • Test Faucet and dApps

@dev-blc dev-blc deployed to 111/merge July 2, 2024 20:37 — with GitHub Actions Active
@dev-blc dev-blc merged commit 8b971e7 into develop Jul 2, 2024
8 checks passed
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