Skip to content

Update hardhat-ethers to latest ethers with Pectra support #6708

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

Open
1 of 4 tasks
kanej opened this issue May 15, 2025 · 2 comments · Fixed by #6797 · May be fixed by #6795
Open
1 of 4 tasks

Update hardhat-ethers to latest ethers with Pectra support #6708

kanej opened this issue May 15, 2025 · 2 comments · Fixed by #6797 · May be fixed by #6795
Assignees
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented May 15, 2025

The latest version of ethers has been released, we need to update hardhat-ethers to use it:

The key addition is EIP-7702 support, which may require some supporting changes.

TODOs for v-next

There are two items with dependencies that prevent them from being completed at this time:

@kanej kanej added this to Hardhat May 15, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat May 15, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat May 15, 2025
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label May 15, 2025
@kanej
Copy link
Member Author

kanej commented May 19, 2025

It has to be done in both v2 and v3.

@ChristopherDedominici
Copy link
Contributor

ChristopherDedominici commented May 26, 2025

The process to resolve this issue should be broken down into stages, as it requires some investigation to adapt the code to the changes in ethers:

  1. update ethers to v6.14.0 and throw not implemented errors for the authorize and populateAuthorization methods. This ensures the code compiles while upgrading to the latest version of ethers. PR main, PR v-next

  2. Investigate the changes in ethers and determine how to update these two new methods accordingly

@kanej kanej added v-next A Hardhat v3 development task type:epic A bigger effort that involves multiple issues and PRs labels Jun 6, 2025
@kanej kanej removed the type:epic A bigger effort that involves multiple issues and PRs label Jun 9, 2025
@kanej kanej moved this from In Progress to In Review in Hardhat Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment