-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ethersproject 5.5.0 BaseProvider ovewrite Provider failed #2190
Comments
Good catch. Thanks. Did you get a TypeScript error? Are there any others? |
same here when build with ether package |
got a build error in Typescript |
Not sure if related, but just to drop here: our Hardhat E2E tests on EthereumJS are currently also failing with some Ethers |
@holgerd77 Is it using 5.5.0 too? I'll get a fixed release asap. |
What version of TypeScript are you using? I have made the changes, but would feel more comfortable if I could get TypeScript to emit errors; it is blindly accepting it. :( |
Can you try using TypeScript 4.3 or 4.4? It's weird it is complaining about the |
Oh! Actually, the The new version is passing through the CI. I'll ping you once I've published it... |
I've published 5.5.1 if you can try it out? |
@ricmoo I can't really see to what Ethers version dependency installation resolves in the CI, since it is just some subdependency for Hardhat. We are using TypeScript I've triggered a new dummy CI run here ethereumjs/ethereumjs-monorepo#1534 after the |
Update: yes, Hardhat E2E tests are passing again. 😄 (might be worth to think if you also directly want to integrate these tests in your CI? Then you would be able to always test your latest |
Fixed! THX! |
It seems [email protected] mostly pulls in @ethersproject dependencies at version 5.5.0: {
"author": "Richard Moore <[email protected]>",
"browser-old": "./dist/ethers.umd.js",
"dependencies": {
"@ethersproject/abi": "5.5.0",
"@ethersproject/abstract-provider": "5.5.1",
"@ethersproject/abstract-signer": "5.5.0",
"@ethersproject/address": "5.5.0",
"@ethersproject/base64": "5.5.0",
"@ethersproject/basex": "5.5.0",
"@ethersproject/bignumber": "5.5.0",
"@ethersproject/bytes": "5.5.0",
"@ethersproject/constants": "5.5.0",
"@ethersproject/contracts": "5.5.0",
"@ethersproject/hash": "5.5.0",
"@ethersproject/hdnode": "5.5.0",
"@ethersproject/json-wallets": "5.5.0",
"@ethersproject/keccak256": "5.5.0",
"@ethersproject/logger": "5.5.0",
"@ethersproject/networks": "5.5.0",
"@ethersproject/pbkdf2": "5.5.0",
"@ethersproject/properties": "5.5.0",
"@ethersproject/providers": "5.5.0", // <--- 😅
"@ethersproject/random": "5.5.0",
...
},
...
"version": "5.5.1"
} Is this normal? Anyway pulling in @ethersproject/[email protected] seems to suffer from the original issue:
(Seeing this in deno trying to import |
Yes, that's normal. The patch version does not change. Otherwise, on every small change to any package, all packages would need to be re-published, and all audits would need to be performed on code that has zero changes except for the version in the package.json. So, the patch can drift. The major and minor will always match though. :) |
BaseProvider => resolveName(name: string | Promise): Promise<null | string>;
Provider => resolveName(name: string | Promise): Promise;
The text was updated successfully, but these errors were encountered: