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

Ethers v6 migration in hardhat #692

Merged
merged 5 commits into from
Jan 16, 2024
Merged

Ethers v6 migration in hardhat #692

merged 5 commits into from
Jan 16, 2024

Conversation

technophile-04
Copy link
Collaborator

Description

Recently we updated all the hardhat related packages in #637, but it seems that if you uncomment :

// const yourContract = await hre.ethers.getContract("YourContract", deployer);

You get an error, which I think is caused due to hardhat-deploy-ethers and hardhat-ethers digging few discussion it seems that updating ethers to v6 does seems to solve this issue due to some internal api changes

@technophile-04
Copy link
Collaborator Author

Tysm all !! I think after #692 we could merge this 🙌

@rin-st
Copy link
Collaborator

rin-st commented Jan 16, 2024

Works great!

Tysm all !! I think after #692 we could merge this 🙌

recursion 😄

@carletex
Copy link
Member

recursion 😄

lol

Great job @technophile-04. Add uncommented example code as we talked on TG.

Let's also add this to the weekly CLI merge.

@carletex carletex merged commit 5efa239 into main Jan 16, 2024
1 check passed
@carletex carletex deleted the ethersv6 branch January 16, 2024 19:00
@technophile-04
Copy link
Collaborator Author

recursion 😄

😂 lol my bad wanted to add that comment at #685

@github-actions github-actions bot mentioned this pull request Jan 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants