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

prevent connection lost on ethers provider #5

Closed

Conversation

sifnoc
Copy link
Collaborator

@sifnoc sifnoc commented Jun 19, 2022

ethersjs does not have reconnecting feature on providers. so, when provider connection lost then workers of coordinator fall in deadlock.

Using web3-provider-ws for ethersjs provider is hacky way, but it is simpler than listening close event and adding more action in coordinator.

because we have been testing coordinator using a provider from web3js and it is quite reliable so far on main repository.

At some point, we should have to make stable web3 provider base on ethersjs for zkopru coordinator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant