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

Historyc Bridge: Improve the mechanism to switch to fallback provider when EL node is out of sync #1308

Open
ogenev opened this issue May 23, 2024 · 0 comments
Labels
portal-bridge Portal bridge

Comments

@ogenev
Copy link
Member

ogenev commented May 23, 2024

Currently, in History Bridge, we are switching to a fallback provider if the request to the EL node fails.

However, there are cases where the requests don't fail but the EL node is out of sync and doesn't update the latest block number.
This prevents us from pushing the latest headers into the network.

To prevent such issues, we want to switch to a fallback provider if we are unable to follow the chain and if we keep getting the same latest block from the EL node.

@ogenev ogenev added the portal-bridge Portal bridge label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portal-bridge Portal bridge
Projects
None yet
Development

No branches or pull requests

1 participant