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
Typescript errors in 2.0.4 eg Not all code paths return a value #2260
Comments
Hi @payprmoney, thanks for reporting this. You are upgrading to version Also, is your repo public, or there's some way I can reproduce this? |
The specific library we are updating is The repo is ethereum-contracts and this is a PR that is failing. |
Thank you! I'll take a look. |
Hey @payprmoney, thanks a lot for reporting this. Definitely a bug on our side. We'll fix this and release a new version soon. The underlying problem is that, when you run
This assumes that you need the new methods added in hardhat-ethers v2.0.4. If not, then downgrading is perfectly fine. |
thanks @fvictorio . getting the same error here with 2.0.4, the fix works Also this
|
Yes, we fixed this but haven't released it yet. We'll do it early next week. |
This has already been released. |
When I bump from version 2.0.3 to 2.0.4, I get new typescript compilation errors I didn't see before:
I have confirmed that everything works great when moving back to 2.0.3
The text was updated successfully, but these errors were encountered: