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

Support for ethers@v6 and bumping @nomicfoundation/hardhat-ethers package #26

Open
AuHau opened this issue Aug 9, 2023 · 5 comments
Open

Comments

@AuHau
Copy link

AuHau commented Aug 9, 2023

Currently, it is not possible to run Hardhat and Waffle with latest package versions.

@zk-bits
Copy link

zk-bits commented Sep 5, 2023

also stuck with this:

any progress?

@pociej
Copy link

pociej commented Sep 22, 2023

Seems that problem is that waffle internally doesn't work with ethers 6 which ruins whole ecosystem.

@mai1015
Copy link

mai1015 commented Dec 5, 2023

so no luck?

@chukwukap
Copy link

I have got the same issue here. Anyone fixed it ?
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/ethers npm ERR! ethers@"^5.7.1" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-block npm ERR! @nomicfoundation/ethereumjs-block@"5.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-blockchain npm ERR! @nomicfoundation/ethereumjs-blockchain@"7.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-vm npm ERR! @nomicfoundation/ethereumjs-vm@"7.0.2" from [email protected] npm ERR! node_modules/hardhat npm ERR! 1 more (hardhat) npm ERR! @nomicfoundation/ethereumjs-block@"5.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-ethash npm ERR! @nomicfoundation/ethereumjs-ethash@"3.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-blockchain npm ERR! @nomicfoundation/ethereumjs-blockchain@"7.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-vm npm ERR! 1 more (hardhat) npm ERR! 2 more (@nomicfoundation/ethereumjs-vm, hardhat) npm ERR! ethers@"^5.7.1" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-statemanager npm ERR! @nomicfoundation/ethereumjs-statemanager@"2.0.2" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/ethereumjs-vm npm ERR! @nomicfoundation/ethereumjs-vm@"7.0.2" from [email protected] npm ERR! node_modules/hardhat npm ERR! dev hardhat@"^2.19.4" from the root project npm ERR! @nomicfoundation/ethereumjs-statemanager@"2.0.2" from [email protected] npm ERR! node_modules/hardhat npm ERR! dev hardhat@"^2.19.4" from the root project npm ERR! 1 more (the root project) npm ERR! npm ERR! Could not resolve dependency: npm ERR! dev @nomiclabs/hardhat-ethers@"npm:hardhat-deploy-ethers" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/ethers npm ERR! peer ethers@"^6.1.0" from @nomicfoundation/[email protected] npm ERR! node_modules/@nomicfoundation/hardhat-ethers npm ERR! peer @nomicfoundation/hardhat-ethers@"^3.0.2" from @nomiclabs/[email protected] npm ERR! node_modules/@nomiclabs/hardhat-ethers npm ERR! dev @nomiclabs/hardhat-ethers@"npm:hardhat-deploy-ethers" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR!

@Arvilmamocod
Copy link

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

No branches or pull requests

5 participants