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

InfuraProvider can't resolve the optimism host #2335

Closed
fritzschoff opened this issue Nov 25, 2021 · 3 comments
Closed

InfuraProvider can't resolve the optimism host #2335

fritzschoff opened this issue Nov 25, 2021 · 3 comments
Labels
enhancement New feature or improvement.

Comments

@fritzschoff
Copy link

If you instantiate the InfuraProvider with { chainID: 10, name: 'Mainnet-Ovm' } an error will get thrown: unsupported network.
I think the issue is here: https://github.com/ethers-io/ethers.js/blob/master/packages/providers/src.ts/infura-provider.ts#L84

@fritzschoff fritzschoff added the investigate Under investigation and may be a bug. label Nov 25, 2021
@ricmoo ricmoo added enhancement New feature or improvement. on-deck This Enhancement or Bug is currently being worked on. and removed investigate Under investigation and may be a bug. labels Nov 27, 2021
@fritzschoff
Copy link
Author

fritzschoff commented Nov 29, 2021

created a PR. But not sure if that covers every base ☝️

@ricmoo
Copy link
Member

ricmoo commented Dec 1, 2021

This should be available in 5.5.2. Try it you and let me know if there are any issues.

Thanks! :)

@fritzschoff
Copy link
Author

Awesome thanks!

@ricmoo ricmoo removed the on-deck This Enhancement or Bug is currently being worked on. label Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants