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

[xc-admin-proposer] Handle RPC errors #1167

Merged
merged 2 commits into from
Dec 6, 2023
Merged

[xc-admin-proposer] Handle RPC errors #1167

merged 2 commits into from
Dec 6, 2023

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Dec 6, 2023

Proposer server (the server that makes proposals with the ops key) was failing too often.
The main change here is I implemented some retry logic when it fails to send a transaction. If it fails 5 times in a row it will crash.
It adds some logging too.
It also refreshes the blockhash when the blockhash becomes stale (this wasn't handled properly previously).

Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
xc-admin-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2023 5:34am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2023 5:34am

@guibescos guibescos changed the title Fix server [xc-admin-proposer] Handle RPC errors Dec 6, 2023
@guibescos guibescos merged commit 003cba2 into main Dec 6, 2023
4 checks passed
@guibescos guibescos deleted the fix-proposer-server branch December 6, 2023 06:27
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